Repository navigation
fix(e2e): avoid workflow run pagination cap - #12790
Conversation
Signed-off-by: Rebecca Sliter <[email protected]>
…nation-fix Signed-off-by: Rebecca Sliter <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughWorkflow-run collection now falls back to per-SHA queries when broad pagination exceeds its page cap. It validates each returned run’s ChangesPublication-run pagination
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant WaitForBaseImagePublication
participant CollectPublicationRuns
participant GitHubWorkflowRunsAPI
WaitForBaseImagePublication->>CollectPublicationRuns: collect runs with history
CollectPublicationRuns->>GitHubWorkflowRunsAPI: paginate workflow runs
GitHubWorkflowRunsAPI-->>CollectPublicationRuns: pagination cap exceeded
CollectPublicationRuns->>GitHubWorkflowRunsAPI: query runs for each history SHA
GitHubWorkflowRunsAPI-->>CollectPublicationRuns: runs for queried SHAs
CollectPublicationRuns-->>WaitForBaseImagePublication: combined validated runs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk remains from the reviewed pagination fallback after normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 70084ea in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit 70084ea in the Show a line coverage summary of the most impacted files.
Updated |
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Advisor disposition for exact head The verification specialist reported that
The existing oracle therefore correctly expects ten broad requests followed by the three eligible-commit queries. I reverified the published head with:
Result: 1 passed, 1 skipped. The worktree remained clean at the exact published head. Evidence: Advisor blocker job, cap throw and fallback, request oracle. |
<!-- nemopatch:action=sha256:3d286db0269406f5d7f4ca1498088b786bfdbdfcb2b7a5c5b7160f9284b9dd2a --> <!-- nemopatch:manifest=sha256:aefb923570aafcfac1dbcdf63668265d81ce9b7edbc337468c1e7deb9ca18ff8 --> <!-- nemopatch:dependency=OpenClaw --> <!-- nemopatch:target=2026.9.5 --> ## Outcome Adds reviewed OpenClaw 2026.9.5 archive and replacement-graph identities while preserving the selected 2026.9.2 runtime and its existing trust entries. ## Reason The runtime migration in #12382 needs verified package identities and a reviewed replacement graph before selecting 2026.9.5. This PR stages that policy without changing the production runtime. ## Changes - Preserve current runtime identities and security overrides; add the 2026.9.5 runtime, official channels (including Google Chat), Brave, Tavily, and diagnostics archives. - Bind the replacement runtime graph to the actual 2026.9.5 lockfile digest and exercise the checked-in policy with that lock fixture. - Document the staged transition, its removal condition, and the existing candidate-owned audit boundary accurately. - Record genuine AMD64 and ARM64 Pi receipts from run 37676667241, with exact artifact digests bound by the existing authority check. ## Verification - Current candidate: `791f72b6d902eb7bc7d99fe988705024ce750b29`, including the merged SDK prerequisite #12765. - [Core CI](https://github.com/NVIDIA/NemoClaw/actions/runs/37693760568) and [managed-image publication](https://github.com/NVIDIA/NemoClaw/actions/runs/37693760852) passed on this candidate. Docker and rootless Podman activation each completed 28 agent turns, all 13 phases and all 13 cleanup checks. - Genuine AMD64 and ARM64 Pi receipts from source `9abef33ddf73105c8f3f952ced9ce4eb53252126` remain valid: all Pi Dockerfile and COPY inputs are unchanged. Signed commit and publication hooks passed with every normal gate enabled. - The staged 2026.9.5 lock also matches the retained genuine [CI audit artifact](https://github.com/NVIDIA/NemoClaw/actions/runs/37714665179/artifacts/11522954535), produced from runtime source `52a0fb1b8e25c3317f5ae62819b4f53420e7d908`. Its lock hash matches the trust policy and decompressed fixture: `b73ebd8bb5e15cfcf080a21beaca0dce50cbca903988b20be74d49c9498baeb7`. It reports zero high or critical advisories and three moderate advisories; the audit completed signature verification. This receipt expires on 2026-10-08 at 13:49:29 UTC. - [Full manual E2E 37704093648](https://github.com/NVIDIA/NemoClaw/actions/runs/37704093648), attempt 1, completed against trusted controller `1828f2ab1d4685c876261e2ec812d91bcfbe2df0` and this exact candidate: **73 successful jobs, nine leaf failures, one dependent aggregate failure, and 15 skipped jobs**. It included all default jobs and the authorized staging Brev Launchable job. The prior base-image lookup blocker was fixed by merged #12790. - 32 focused SDK and dependency-preparation tests passed during the preceding integration; that is historical supporting evidence. - The diff contains no secrets, API keys, or credentials. ## Full E2E findings The GPU/local-inference lane passed all nine OpenClaw, Hermes, and Deep Agents Code combinations across Ollama, vLLM, and NIM, plus three rollback scenarios and cleanup. Its retained artifact matches the published digest. Five failed jobs also fail on [main baseline run 37701046910](https://github.com/NVIDIA/NemoClaw/actions/runs/37701046910): Pi reports native-inference connection errors; OpenClaw native switching rejects the fixture credential/endpoint combination with HTTP 401; Hermes deferred onboarding, Hermes native switching, and Launchable fail native sandbox inference with status 56. Launchable image selection, source provenance, build, and gateway startup passed in both runs. The owned Brev workspaces were deleted and independently verified absent. The OpenClaw and Hermes Anthropic-switch jobs fail during test-module loading because their fixture sandbox names exceed the existing 19-character limit. Both failures also occur on main baseline run 37701046910. The fixtures and validation source are identical to this PR's base. The two remaining lifecycle cases passed on this unchanged candidate in [focused E2E run 37725448726](https://github.com/NVIDIA/NemoClaw/actions/runs/37725448726), using trusted controller `b95c0be84e061ba781fedca55e3c1e47af8dcfe1`. OpenClaw and Hermes double onboarding each passed all eight phases and all cleanup actions. The credential-generation window passed all ten phases, nine credential rotations, rebuild, and all six cleanup actions. All three authentic artifact digests and the dispatch identity were verified. All nine original failed leaf-job logs and their available artifacts were inspected. Seven failures are supported as shared issues on the main baseline; the other two cases passed the authorized focused retry. No unresolved candidate-owned E2E failure remains identified. The historical full run remains failed, and the focused run is supplemental evidence rather than a full-suite pass. The successful retry does not establish the original intermittent root causes or repair the historical cleanup evidence. Skipped jobs supply no pass evidence. ## Review notes All nine specialists completed [Advisor run 37697027151](https://github.com/NVIDIA/NemoClaw/actions/runs/37697027151) with no blocking findings on this candidate. All findings, summaries and E2E recommendations were read. Required validation includes full E2E, Hermes E2E and Pi qualification. CI, managed images and all nine Advisor specialists are clear. The full-run findings have the dispositions above, including successful focused evidence for both previously unresolved lifecycle cases. Human review remains required. CodeRabbit is deferred at the user's direction; no merge is authorized. --- Signed-off-by: Prekshi Vyas <[email protected]> --------- Signed-off-by: Prekshi Vyas <[email protected]> Co-authored-by: Prekshi Vyas <[email protected]>
Outcome
Full-main E2E can resolve the nearest eligible base-image publication when the workflow has more than 1,000 historical runs. The existing bounded broad lookup remains unchanged for normal history sizes; only the pagination-cap case falls back to exact eligible-commit queries.
Reason
Full E2E runs 37691085420 and 37694295327 failed before matrix generation because the unfiltered base-image workflow history exceeded the 10-page safety cap. Removing the cap would weaken the bounded GitHub API contract, so this keeps the cap and narrows the overflow lookup by trusted first-parent commit SHA.
Changes
head_shaonly after the broad listing reaches the cap.The consumer is the full-main E2E base-image publication gate. A direct cap increase is insufficient because it would only postpone the same failure and expand unfiltered API work.
Verification
npx vitest run --project e2e-support test/e2e/support/base-image-publication.test.ts test/e2e/support/base-image-publication-pagination.test.ts— 2 files and 79 tests passed after integrating currentmain.npm run test:changed— growth guardrails passed; before base integration, 5 affected files and 142 tests passed.npm run test:projects:check— exact membership confirmed for 2,705 candidates across 7 projects.NODE_OPTIONS=--max-old-space-size=8192 npm run typecheck:cli— passed.git diff --check origin/main...HEADand manual diff inspection — passed; no secrets, API keys, or credentials are present.Review notes
This changes the sensitive
tools/e2e/**enforcement path. Pre-publication review was self-review only, so the PR remains draft until required CI and automated review are terminal with no actionable findings.Signed-off-by: Rebecca Sliter [email protected]
Summary by CodeRabbit