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:104 debug = true (flake-parts option that adds debug/allSystems/currentSystem outputs for nix repl inspection). Stock CppNix’s nix flake check warns on any output not in its known set.
  • Ruled out the “proper” fix empirically: the DeterminateSystems schemas output is the intended mechanism, but I tested a minimal flake and stock Nix 2.32.1 warns unknown 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 so check-upstream-issues will flag it for removal if either issue lands a fix. Commit 3e51d9a.
  • Ran the scanner, which flagged BerriAI/litellm#22102 as RESOLVED / removable. Verified the close reason via gh api: state_reason: not_planned, closed by github-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-only went from “1 resolved” (exit 2) to “0 resolved”. Commit dfad0f2.

What was striking

  • check-upstream-issues --closed-only treats any closed state as removable — it can’t distinguish a fix from a not_planned stale-close. Always verify state_reason before deleting a workaround. Recorded as an auto-memory.
  • Two @upstream-issue tags can share one patch/workaround; when one closes you drop only that tag, not the patch, if a co-tag is still open.

2026-07-01 IPython Config Test Matrix in Nix Flake Checks · 2026-05-14 Upstream Issue Cleanup and Update Script