runner(debian-testing): MISE_GITHUB_TOKEN is invalid and mise cache backend is unreachable #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two environment-wide bugs surfaced while bringing
sebatec-eu/forgejo-mcp!5to green ondebian-testing. Both are configuration issues on theghcr.io/sebatec-eu/testing-forgejo-runnerimage (or its runner registration), not in the forgejo-mcp codebase.Bug 1 —
MISE_GITHUB_TOKENis set but invalidObserved (every CI run, e.g. forgejo-mcp!5 run #8 / #9)
The
MISE_GITHUB_TOKENenv var on the runner is either unset (empty string) or holds an expired/revoked GitHub PAT. mise reportsauth: yesbecause the variable is set, but GitHub returns401 Bad credentials.Impact
bun/biomeinstall correctly. So jobs still succeed.debian-testingdoes the full ~5s fallback download that the GitHub-authenticated path would have short-circuited.Bad credentialswarning appears on every run, drowning other warnings.Suggested fix
Either unset
MISE_GITHUB_TOKENon the runner, or rotate it to a valid GitHub PAT with the necessary scopes for theactions/mise-actionpath. If no PAT is desired, simply remove the env var from the runner registration and the warning disappears.Bug 2 — Mise cache cannot reach the cache backend (
getaddrinfo ENOTFOUND forge.sebatec.eu_apis)Observed (every CI run, e.g. forgejo-mcp!5 run #8 / #9)
The cache host alias
forge.sebatec.eu_apisis unreachable from inside the runner container. Every job does a full mise download instead of a cache restore, and the cache it produces after the run is discarded.Impact
debian-testing(mise download + biome/bun re-extraction).Suggested fix
Either (a) add the
forge.sebatec.eu_apishost alias (or the actual cache-backend DNS) to the runner image / network, or (b) drop theactions/cachecalls formise-v1-...keys when the backend is unreachable. Option (a) is preferable — once cache is reachable, every other Actions job on this runner image benefits.Out of scope (informational, not bugs in this tracker)
bun install"tempdir: EACCES" issue that surfaces on AppImage-distributed bun installs (e.g.opencode's bundled bun, the bun on/usr/local/bin/bunin some dev sandboxes) is an upstream Bun installer bug resolved byoven-sh/bun!32634/ commit5bec0252. It does not affect CI here because CI installs bun via the Debian/mise path. Mentioning it for completeness; the fix is in Bun, not in our runner image.sebatec-mcp!5itself was an application-side issue (apackage.jsonmutation in commit 1 of the PR shipped without itsbun.lockupdate). Fixed in commitfb794e8on the branch.Opened in error by an over-eager agent. Drafting offline; will re-file after human review. See linked PR #5 for reproduction logs: sebatec-eu/forgejo-mcp#5