Skip to content

chore: keep the ant-node dev-dep on one line - #197

Merged
jacderida merged 1 commit into
mainfrom
fix/single-line-ant-node-dev-dep
Sep 8, 2026
Merged

jacderida merged 1 commit into
mainfrom
fix/single-line-ant-node-dev-dep

Conversation

@jacderida

Copy link
Copy Markdown
Member

Linear issue

Closes V2-1033

What this is

Formatting only. The dependency is byte-for-byte equivalent — same git URL, same rev, same feature.

rewrite_dep.py (the release tooling that retargets internal deps onto rc branches) parses single-line inline tables only. The multi-line form I introduced in #196 aborts the RC cut:

multi-line inline table for 'ant-node' at line 108 — not supported, please simplify the manifest

Collapsing it lets --rewrite-on ant-core/Cargo.toml#dev-dependencies=ant-node:...@rc-2026.9.2 retarget the pin at cut time, and lets release_one_crate.sh rewrite it back to ant-node = "0.19.0" at promotion. Without this, every future cut that RCs ant-node fails the same way.

Risk tier

  • T0 — docs / tooling / CI / pure UX-output. Repo CI only.
  • T1 — client-only, no network-facing behavior change. CI + prod compat smoke.
  • T2 — node/client logic with behavioral surface, no protocol/format/economics change. Dev testnet + ADR.
  • T3 — protocol / storage format / payments / routing. T2 evidence + adversarial testing.

Compatibility

  • Wire: none.
  • Storage: none.
  • API: none.

Semver impact

  • breaking
  • feature
  • fix

No version bump; the release train owns that.

Test evidence

Cargo.lock is unchanged by this edit — cargo resolves the two forms identically, which is the proof that it is formatting and not a dependency change. Repo CI covers the rest.

New dependency

none

ADR

n/a — T0 formatting change.

Mitigation / rollback

Revert the single commit. That restores the multi-line form, which builds correctly but cannot be processed by the release tooling.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RAfH7vssjtvHycmbLCr5ov

Closes V2-1033

Formatting only — the dependency is unchanged. The release tooling's
rewrite_dep.py handles single-line inline tables only, so the multi-line
form introduced in #196 aborts the RC cut with:

  multi-line inline table for 'ant-node' at line 108 — not supported

Collapsing it lets `--rewrite-on ant-core/Cargo.toml#dev-dependencies=ant-node`
retarget the pin at cut time, and lets release_one_crate.sh rewrite it back
to a published version at promotion.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RAfH7vssjtvHycmbLCr5ov
@jacderida
jacderida merged commit c63ca68 into main Sep 8, 2026
11 of 15 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