Skip to content

steward: align toml dependency versions across workspace 🚢#2586

Draft
EffortlessSteven wants to merge 1 commit into
mainfrom
steward-toml-drift-6852019669646554248
Draft

steward: align toml dependency versions across workspace 🚢#2586
EffortlessSteven wants to merge 1 commit into
mainfrom
steward-toml-drift-6852019669646554248

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

💡 Summary

Consolidated the toml dependency into [workspace.dependencies] to fix drift. Previously tokmd-gate and tokmd pinned 1.1.2 directly, while tokmd-settings used 1.1. This aligns all consumers to the workspace version.

🎯 Why

Release metadata and dependencies should be aligned to prevent version drift across crates in the workspace. Hardcoded dependencies lead to inconsistent dependency resolutions and violate dependency hygiene.

🔎 Evidence

Observed toml = "1.1.2" in tokmd-gate and tokmd, but toml = "1.1" in tokmd-settings. This drift violated metadata alignment.

🧭 Options considered

Option A (recommended)

  • Consolidate toml into [workspace.dependencies] with version = "1.1.2".
  • This ensures dependency hygiene and version consistency, perfectly matching the release governance focus of the Steward persona.
  • Trade-offs: Structure is improved, no velocity impact, enforces workspace-wide governance.

Option B

  • Update versions individually in the respective crates without a workspace dependency.
  • This creates future maintenance burden.
  • Trade-offs: Increases long-term drift risk.

✅ Decision

Chose Option A to centralize the toml dependency in the workspace root, eliminating drift.

🧱 Changes made (SRP)

  • Cargo.toml: Added toml = "1.1.2" to [workspace.dependencies].
  • crates/tokmd-gate/Cargo.toml: Updated to use toml.workspace = true.
  • crates/tokmd-settings/Cargo.toml: Updated to use toml.workspace = true.
  • crates/tokmd/Cargo.toml: Updated to use { workspace = true, optional = true }.

🧪 Verification receipts

$ cargo xtask version-consistency
Checking version consistency against workspace version 1.13.1

  ✓ Cargo crate versions match 1.13.1.
  ✓ Cargo workspace dependency versions match 1.13.1.
  ✓ Node package manifest versions match 1.13.1.
  ✓ No case-insensitive tracked-path collisions detected.
Version consistency checks passed.

🧭 Telemetry

  • Change shape: Dependency hygiene / Manifest alignment
  • Blast radius: Compilation (no logical changes)
  • Risk class: Low risk. Uses same minor/patch version across all crates.
  • Rollback: Revert the commit.
  • Gates run: cargo xtask version-consistency, cargo check --workspace

🗂️ .jules artifacts

  • .jules/runs/steward_release/envelope.json
  • .jules/runs/steward_release/decision.md
  • .jules/runs/steward_release/receipts.jsonl
  • .jules/runs/steward_release/result.json
  • .jules/runs/steward_release/pr_body.md

🔜 Follow-ups

None.


PR created automatically by Jules for task 6852019669646554248 started by @EffortlessSteven

This commit consolidates the `toml` dependency into the root `Cargo.toml` `[workspace.dependencies]` table and updates consumers (`tokmd`, `tokmd-gate`, `tokmd-settings`) to use `workspace = true`. This prevents version drift within the workspace and simplifies dependency management.
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@EffortlessSteven, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 25 minutes and 27 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: c341e357-e6dd-4930-b937-729cea3e36d9

📥 Commits

Reviewing files that changed from the base of the PR and between 10feb71 and 6ce0479.

📒 Files selected for processing (9)
  • .jules/runs/steward_release/decision.md
  • .jules/runs/steward_release/envelope.json
  • .jules/runs/steward_release/pr_body.md
  • .jules/runs/steward_release/receipts.jsonl
  • .jules/runs/steward_release/result.json
  • Cargo.toml
  • crates/tokmd-gate/Cargo.toml
  • crates/tokmd-settings/Cargo.toml
  • crates/tokmd/Cargo.toml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch steward-toml-drift-6852019669646554248

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@factory-droid

factory-droid Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Droid finished @EffortlessSteven's task —— View job


Droid is reviewing code and running a security check…

@github-actions

Copy link
Copy Markdown
Contributor

Glass Cockpit

Base: origin/main
Head: HEAD

Change Surface:

  • Files: 9
  • Insertions: 102
  • Deletions: 4

Composition:

  • Code: 0.0%
  • Test: 0.0%
  • Docs: 25.0%
  • Config: 75.0%

Contracts:

  • API: No
  • CLI: No
  • Schema: No

Health: 100/100 (A)
Risk: low (0/100)

Review Plan

  • .jules/runs/steward_release/pr_body.md (priority: 2)
  • .jules/runs/steward_release/decision.md (priority: 3)
  • .jules/runs/steward_release/envelope.json (priority: 3)
  • .jules/runs/steward_release/receipts.jsonl (priority: 3)
  • .jules/runs/steward_release/result.json (priority: 3)
  • Cargo.toml (priority: 3)
  • crates/tokmd-gate/Cargo.toml (priority: 3)
  • crates/tokmd-settings/Cargo.toml (priority: 3)
  • crates/tokmd/Cargo.toml (priority: 3)

Receipts

Full receipt data available in JSON format.

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