Skip to content

Conversation

@JoshuaBatty
Copy link
Member

@JoshuaBatty JoshuaBatty commented Dec 6, 2025

Add CI automation to track dependency versions for each release:

  • Add update_releases.sh script that extracts sway, fuel-core, and fuels-rs versions from Cargo.lock and appends entries to releases.toml
  • Add update-releases job to CI that runs after publish-crates and opens a PR with the updated releases.toml
  • Update RELEASING.md to document the new compatibility tracking step

The script only records dependency versions that the specific crate actually uses - it checks the crate's own Cargo.toml rather than recording all versions from the workspace's Cargo.lock.

This implements the compatibility tracking section from the forc-tooling monorepo RFC. The releases.toml file serves as an append-only log that fuelup and fuel.nix can use to determine compatible toolchain versions.

Also bump forc-wallet to 0.16.2 to test the automation after merge.

@cursor
Copy link

cursor bot commented Dec 6, 2025

PR Summary

Adds CI job and script to append dependency versions to releases.toml on release and open a PR; bumps forc-wallet to 0.16.2 to exercise the flow.

  • CI:
    • Add update-releases job in .github/workflows/ci.yml to extract crate/version from tag, fetch releases.toml from main, run updater, and open a PR with changes.
  • Scripts:
    • Add .github/workflows/scripts/update_releases.sh to read Cargo.lock for sway-core, fuel-core, and fuels, and append a [[releases]] entry (crate, version, date, dependency versions) to releases.toml.
  • Docs:
    • Update RELEASING.md to document the compatibility tracking step and its purpose.
  • Crate versioning:
    • Bump forc-wallet to 0.16.2 (Cargo.toml, CHANGELOG.md); update Cargo.lock.

Written by Cursor Bugbot for commit 7bee68e. This will update automatically on new commits. Configure here.

@JoshuaBatty JoshuaBatty self-assigned this Dec 6, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

LCOV of commit 7bee68e during CI #22

Summary coverage rate:
  lines......: 32.6% (361 of 1108 lines)
  functions..: 32.5% (53 of 163 functions)
  branches...: 26.4% (19 of 72 branches)

Files changed coverage rate: n/a

@JoshuaBatty JoshuaBatty added the ci Everything CI related label Dec 6, 2025
@JoshuaBatty JoshuaBatty force-pushed the josh/releases-toml-automation branch from d09ae11 to 779be44 Compare December 6, 2025 04:49
@JoshuaBatty JoshuaBatty force-pushed the josh/releases-toml-automation branch from 779be44 to 3e88aa5 Compare December 6, 2025 05:32
Add CI automation to track dependency versions for each release:

- Add `update_releases.sh` script that extracts sway, fuel-core, and
  fuels-rs versions from Cargo.lock and appends entries to releases.toml
- Add `update-releases` job to CI that runs after publish-crates and
  opens a PR with the updated releases.toml
- Update RELEASING.md to document the new compatibility tracking step

This implements the compatibility tracking section from the forc-tooling
monorepo RFC. The releases.toml file serves as an append-only log that
fuelup and fuel.nix can use to determine compatible toolchain versions.

Also bump forc-wallet to 0.16.2 to test the automation after merge.
@JoshuaBatty JoshuaBatty force-pushed the josh/releases-toml-automation branch from 3e88aa5 to 9f0c1d3 Compare December 6, 2025 07:40
@JoshuaBatty JoshuaBatty merged commit c79c362 into main Dec 7, 2025
15 checks passed
@JoshuaBatty JoshuaBatty deleted the josh/releases-toml-automation branch December 7, 2025 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Everything CI related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants