Migrate forc-tracing & forc-crypto over from the sway repo.#119
Merged
JoshuaBatty merged 16 commits intomainfrom Dec 8, 2025
Merged
Migrate forc-tracing & forc-crypto over from the sway repo.#119JoshuaBatty merged 16 commits intomainfrom
forc-tracing & forc-crypto over from the sway repo.#119JoshuaBatty merged 16 commits intomainfrom
Conversation
PR SummaryAdds forc-crypto (CLI) and forc-tracing (library) to the workspace, updates docs/deps, and makes the release CI skip building binaries for library-only crates.
Written by Cursor Bugbot for commit 828642f. This will update automatically on new commits. Configure here. |
- Fix forc-tracing tests to check for escaped ANSI codes - Add binary detection to CI to skip builds for library-only crates - Add CHANGELOG.md for forc-tracing and forc-crypto - Update RELEASING.md with new workspace members
3cda65d to
fbdab0b
Compare
Contributor
forc-tracing & forc-crypto over from the sway repo.forc-tracing & forc-crypto over from the sway repo.
zees-dev
reviewed
Dec 8, 2025
Comment on lines
+19
to
+20
| forc-tracing = "0.70.2" | ||
| fuels = "0.75" |
Contributor
There was a problem hiding this comment.
qq: is there a reason not to use workspace for all deps?
Member
Author
There was a problem hiding this comment.
Yeah, this was based off our discussion that we had last week. Ideally, we'll move towards having workspace deps for fuel crates, but for the initial migration, we'll keep them separate.
zees-dev
approved these changes
Dec 8, 2025
This was referenced Dec 8, 2025
JoshuaBatty
added a commit
to FuelLabs/fuel.nix
that referenced
this pull request
Dec 8, 2025
## Summary - forc-crypto migrated from `FuelLabs/sway` to `FuelLabs/forc` monorepo at v0.71.0 - Add version-based repository routing using the same `legacy_repo`/`legacy_before` pattern established for forc-wallet in #204 - Add `buildAndTestSubdir` patch for forc-crypto when built from forc monorepo ## Changes **refresh-manifests.sh:** - Versions < 0.71.0: fetch from sway repo with `v{version}` tags - Versions >= 0.71.0: fetch from forc monorepo with `forc-crypto-{version}` tags **patches.nix:** - Add patch setting `buildAndTestSubdir = "forc-crypto"` when built from forc monorepo **packages.md:** - Update forc-crypto documentation to reference forc repo ## Context - forc-crypto migration PR: FuelLabs/forc#119 - forc-crypto v0.71.0 release: https://github.com/FuelLabs/forc/releases/tag/forc-crypto-0.71.0 - sway-nightly-binaries update: FuelLabs/sway-nightly-binaries#79 --------- Co-authored-by: GitHub Action <action@github.com>
This was referenced Dec 8, 2025
JoshuaBatty
added a commit
to FuelLabs/sway
that referenced
this pull request
Dec 9, 2025
## Summary This PR completes the sway-side of migrating `forc-tracing` and `forc-crypto` to the new [forc monorepo](https://github.com/FuelLabs/forc), as outlined in [RFC #49](FuelLabs/sway-rfcs#49). The corresponding forc repo PR: FuelLabs/forc#119 ### Changes - Remove `forc-tracing` crate from workspace (now uses crates.io `0.71.1`) - Remove `forc-crypto` crate from workspace - Update CI to no longer build/package `forc-crypto` binary (it's now built from forc repo) - Update gh-pages workflow to install `forc-crypto` from forc repo for documentation generation ### Distribution Going forward, `forc-crypto` will be built and distributed from the forc repo by: - sway-nightly-binaries - fuelup - fuel.nix ### Documentation For now, documentation for all tooling will continue to live in this repo. The `gh-pages` workflow now pulls `forc-crypto` from the forc repo rather than building it locally, so docs generation continues to work as before.
5 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates
forc-tracingandforc-cryptofrom the sway repository into the forc monorepo, continuing the toolchain consolidation effort from sway-rfcs#49.Changes
New Workspace Members
forc-tracing(within monorepo)forc-utilforcli_examples!macroCI Updates
Test Fixes
serial_testto prevent race conditions inforc-tracingtestsJSON_MODE_ACTIVEstate requiring serial executionPost-merge Tasks
forc-tracing-0.71.0,forc-crypto-0.71.0forc-cryptofrom this repoforc-cryptoforc-cryptofrom hereforc-tracingandforc-cryptofrom sway repoRelated
forc-walletrepository toforcmonorepo #1forc-walletmigration from standalone repo toforcmonorepo fuelup#807