Skip to content

docs(e2e): clarify single-runner scenario target#4939

Merged
cv merged 2 commits into
mainfrom
codex/e2e-single-runner-direction
Jun 8, 2026
Merged

docs(e2e): clarify single-runner scenario target#4939
cv merged 2 commits into
mainfrom
codex/e2e-single-runner-direction

Conversation

@cv

@cv cv commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Clarifies that the current E2E scenario hybrid model is transitional, not the intended end state for #3588. Documents the single-runner target and gives maintainers a rule for treating YAML/bash runner work as bridge work rather than durable architecture.

Related Issue

Refs #3588.

Changes

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Verification

  • npx prek run --all-files passes
  • npm test passes
  • Tests added or updated for new or changed behavior
  • No secrets, API keys, or credentials committed
  • Docs updated for user-facing behavior changes
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Additional verification:

  • npm run docs completed successfully, but Fern reported 2 warnings, so the no-warnings checkbox is intentionally left unchecked.

Signed-off-by: Carlos Villela cvillela@nvidia.com

Summary by CodeRabbit

  • Documentation
    • Enhanced E2E scenario migration documentation with clarified target architecture, revised migration steps with tighter criteria, and explicit cleanup rules for contributors.
    • Updated framework overview documentation to describe the desired single-runner architecture properties, identify authoritative surfaces, and provide near-term alignment guidance during the transition period.

Signed-off-by: Carlos Villela <cvillela@nvidia.com>
@cv cv self-assigned this Jun 8, 2026
@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: edadb0b9-a659-452e-bcf3-0f4d7b6c048a

📥 Commits

Reviewing files that changed from the base of the PR and between ec408c8 and 4a4bf4b.

📒 Files selected for processing (2)
  • test/e2e-scenario/docs/MIGRATION.md
  • test/e2e-scenario/docs/README.md

📝 Walkthrough

Walkthrough

This PR updates E2E scenario migration documentation across two files to clarify the hybrid state as transitional, define a target single-runner architecture, specify current authoritative surfaces during migration, establish execution guidance for contributors, and add explicit cleanup rules.

Changes

E2E Migration Documentation Clarifications

Layer / File(s) Summary
Target architecture and framework state clarification
test/e2e-scenario/docs/README.md, test/e2e-scenario/docs/MIGRATION.md
Clarifies the E2E scenario framework as transitional, states the target as a single scenario runner owning resolution/orchestration/evidence/redaction/assertion dispatch, and documents the target architecture with runner ownership model (workflow, assertions/evidence, secret redaction, shell boundaries).
Current sources of truth and migration boundaries
test/e2e-scenario/docs/README.md
Establishes which repository surfaces (typed and shell) are authoritative during migration, discourages new legacy test/e2e/test-*.sh entrypoints, updates the YAML/shell runner conceptual mapping, and clarifies that the typed scenario registry drives plan artifacts toward the single-runner model.
Target runner model properties and capabilities
test/e2e-scenario/docs/README.md
Expands desired runner properties with typed plan as source of truth, declarative manifests, TypeScript probe preference, controlled shell spawn boundaries, bridging-plan obligations, and audit-phase acceptance requirements tied to single-runner equivalents or maintainer-approved bridge paths.
Migration execution steps and cleanup rules
test/e2e-scenario/docs/MIGRATION.md
Tightens the "What to migrate next" checklist (items 4–8) with stricter YAML metadata update criteria, emphasizes assertion/probe and helper framework coverage before leaving legacy scripts, ties retention to #4357 deletion readiness, and adds cleanup rules preferring single-runner behavior with documented bridge-change obligations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • NVIDIA/NemoClaw#4654: Concurrently updates the same E2E migration documentation files to refine the hybrid-to-single-runner migration model, cleanup rules, and contributor guidance.
  • NVIDIA/NemoClaw#4649: Updates the same E2E migration documentation to shift migration-state policy from repo-local tracking toward issue/PR-managed ownership, providing policy context for these documentation clarifications.

Suggested labels

area: docs, area: e2e

Suggested reviewers

  • cjagwani
  • prekshivyas

Poem

🐰 In hybrid lands where runners roam,
We chart the path back to one home—
Clear targets guide the migration's way,
With cleanup rules to light the day,
For single runners yet to stay.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs(e2e): clarify single-runner scenario target' directly and precisely matches the PR's main change: documentation updates that clarify the single-runner scenario as the intended target architecture for the E2E framework.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/e2e-single-runner-direction

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: None
Optional E2E: None

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • None. No E2E required: this PR changes documentation only under test/e2e-scenario/docs and cannot affect installer/onboarding, sandbox lifecycle, credentials, security boundaries, network policy, inference routing, deployment, or real assistant user flows.

Optional E2E

  • None.

New E2E recommendations

  • None.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

E2E Scenario Advisor Recommendation

Required scenario E2E: None
Optional scenario E2E: None

Workflow run

Full scenario advisor summary

E2E Scenario Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required scenario E2E

  • None. Docs-only changes under test/e2e-scenario/docs do not affect scenario runtime, workflow routing, metadata catalogs, expected-state contracts, suite definitions, or executable scenario behavior.

Optional scenario E2E

  • None.

Relevant changed files

  • test/e2e-scenario/docs/MIGRATION.md
  • test/e2e-scenario/docs/README.md

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor

Findings: 0 needs attention, 0 worth checking, 0 nice ideas
Since last review: 0 prior items resolved, 0 still apply, 0 new items found

Consider writing more tests for

Workflow run details

This is an automated advisory review. A human maintainer must make the final merge decision.

@cv cv requested a review from jyaunches June 8, 2026 06:30
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build area: e2e End-to-end tests, nightly failures, or validation infrastructure labels Jun 8, 2026
@wscurran

wscurran commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@jyaunches jyaunches 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.

Yeah, agree with & like this direction

@cv cv merged commit 2c5283c into main Jun 8, 2026
34 checks passed
@cv cv deleted the codex/e2e-single-runner-direction branch June 8, 2026 15:59
jyaunches added a commit that referenced this pull request Jun 8, 2026
#4939 added 'transitional model / target runner' guidance to docs/README.md
after our merge. Resolved by taking that content but reconciling it with
this PR's retirement of nemoclaw_scenarios/expected-states.yaml and the
runtime/resolver/ tree:

- 'Current sources of truth' table: drop the row pointing at expected-states.yaml
  and runtime/resolver; add a row for the typed expected-state registry
  (scenarios/expected-states.ts) as the single source of truth.
- Replaced 'fan-out and dry-run planning' with 'fan-out and live execution'.
- Added one paragraph noting the legacy YAML resolver and expected-states.yaml
  have been retired so the doc and the codebase agree.
@cv cv added the v0.0.61 Release target label Jun 8, 2026
@wscurran wscurran added the chore Build, CI, dependency, or tooling maintenance label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance v0.0.61 Release target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants