fix(dashboard): include every field in link update previews - #821
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
63877f9 to
f93934c
Compare
|
The latest updates on your projects. Learn more about Unkey Deploy
|
|
Link-update previews omitted expired redirects and social-preview fields, and compared expiration timestamps as dates. Those updates could display "No changes detected" before applying a mutation. Build the update payload once and reuse it for the preview, mutation, and success receipt, preserving full timestamps, null clears, and resolved folder IDs. Empty updates do not write or request confirmation.
This fixes the native link tools used by Slack and dashboard agents. The external MCP server's separate wrapper already returns its proposed payload. The existing conversational confirmation contract remains unchanged; this does not bind approval to a stored payload.
Validation: 39 focused link/catalog/MCP/query tests, 974 AI tests, 95 Slack tests, root lint, all 33 typecheck tasks, and all 29 pre-push test tasks passed. Regression coverage checks exact mutation inputs, all supported update fields, same-day expiration changes, null clears, empty updates, and rejection of invalid folders or incompatible deep links. The AI suite skips 33 integration tests requiring external services. Independently reviewed.
Independent of #818 and #820, which touch separate files. No migrations, new dependencies, environment variables, or user setup. Maintainer-directed, AI-assisted implementation and review.