Skip to content

Organize control-plane and canary smokes#1201

Merged
huangruiteng merged 1 commit into
mainfrom
codex/examples-control-plane-smoke-subdirs-20260703
Jul 3, 2026
Merged

Organize control-plane and canary smokes#1201
huangruiteng merged 1 commit into
mainfrom
codex/examples-control-plane-smoke-subdirs-20260703

Conversation

@huangruiteng

Copy link
Copy Markdown
Owner

Summary

  • move 65 control-plane runtime smoke scripts into examples/control_plane/
  • move 4 canary-promotion smoke scripts into examples/canary/
  • update canary planner/runner/docs/catalog references for the new paths, including control-plane/control_plane module matching
  • calibrate current work-lane/status smoke expectations for the monitor schedule-metadata repair contract and update the Python line-budget pins to current main facts

Validation

  • PYTHONPATH=. python3 -m py_compile loopx/canary/runner.py loopx/canary/planner.py tests/test_smoke_suite.py examples/control_plane/work-lane-contract-smoke.py examples/control_plane/repo-python-line-budget-smoke.py
  • moved control-plane batch: PYTHONPATH=. python3 -m loopx.cli --format json canary smoke-suite --suite full-public <65 moved scripts> --timeout-seconds 120 --no-progress -> 65 selected / 65 executed / 0 failures
  • canary module: PYTHONPATH=. python3 -m loopx.cli --format json canary smoke-suite --suite full-public --module canary --timeout-seconds 120 --no-progress -> 10 selected / 10 executed / 0 failures
  • control-plane preview: PYTHONPATH=. python3 -m loopx.cli --format json canary smoke-suite --suite full-public --module control-plane --no-execute --no-progress -> 74 selected / 0 warnings / 0 unsafe
  • full control-plane module execution still has 2 pre-existing semantic reds outside the moved batch: examples/mini-control-plane-interrupt-comparison-summary-smoke.py and examples/mini-control-plane-repair-with-interrupt-smoke.py
  • git diff --check and git diff --cached --check

Notes

The moved control-plane and canary batches are green. The remaining mini-control-plane-* reds are left as a separate canary triage item rather than hidden in this organization PR.

@huangruiteng huangruiteng force-pushed the codex/examples-control-plane-smoke-subdirs-20260703 branch from c80c2dd to 90ffc33 Compare July 3, 2026 07:24
@huangruiteng

Copy link
Copy Markdown
Owner Author

Self-merge review note after owner authorization.

Findings: none blocking.

Product/architecture judgment:

  • Motivation: reduce examples/ root sprawl and make control-plane/canary smoke suites selectable by module without losing the existing runner payload.
  • Solved: the PR moves 65 control-plane and 4 canary-promotion smokes into subdirectories, updates catalog/docs references, and keeps loopx canary smoke-suite as the source of truth.
  • User/operator impact: easier local module execution, less noisy examples root, and clearer canary/refactor ownership for future smoke triage.
  • Main risk: broad path churn plus small canary runner module-matching change. Risk is bounded by moved-script suite validation and no benchmark runner/scoring behavior changes.
  • Design judgment: path organization plus runner aliasing is a reusable catalog/module boundary, not a one-off patch. The two remaining mini-control-plane-* reds are classified as separate semantic triage, not hidden by this PR.

Validation:

  • GitHub Frontstage Pages build: pass after rebase onto latest main.
  • git diff --check origin/main...HEAD
  • PYTHONPATH=. python3 -m py_compile loopx/canary/runner.py loopx/canary/planner.py examples/control_plane/work-lane-contract-smoke.py examples/control_plane/repo-python-line-budget-smoke.py examples/canary/canary-promotion-readiness-smoke.py examples/canary/canary-promotion-readiness-boundary-smoke.py examples/canary/canary-promotion-no-write-contract-smoke.py examples/canary/canary-promotion-readiness-writeback-smoke.py
  • moved control-plane batch: 65 selected / 65 executed / 0 failures
  • canary module: 10 selected / 10 executed / 0 failures

Merge decision: self-merged with explicit owner authorization and admin bypass for review requirement.

@huangruiteng huangruiteng merged commit 4b12427 into main Jul 3, 2026
2 checks passed
@huangruiteng huangruiteng deleted the codex/examples-control-plane-smoke-subdirs-20260703 branch July 3, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant