Repository navigation
fix(gitops): ignore latestVersion in sync (PRISM-2772) - #116
Open
dhruva-vapi wants to merge 1 commit into
Open
dhruva-vapi wants to merge 1 commit into
dhruva-vapi wants to merge 1 commit into
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Contributor
Devin Review🟢 Devin Review found nothing to fix · View findings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PRISM-2772
A publish or rollback to identical settings can look like an edit because the API's top-level
latestVersionwas written into files and included in their hashes. That could block a legitimate local edit or produce a false conflict for a file using shared blocks.How it works
Verification
Loopback fixtures in both state layouts reproduced version-only drift and a blocked local edit on main. With this change, the same cases stay clean or allow the local edit, while real and ambiguous conflicts still stop the write. The apply and promote fixtures check outgoing payloads and the published assistant version labels.
npm run build,npm test(787 passed; one CI-only skip),npm run test:repository(9 passed), and Biome on the changed TypeScript files passed locally.Link to Devin session: https://app.devin.ai/sessions/30f6e4ce30c441c689d8f958698b7c93
Open in Devin Desktop: https://app.devin.ai/desktop/session/30f6e4ce30c441c689d8f958698b7c93?variant=devin
Requested by: @dhruva-vapi