2026-07-01 Flake Debug Warnings and Stale-Close Tag Cleanup
Context: Watching the update script run in a tmux pane (config:1.1) during a flake-input bump. Two nix flake check warnings caught my eye: unknown flake output 'debug' / 'allSystems'.
What I did
- Traced the warnings to
nix/flake.nix:104debug = true(flake-parts option that addsdebug/allSystems/currentSystemoutputs fornix replinspection). Stock CppNix’snix flake checkwarns on any output not in its known set. - Ruled out the “proper” fix empirically: the DeterminateSystems
schemasoutput is the intended mechanism, but I tested a minimal flake and stock Nix 2.32.1 warnsunknown flake output 'schemas'too. Flake schemas are Determinate-only. Upstream has no suppression flag (nix#6381 open since 2022, nix#13568). Ecosystem consensus (NixOS Discourse) is “live with the warning.” - Kept
debug = true, annotated it with two@upstream-issue:tags socheck-upstream-issueswill flag it for removal if either issue lands a fix. Commit3e51d9a. - Ran the scanner, which flagged BerriAI/litellm#22102 as RESOLVED / removable. Verified the close reason via
gh api:state_reason: not_planned, closed bygithub-actions[bot]— a stale-bot auto-close, not a fix. The native Responses streaming-iterator bug is still present. - Its patch (
litellm-openrouter-bridge-responses-via-chat.patch) also fixes the still-open #20975 (same root bug, same patch), so the patch stays; only the redundant #22102 tag was dropped to silence the false positive.check-upstream-issues --closed-onlywent from “1 resolved” (exit 2) to “0 resolved”. Commitdfad0f2.
What was striking
check-upstream-issues --closed-onlytreats anyclosedstate as removable — it can’t distinguish a fix from anot_plannedstale-close. Always verifystate_reasonbefore deleting a workaround. Recorded as an auto-memory.- Two
@upstream-issuetags can share one patch/workaround; when one closes you drop only that tag, not the patch, if a co-tag is still open.
Related
2026-07-01 IPython Config Test Matrix in Nix Flake Checks · 2026-05-14 Upstream Issue Cleanup and Update Script