Repository navigation
🐝 Detect semantic configuration migrations during Lindsey sync - #857
Merged
Merged
Conversation
Detect relocated local JSON configuration references against both branch tips and their common ancestor, include related clean files in the reviewed integration, and prevent publication when compatible changes disappear from the active target. Require explicit decisions for superseded paths, preserve unrelated incoming entries, and add regression coverage for clean merges and independently introduced configurations. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Provide source-keyed differences rather than duplicating large JSON snapshots in the browser prompt. Apply scoped row edits to the verified merged destination locally, preserving unchanged rows and enforcing stable identity. Cover the compact representation and malformed edits in regression tests. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
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.
A successful Git merge does not necessarily preserve the topic branch's behavior. When upstream changes which configuration file is authoritative, topic edits can survive in the old file without taking effect in the integrated application.
entriesandheadersstellar/stellar-docs#2398 exposed this problem: the corrected ledger-header destinations remained in the rootredirects.jsonwhile Mintlify loadedconfig/redirects.json. Detect changed local JSON$reftargets against both branch tips and their common ancestor, including independently introduced configurations.source, present differing records rather than duplicating entire JSON files in the browser prompt. Apply scoped additions, replacements, and removals locally against the merged destination, preserving other records and rejecting duplicate or inconsistent edit identities.Regression coverage exercises a clean textual merge that loses a redirect change, preservation of unrelated upstream records, independently added configurations, and malformed record edits. Focused simulations and a replay of the two historical ledger-header corrections passed; the full repository test suite has not been run. Automatic compatibility verification requires a comparable JSON baseline and supported record structure; otherwise the migration needs contextual review.
🔗 Source
Web
cc author @JFWooten4