Skip to content

docs(#4368): add migration robustness patterns to boost AGENTS.md - #4369

Merged
gabemontero merged 1 commit into
mainfrom
agent/4368-migration-patterns-agents-md
Aug 18, 2026
Merged

docs(#4368): add migration robustness patterns to boost AGENTS.md#4369
gabemontero merged 1 commit into
mainfrom
agent/4368-migration-patterns-agents-md

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

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

  • Branch is not main/master (agent/4368-migration-patterns-agents-md)
  • Secret scan passed (gitleaks — 238b1a3a6799a81dab6c9af3f2b180688372781f..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

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
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from durandom as a code owner August 18, 2026 07:12
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.53%. Comparing base (238b1a3) to head (69e5b83).
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from 238b1a3
ai-integrations 67.70% <ø> (ø) Carriedforward from 238b1a3
app-defaults 69.79% <ø> (ø) Carriedforward from 238b1a3
augment 46.67% <ø> (ø) Carriedforward from 238b1a3
boost 79.32% <ø> (ø)
bulk-import 72.79% <ø> (ø) Carriedforward from 238b1a3
cost-management 13.55% <ø> (ø) Carriedforward from 238b1a3
dcm 67.21% <ø> (ø) Carriedforward from 238b1a3
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 238b1a3
e2e-extensions 62.13% <ø> (ø) Carriedforward from 238b1a3
e2e-global-header 49.45% <ø> (ø) Carriedforward from 238b1a3
e2e-homepage 43.49% <ø> (ø) Carriedforward from 238b1a3
e2e-intelligent-assistant 46.68% <ø> (ø) Carriedforward from 238b1a3
e2e-orchestrator 49.51% <ø> (ø) Carriedforward from 238b1a3
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 238b1a3
e2e-scorecard 50.21% <ø> (ø) Carriedforward from 238b1a3
e2e-theme 16.36% <ø> (ø) Carriedforward from 238b1a3
extensions 56.59% <ø> (ø) Carriedforward from 238b1a3
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 238b1a3
global-header 66.50% <ø> (ø) Carriedforward from 238b1a3
homepage 47.50% <ø> (ø) Carriedforward from 238b1a3
install-dynamic-plugins 59.95% <ø> (ø) Carriedforward from 238b1a3
intelligent-assistant 75.42% <ø> (ø) Carriedforward from 238b1a3
konflux 91.98% <ø> (ø) Carriedforward from 238b1a3
lightspeed 69.02% <ø> (ø) Carriedforward from 238b1a3
mcp-integrations 83.40% <ø> (ø) Carriedforward from 238b1a3
orchestrator 70.92% <ø> (ø) Carriedforward from 238b1a3
quickstart 63.74% <ø> (ø) Carriedforward from 238b1a3
sandbox 79.56% <ø> (ø) Carriedforward from 238b1a3
scorecard 87.36% <ø> (ø) Carriedforward from 238b1a3
theme 88.91% <ø> (ø) Carriedforward from 238b1a3
translations 5.12% <ø> (ø) Carriedforward from 238b1a3
x2a 79.20% <ø> (ø) Carriedforward from 238b1a3

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 238b1a3...69e5b83. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gabemontero
gabemontero merged commit bc63232 into main Aug 18, 2026
29 checks passed
@fullsend-ai-retro

fullsend-ai-retro Bot commented Aug 18, 2026

Copy link
Copy Markdown

🤖 Finished Retro · ✅ Success · Started 1:15 PM UTC · Completed 1:23 PM UTC

Commit: 69e5b83 · View workflow run →

@fullsend-ai-retro

Copy link
Copy Markdown

Retro: PR #4369 — docs(#4368): add migration robustness patterns to boost AGENTS.md

Verdict: Clean workflow, no new proposals. All identified improvement opportunities are already tracked by existing open issues.

What happened

This 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 migrateConnectorSchemas() that a human reviewer had to fix manually: (1) no per-step version stamping for resumability, (2) no per-connector error isolation, (3) cache invalidation failures masking migration errors. The retro filed issue #4368 with concrete AGENTS.md documentation to prevent recurrence.

The full pipeline executed cleanly:

Observations mapped to existing issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add migration robustness patterns to boost AGENTS.md

1 participant