Skip to content

Drive the fleet cycle off my-pipeline's declarative graph - #13

Merged
lorenzoliuzzo merged 2 commits into
mainfrom
core/unified-dag-tick-driver
Jul 22, 2026
Merged

Drive the fleet cycle off my-pipeline's declarative graph#13
lorenzoliuzzo merged 2 commits into
mainfrom
core/unified-dag-tick-driver

Conversation

@lorenzoliuzzo

Copy link
Copy Markdown
Contributor

What

fleet_cycle no longer hand-codes the 10-step order. It ticks
mypipeline.plan.build_plan() and binds each graph stage to concrete argv via
a RESOLVERS registry lifted out of the old _run_cycle blocks.

  • my-pipeline owns what runs and in what order; my-fleet owns the runtime
    binding it can't hold (accounts, per-repo fan-out, live gh queries,
    missing-clone skips) and whether it can afford to tick (halt gate, account
    pool, backoff — all unchanged).
  • mypipeline sync is now a cycle stage: the ledger→issue handoff axis, wired
    into the cycle it used to sit beside (previously not run by the cycle at all).

Behaviour change (intentional)

tester/changelogger now run grouped (all testers, then all changeloggers) rather
than interleaved per repo — they're independent per-repo nodes, so
behaviour-equivalent.

Merge ordering

CI installs my-pipeline @ main, so this PR's test check stays red until
MyThingsLab/my-pipeline#3 merges. Merge that first.

Readiness

  • ruff check src tests clean
  • pytest green (241 passed) — added: handoff stage runs, order follows the plan, unknown-stage skip is non-fatal; every existing gate/fan-out/skip/halt/loop test still passes
  • CI green (blocked on my-pipeline#3 reaching main)

🤖 Generated with Claude Code

fleet_cycle no longer hand-codes the 10-step order: it ticks
mypipeline.plan.build_plan() and binds each graph `stage` to concrete argv via
a RESOLVERS registry lifted out of the old _run_cycle. my-pipeline owns what
runs and in what order; my-fleet owns the runtime binding it can't (accounts,
per-repo fan-out, live gh queries, missing-clone skips) plus whether it can
afford to tick (halt gate, account pool, backoff -- all unchanged).

mypipeline sync is now a cycle stage (the ledger->issue handoff axis, wired
into the cycle it used to sit beside). tester/changelogger now run grouped
(all testers, then all changeloggers) rather than interleaved per repo, since
they're independent per-repo nodes -- behaviour-equivalent.

Adds my-pipeline to the CI sibling installs; its @main must carry build_plan
before this repo's CI is green (land the my-pipeline PR first).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lorenzoliuzzo
lorenzoliuzzo marked this pull request as ready for review July 22, 2026 09:29
…coder swap

Both this branch's DAG-wiring work and main's now-merged mycoder-dispatch
swap (#15) added an install step + a sibling-repos comment to the same two
lines of ci.yml/pyproject.toml. Combined both: CI now installs my-pipeline
and my-coder; the comment lists all five siblings. No overlap in the actual
source (fleet_cycle.py only imports DISPATCH_LEDGER/HALT_MARKER/
_critical_halt_issues from fleet_dispatch.py, none of which changed), so
src/tests merged cleanly with no conflicts to resolve there.
@lorenzoliuzzo
lorenzoliuzzo merged commit 04102bc into main Jul 22, 2026
1 check passed
@lorenzoliuzzo
lorenzoliuzzo deleted the core/unified-dag-tick-driver branch July 22, 2026 10:57
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