Skip to content

Add minimal Pipeline9 trace preloading - #1785

Merged
seveibar merged 8 commits into
mainfrom
agent/minimal-pipeline9
Jul 30, 2026
Merged

Add minimal Pipeline9 trace preloading#1785
seveibar merged 8 commits into
mainfrom
agent/minimal-pipeline9

Conversation

@seveibar

@seveibar seveibar commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Pipeline9 as an independent BaseSolver pipeline with an explicit copy of the Pipeline7 stages
  • keep pre-routed traces out of obstacle-rectangle preprocessing
  • quantize trace crossings onto existing graph ports and serialize them as ordinary hypergraph assignments
  • pass pre-routed traces to simplification as immutable routed context
  • expose Pipeline9 in the debugger, sample runner, and benchmark aliases

Deliberately excluded

  • no inheritance from Pipeline7 or runtime mutation of its pipelineDef
  • no ijump or B01 rerouter
  • no Pipeline9-specific DRC guard or repair solver
  • no capacity-region or port creation for preloaded traces
  • no downstream Pipeline7 stage replacement

Verification

  • bun test --timeout 9999999 tests/features/preloaded-trace-graph-solver.test.ts tests/features/preloaded-fixed-segment-occupancy.test.ts tests/features/pipeline9-minimal-preloaded-trace-graph.test.ts tests/features/trace-simplification-immutable-routes.test.ts
  • bunx tsc --noEmit
  • bun run build
  • ./benchmark.sh --pipeline 9 --dataset srj23 --scenario-limit 1 --concurrency 1 --effort 1 --sample-timeout 60s (100% solved, 100% relaxed DRC for the smoke sample)

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
capacity-node-autorouter Ready Ready Preview Jul 30, 2026 8:57pm

Request Review

@tscircuitbot

Copy link
Copy Markdown
Contributor

Benchmark This PR

Run benchmarks by commenting on this PR:

/benchmark [benchmark.sh args...]
/benchmark-long [benchmark.sh args...]
/benchmark-all

Comment /benchmark to run the default dataset, or append any arguments accepted by ./benchmark.sh.
Comment /benchmark-long for an 8-vCPU run that defaults to 8 workers and has an eight-hour timeout.
Comment exactly /benchmark-all to start separate workflow runs and result comments for the default dataset plus srj18, srj19, srj20, srj21, and srj23.

Everything after /benchmark or /benchmark-long is safely forwarded to ./benchmark.sh, except --profile-solvers, which enables profile comparison tables.
Examples: /benchmark --dataset 18 --sample-timeout 2000s, /benchmark --pipeline 7 --scenario-limit 20, /benchmark all 20 --concurrency 8, and /benchmark-long --dataset 18.

Use /update-snapshots (or /us) to run BUN_UPDATE_SNAPSHOTS=1 bun test --timeout 120_000 on the PR branch and auto-commit snapshot updates.
Use /usf to read recent failed test files, update and verify their exact CI test shards, and auto-commit only their snapshots. It uses the configured fast benchmark runner by default; use /usf --ubuntu-latest for GitHub-hosted x64 CI parity.

Any PR whose title contains [BENCHMARK TEST] will automatically run one default-dataset benchmark on PR updates; it does not post a PR result comment.

@seveibar
seveibar marked this pull request as ready for review July 30, 2026 21:55
@seveibar
seveibar merged commit 7f3c23a into main Jul 30, 2026
13 checks passed
@seveibar
seveibar deleted the agent/minimal-pipeline9 branch July 30, 2026 22:07
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.

2 participants