Skip to content

fix: resolve depot before building in CI - #4

Merged
Ch4s3 merged 1 commit into
mainfrom
claude/fix-ci-pipeline-e20297
Aug 14, 2026
Merged

Ch4s3 merged 1 commit into
mainfrom
claude/fix-ci-pipeline-e20297

Conversation

@Ch4s3

@Ch4s3 Ch4s3 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • CI has been failing since 96cadf1 switched depot from a path = "../depot" dependency to a registry dependency (registry = "forge", version = "0.2.1").
  • forge build does not resolve registry dependencies on its own. On a fresh CI runner the package cache is empty, so depot is never fetched, and every module it provides (Pool, Connection, Db, Message's ParamText/ParamNull, etc.) reports as unknown — 184 typecheck errors in lib/conduit/storage/postgres.march.
  • The old "Check out depot" git clone ../depot step is a leftover from the path-dependency era and is no longer referenced by forge.toml.

Fix: drop the dead clone step and add an explicit forge deps step before forge build, matching the pattern already used in bastion's CI (which has a comment describing this exact gotcha).

Test plan

  • Reproduced the CI failure locally by clearing the local package cache and running forge build alone (identical error output to the failing run).
  • Verified forge deps && forge build succeeds from a clean cache.
  • Ran forge test --release from a clean cache: 242 tests, 0 failures.

Fixes the failure at https://github.com/march-language/conduit/actions/runs/31657609540/job/94315408316

forge build does not resolve registry dependencies. After the
switch to depot = { registry = "forge", version = "0.2.1" } in
96cadf1, a fresh CI runner has an empty package cache, so depot
is simply absent at build time and every module it provides
reports as unknown (Unknown module `Pool`. Did you mean `Plot`?).

Drop the now-unused "Check out depot" git-clone step (a leftover
from the old path dependency) and add an explicit `forge deps`
step before the build, matching the pattern already used in
bastion's CI.
@Ch4s3
Ch4s3 merged commit a0c92b3 into main Aug 14, 2026
2 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