Commit 06194d7
fix(build): make echidnabot resolve standalone; stop the release path hanging
Two independent faults, both measured.
1. Standalone build was impossible. Cargo.toml carried
gitbot-shared-context = { path = "../../shared-context" }, which
resolves only inside the gitbot-fleet monorepo layout, so a bare
clone died at dependency resolution:
failed to load source for dependency `gitbot-shared-context`
failed to read /home/runner/work/shared-context/Cargo.toml
That is why db-checks, cargo-audit and Rust CI were all red — CI
checks out this repo alone.
hyperpolymath/gitbot-fleet is public and contains shared-context/
with package gitbot-shared-context v0.1.0, so the dependency now
points there, pinned to a rev. Cargo locates a package in a repo
subdirectory automatically, so this works from a bare clone and
from the monorepo alike. Fleet developers who want their local
working copy can add a [patch] entry or a .cargo/config.toml paths
override.
Note for maintenance: Dependabot does not bump rev-pinned git
dependencies, so the rev needs occasional manual attention.
2. publish.yml ran a bare `cargo test --lib`, which was measured
hanging past 20 minutes (exit 124) — sitting in the release path
behind only a 15-minute job timeout. Suites are now named
explicitly, and the resulting gap is declared in the step summary on
every run. An exclusion nobody can see is indistinguishable from
coverage, so it is restated rather than silently dropped.
Also deletes instant-sync.yml and push-email-notify.yml. Both were
disabled_manually; a disabled workflow file still reads as "we have
this gate", so removing them is more honest than leaving them dark.
Verified: cargo fetch resolves the dependency graph (exit 0), which
was the exact operation that previously failed; cargo metadata parses;
publish.yml strict-parses as YAML.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 1217e2d commit 06194d7
5 files changed
Lines changed: 339 additions & 107 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
49 | 72 | | |
50 | 73 | | |
51 | 74 | | |
| |||
This file was deleted.
0 commit comments