-
Notifications
You must be signed in to change notification settings - Fork 3k
fix(ci): bind canonical E2E check authorization #7529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1260,9 +1260,7 @@ describe("PR E2E controller", () => { | |
| expect(runningUpdate?.body).toMatchObject({ | ||
| details_url: "https://github.com/NVIDIA/NemoClaw/actions/runs/23", | ||
| output: { | ||
| summary: expect.stringContaining( | ||
| "Child run: https://github.com/NVIDIA/NemoClaw/actions/runs/23.", | ||
| ), | ||
| summary: expect.stringContaining("[Selected E2E run 23]"), | ||
| }, | ||
| }); | ||
| } finally { | ||
|
|
@@ -1418,9 +1416,12 @@ describe("PR E2E controller", () => { | |
| status: "in_progress", | ||
| output: { | ||
| title: "Running 13 E2E checks", | ||
| summary: expect.stringContaining("upgrade-stale-sandbox"), | ||
| summary: expect.stringContaining( | ||
| "[Selected E2E run 23](https://github.com/NVIDIA/NemoClaw/actions/runs/23)", | ||
| ), | ||
| }, | ||
| }); | ||
| expect(JSON.stringify(checkUpdates[1]?.body)).toContain("upgrade-stale-sandbox"); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Keep the assertion scoped to Matching 🤖 Prompt for AI AgentsSource: Path instructions |
||
| expect(checkUpdates[2]?.body).toMatchObject({ | ||
| status: "completed", | ||
| conclusion: "success", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Assert the complete selected-run hyperlink.
The test only checks
[Selected E2E run 23], so it would pass if the summary linked to the wrong child run. Assert the full[Selected E2E run 23](https://github.com/NVIDIA/NemoClaw/actions/runs/23)value, or the exact summary contract.🤖 Prompt for AI Agents
Source: Path instructions