Repository navigation
ci(dependabot): ignore the frostyard git crate frostyard-problems - #138
Merged
Merged
Conversation
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.
bketelsen
approved these changes
Nov 6, 2026
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
Dependabot's cargo update job for
/app/src-taurifails on each run withdependency_file_not_resolvable. The cause is the git dependencyfrostyard-problems(from frostyard/std): Dependabot fetches std's tag v0.3.0, which holds noCargo.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: anignoreentry forfrostyard-problemsin the cargo entry, with a comment that gives the reason.internal/workflowcheck/baseline_test.go:TestDependabotLeavesInternalGitCratesAlonereads theCargo.lockbeside eachCargo.tomland requires a full ignore entry (noversions, noupdate-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 thanCargo.toml, because cargo writes it in 1 fixed form and names each package once by its package name.TestInternalGitCratesandTestCargoIgnorescover the parser and the ignore rule.TestDependabotCoversManifestsnow sharesreadDependabot.AGENTS.md(Repository baseline, B13) states the rule;.memory/corrections.jsonlgets 1 line.Risk tier
Risk tier: 3 — the PR carries
risk:highfor 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.ymlinto a shared function. No existing check becomes weaker:TestDependabotCoversManifestschecks the same things as before..github/dependabot.ymlis not a risk path. The ignore stops only Dependabot's updates offrostyard-problems; all other cargo crates still get updates.Verification
make checkgreen (host). Local note:internal/packagecheck's helper tests setXDG_STATE_HOME, so a misepython3shim cannot find its trust store in a fresh worktree; the run usedMISE_TRUSTED_CONFIG_PATHS=$PWD. CI has no such shim.ignoreentry removed,go test -run TestDependabotLeavesInternalGitCratesAlone ./internal/workflowcheck/fails withapp/src-tauri/Cargo.toml: the frostyard git crate frostyard-problems has no ignore entry in the cargo entry for /app/src-tauri.