Refactor FederatedCredentials e2e test to use stable repository with config-based disabling#2104
Refactor FederatedCredentials e2e test to use stable repository with config-based disabling#2104
Conversation
…repository Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
…rove pagination and timestamp comparison Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
…federated credentials Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
…function, exclude tmp-bingmaps from cleanup Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Done. Updated |
…ce to avoid auto-cleanup Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot can you please remove the trailing whitespace in the modified files |
Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…e duplicate null check Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
… from polling Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com>
| @@ -0,0 +1,6 @@ | |||
| [ | |||
| { | |||
| "scenario": "FederatedCredentials", | |||
There was a problem hiding this comment.
I'm not sure I understand. You're disabling the scenario and also editing it? 🤔
There was a problem hiding this comment.
Yes. The initial approach was to alter the scenario to use a concrete repository (due to the FIC changes), but that is only half of the solution.
Fix Race Condition in Workflow Run Tracking
Problem
There was a race condition where the polling logic could pick up the workflow run from the settings push instead of the one triggered by RunUpdateAlGoSystemFiles:
$previousRunIdsSolution
Added baseline update AFTER settings push completes and BEFORE calling RunUpdateAlGoSystemFiles:
How It Works
Timeline:
Why This Works
✅ Original baseline includes all pre-existing runs
✅ Updated baseline includes settings-push-triggered run
✅ Polling only detects the UpdateAlGoSystemFiles-triggered run
✅ No race condition - correct workflow is always selected
Validation
This fix ensures the test waits for the correct workflow run every time.
Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.