Skip to content

Fix synchronization race in upgrade tests - #421

Merged
Thom Chiovoloni (thomcc-work) merged 1 commit into
mainfrom
thomcc/test-race
Oct 12, 2026
Merged

Thom Chiovoloni (thomcc-work) merged 1 commit into
mainfrom
thomcc/test-race

Conversation

@thomcc-work

Copy link
Copy Markdown
Contributor

This causes CI to be flakey.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The bounded polling correctly addresses the race without weakening test coverage.

0 open findings

What changed in this PR

Adds provider-state polling to eliminate a race causing flaky upgrade tests.

Changes:

  • Polls both orchestration states until completion or timeout.
  • Documents the distinction between workflow and provider completion.
File Description
scripts/​test-upgrade.sh Replaces immediate assertions with bounded polling.
docs/​upgrade-testing.md Documents completion synchronization behavior.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@thomcc-work
Thom Chiovoloni (thomcc-work) merged commit fa5f4b7 into main Oct 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants