docs(#4368): add migration robustness patterns to boost AGENTS.md - #4369
Conversation
Add a "Migration patterns" subsection under "Code conventions" documenting four robustness requirements for connector schema migrations: per-step version stamping for resumability, per-entity error isolation so one connector failure does not block others, original error preservation when cleanup also fails, and treating missing __schemaVersion as v1. These patterns codify the human fixes from PR #4315 (commits 19c5c9b and 5bc131d) so future migration work follows the established robustness conventions without manual correction. Closes #4368
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4369 +/- ##
=======================================
Coverage 61.53% 61.53%
=======================================
Files 2528 2528
Lines 101564 101564
Branches 28423 28435 +12
=======================================
Hits 62496 62496
Misses 37262 37262
Partials 1806 1806
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
🤖 Finished Retro · ✅ Success · Started 1:15 PM UTC · Completed 1:23 PM UTC Commit: |
Retro: PR #4369 — docs(#4368): add migration robustness patterns to boost AGENTS.mdVerdict: Clean workflow, no new proposals. All identified improvement opportunities are already tracked by existing open issues. What happenedThis PR is part of a well-functioning retro-to-code feedback loop. The retro agent analyzed PR #4315 (connector schema versioning, +790/-18 across 17 files) and correctly identified three robustness gaps in The full pipeline executed cleanly:
Observations mapped to existing issues
|



Add a "Migration patterns" subsection under "Code conventions" documenting four robustness requirements for connector schema migrations: per-step version stamping for resumability, per-entity error isolation so one connector failure does not block others, original error preservation when cleanup also fails, and treating missing __schemaVersion as v1.
These patterns codify the human fixes from PR #4315 (commits 19c5c9b and 5bc131d) so future migration work follows the established robustness conventions without manual correction.
Closes #4368
Post-script verification
agent/4368-migration-patterns-agents-md)238b1a3a6799a81dab6c9af3f2b180688372781f..HEAD)