Repository navigation
docs: Document contract push script [doc-updater] - #396
Merged
Merged
Conversation
Update documentation to reflect the new conflict-resistant contract push mechanism introduced in PR #394. The .github/scripts/push-contract-update.sh script implements a reset-and-reapply pattern for handling concurrent contract updates without merge conflicts. Changes: - Added .github/scripts/ directory to STRUCTURE.md - Documented conflict-resistant contract updates in sdlc-pipeline.md - Added push-contract-update.sh to Key Files reference table Triggered by: PR #394 (commit 93024ab) Authored-by: egg
Contributor
Author
|
egg agent-mode-design completed. View run logs |
This comment has been minimized.
This comment has been minimized.
Contributor
Author
There was a problem hiding this comment.
Documentation accurately reflects the script behavior. Verified against the actual implementation in .github/scripts/push-contract-update.sh.
Verified:
- The "reset-and-reapply" pattern description matches the script's
handle_failure()function - The 4-step flow (abort rebase → reset to remote → re-apply jq → commit/retry) accurately describes lines 114-163
- The idempotency claim is correct—the jq transformation is recomputed on fresh remote state rather than merged
- The script does accept both
JQ_FILTERandJQ_SCRIPT_PATHas documented
Minor observations (not blocking):
- The documentation doesn't mention
SOFT_FAILmode orMAX_RETRIESconfiguration, but these are implementation details appropriate for the script's header comments rather than the user-facing guide - Placement in both STRUCTURE.md and the Key Files table is appropriate
No blocking issues found.
— Authored by egg
Contributor
Author
|
egg review completed. View run logs |
Contributor
Author
| egg is addressing review feedback... |
Contributor
Author
|
egg feedback addressed. View run logs |
jwbron
approved these changes
Feb 9, 2026
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.
docs: Document contract push script [doc-updater]
Update documentation to reflect changes from PR #394:
.github/scripts/push-contract-update.shto STRUCTURE.mdThe new script is a key infrastructure component for handling race conditions when multiple workflow jobs modify the same contract file. This update ensures developers understand how the SDLC pipeline prevents merge conflicts in concurrent scenarios.
Triggered by: PR #394 (commit 93024ab)
Authored-by: egg