Skip to content

test: add live dispatch scenarios#42

Merged
galligan merged 1 commit into
mainfrom
test/live-scenarios
Jun 11, 2026
Merged

test: add live dispatch scenarios#42
galligan merged 1 commit into
mainfrom
test/live-scenarios

Conversation

@galligan

@galligan galligan commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add scripts/run_scenario.py, a live scenario runner that starts Dispatch with isolated DISPATCH_HOME and CODEX_HOME
  • add tests/scenarios/basic_coordination.toml, which creates two synthetic Codex lanes through the public CLI and verifies list/get/tail
  • add a dry-run test for scenario fixture validation without live model calls
  • document just scenario -- tests/scenarios/basic_coordination.toml in AGENTS, dev docs, and usage docs

Testing

  • uv run pytest tests/test_scenarios.py -q
  • just scenario -- --dry-run tests/scenarios/basic_coordination.toml
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run mypy src tests
  • just scenario -- tests/scenarios/basic_coordination.toml
  • just check

Live scenario proof

just scenario -- tests/scenarios/basic_coordination.toml passed locally using isolated temp state. It selected gpt-5.3-codex-spark, created two lanes (alpha and beta), observed both latest turns transition from started to completed, verified lane listing and transcript contents, then shut the daemon down and removed temporary state.

Notes

This is intentionally opt-in and outside just check because it uses real Codex auth/model calls. SQLite audit remains next as Linear OUT-450.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@galligan galligan marked this pull request as ready for review June 11, 2026 18:14

galligan commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

  • Jun 11, 6:14 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jun 11, 6:14 PM UTC: @galligan merged this pull request with Graphite.

@galligan galligan merged commit d60662b into main Jun 11, 2026
5 checks passed
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