fix(e2e): pin Deep Agents Code base qualification - #9067
Conversation
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
|
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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe E2E workflow now validates an immutable Deep Agents Code base-image contract, propagates its digest-pinned reference, records evidence, and requires publication for trusted controller runs. Publication outputs and contract validation tests cover run identity, metadata, image digests, and required imports. ChangesDeep Agents Code base-image qualification
Mergeability Score: ⚪ Minimal · up to The PR pins internal E2E qualification to validated immutable base-image provenance and records the associated evidence. No actionable merge-blocking risk remains at the current head. Sequence Diagram(s)sequenceDiagram
participant BasePublication as base-image-publication
participant E2EWorkflow as e2e.yaml
participant ContractValidator as dcode-base-image-contract
participant LiveE2E as live E2E jobs
BasePublication->>E2EWorkflow: publish run metadata and contract outputs
E2EWorkflow->>ContractValidator: download and validate immutable contract
ContractValidator-->>E2EWorkflow: validated contract and digest-pinned reference
E2EWorkflow->>LiveE2E: inject base reference and record contract evidence
LiveE2E-->>E2EWorkflow: upload dcode-base-image.json with E2E artifacts
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Comment |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
3 terminology differences from the second opinionAdvisory only. These are normalized differences from the primary terminology receipt.
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. 3 semantic terminology decisionsTerminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.
E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: None Manual-only E2E: 1 optional E2E recommendation
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
Deep Agents Code qualification now consumes the immutable base-image contract from the selected trusted publication run instead of resolving the mutable
:latestalias. The gate binds publication provenance, proves both required Python imports, passes the exact digest to onboarding, and records candidate/base provenance in uploaded E2E evidence.Related Issue
Fixes #9049
Changes
deepagentsanddeepagents_codeimports before live E2E runs.image@sha256reference to Deep Agents Code onboarding and upload the base contract with the target evidence.Type of Change
Quality Gates
deaaa94f394b7f5c367f607f531a56b2317f161dagainst all nine repository security categories. The workflow keepsactions: readandcontents: read; consumes only the canonical repository's pinned artifact action and exact publication run; strictly validates every contract field and digest; runs the import proof without network, capabilities, writable root filesystem, or privilege escalation; propagates failures; emits no credentials; and records only public image provenance. No new dependency, authentication, authorization, cryptographic, network-policy, credential, logging, or privilege risk was found. Negative tests reject mutable references, wrong source/run provenance, malformed fields, missing imports, workflow drift, missing evidence, and unsafe ordering.Documentation Writer Review
no-docs-neededDGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpx vitest run --project e2e-support test/e2e/support/base-image-publication.test.ts test/e2e/support/base-image-publication-workflow-boundary.test.ts test/e2e/support/dcode-base-image-contract.test.ts test/e2e/support/dcode-profile-import-gate-workflow-boundary.test.ts(92 tests); the current trusted publication contract also passed both imports from its immutable arm64 image on this host.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit
New Features
Bug Fixes
Chores