thiagowfx's avatar

¬ just serendipity 🍀 (not just serendipity)

Cursed Knowledge

Last updated

Table of Contents

Cursed knowledge learned while building software, that I wish I never knew.

Inspired by Immich’s Cursed Knowledge.


pi: fullscreen copy feedback #

2026-09-03

pi’s fullscreen TUI copies a mouse selection on release when fullscreenCopyOnSelect is enabled, which it is by default. It does show feedback: a reverse-video Copied! flash in the top-right corner for one second. There is no setting to change its position, duration, or style, so the confirmation is easy to miss.

argocd: sync windows block pruning #

2026-08-31

An AppProject allow sync window restricts every automated sync operation on the listed apps to that window, including pruning. Deleting an Application from Git makes the parent app-of-apps drop it from status.resources on its next sync, but if the child is itself windowed, ArgoCD can’t prune the now-orphaned object outside the window — the controller logs Sync prevented by sync window and leaves it in place indefinitely. The orphan then fails to render, since its Git-sourced values file is already gone, which flips its sync status to Unknown and pages on ArgoCdAppSyncUnknown. No deletionTimestamp, no stuck finalizer — the object was simply never asked to go.

kargo: promotion queues #

2026-08-20

Kargo’s NewestFreight auto-promotion policy does not make the newest promotion win. It selects the newest candidate, then creates a new Promotion for each candidate while earlier Promotions remain in a FIFO queue. Rapid Freight discovery can therefore deploy every stale intermediate version after the current Promotion finishes. No Stage or ProjectConfig setting supersedes pending Promotions. The workarounds are to disable auto-promotion or abort old Promotions manually while upstream feature request #3108 remains open.

pi: session cwd #

2026-07-29

pi’s session working directory is cursed because it’s frozen at session creation with no supported way to change it mid-run — extensions that need to redirect into a worktree resort to hacks like killing the process and replaying keystrokes via tmux. Multiple feature requests (#3921, #2992, #4423) were all closed not-planned/unsupported.