Skip to content

ci(dependabot): ignore the frostyard git crate frostyard-problems - #138

Merged
bketelsen merged 1 commit into
mainfrom
irulan/dependabot-internal-crates
Nov 6, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/dependabot-internal-crates

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Dependabot's cargo update job for /app/src-tauri fails on each run with dependency_file_not_resolvable. The cause is the git dependency frostyard-problems (from frostyard/std): Dependabot fetches std's tag v0.3.0, which holds no Cargo.toml, and the whole cargo job stops. The crate is bumped by hand (AGENTS.md, "Rust crates"), so the cargo entry now ignores it. frostmail already ignores this crate, and frostyard/frostread#60 makes the same change.

  • .github/dependabot.yml: an ignore entry for frostyard-problems in the cargo entry, with a comment that gives the reason.
  • internal/workflowcheck/baseline_test.go: TestDependabotLeavesInternalGitCratesAlone reads the Cargo.lock beside each Cargo.toml and requires a full ignore entry (no versions, no update-types) in the cargo entry of that directory for each package whose git source is a frostyard repository on github.com. The lock is read rather than Cargo.toml, because cargo writes it in 1 fixed form and names each package once by its package name. TestInternalGitCrates and TestCargoIgnores cover the parser and the ignore rule. TestDependabotCoversManifests now shares readDependabot.
  • AGENTS.md (Repository baseline, B13) states the rule; .memory/corrections.jsonl gets 1 line.

Risk tier

Risk tier: 3 — the PR carries risk:high for 1 matched path:

  • internal/workflowcheck/** (internal/workflowcheck/baseline_test.go; governance). The change only adds a test and its helpers, and moves the read of .github/dependabot.yml into a shared function. No existing check becomes weaker: TestDependabotCoversManifests checks the same things as before.

.github/dependabot.yml is not a risk path. The ignore stops only Dependabot's updates of frostyard-problems; all other cargo crates still get updates.

Verification

  • make check green (host). Local note: internal/packagecheck's helper tests set XDG_STATE_HOME, so a mise python3 shim cannot find its trust store in a fresh worktree; the run used MISE_TRUSTED_CONFIG_PATHS=$PWD. CI has no such shim.
  • Revert test: with the ignore entry removed, go test -run TestDependabotLeavesInternalGitCratesAlone ./internal/workflowcheck/ fails with app/src-tauri/Cargo.toml: the frostyard git crate frostyard-problems has no ignore entry in the cargo entry for /app/src-tauri.

Dependabot's cargo update job for /app/src-tauri fails with
dependency_file_not_resolvable: it fetches frostyard/std at tag v0.3.0,
which holds no Cargo.toml. The crate is bumped by hand, so the cargo
entry ignores it, as in frostmail and frostread.

internal/workflowcheck reads each Cargo.lock and requires a full ignore
entry for every git package whose source is a frostyard repository on
GitHub.
@github-actions github-actions Bot added the risk:high Touches a path in .github/risk-paths.json label Nov 6, 2026
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit 5909f09 into main Nov 6, 2026
10 checks passed
@bketelsen
bketelsen deleted the irulan/dependabot-internal-crates branch November 6, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants