emdash/feat amp tokens day 5s9#49
Conversation
🔍 PR Analysis
Changed modules: |
323467a to
de5c0e9
Compare
🔍 PR Analysis
Changed modules: |
de5c0e9 to
1fe739a
Compare
🔍 PR Analysis
Changed modules: |
1fe739a to
81a2265
Compare
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
| base_sha="$(git rev-list --max-parents=0 HEAD)" | ||
| fi | ||
|
|
||
| mapfile -t nix_files < <(git diff --name-only "$base_sha" HEAD -- '*.nix') |
There was a problem hiding this comment.
🔴 statix CI step fails on PRs that delete .nix files
git diff --name-only "$base_sha" HEAD -- '*.nix' at line 44 includes deleted files in its output. When a PR deletes a .nix file, the filename is captured into nix_files, then the loop at line 51-53 runs statix check on a file that no longer exists on disk. Combined with set -euo pipefail at line 32, this causes the entire workflow step to fail with a non-zero exit code. The fix is to exclude deleted files, e.g. using --diff-filter=d (lowercase d excludes deletions).
| mapfile -t nix_files < <(git diff --name-only "$base_sha" HEAD -- '*.nix') | |
| mapfile -t nix_files < <(git diff --name-only --diff-filter=d "$base_sha" HEAD -- '*.nix') |
Was this helpful? React with 👍 or 👎 to provide feedback.
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
There was a problem hiding this comment.
🔴 ctrl-d fzf binding uses bare tmux instead of resolved $TMUX_BIN
The PR's intent is to resolve binary paths for minimal PATH environments (e.g., tmux display-popup). All tmux invocations in sesh-picker.sh were updated to use $TMUX_BIN, but the ctrl-d fzf bind at line 70 still uses bare tmux kill-session. The fzf execute() action runs in a subprocess with the same minimal PATH, so tmux won't be found — the kill-session command will silently fail (or error) when the user presses ctrl-d to kill a session.
Was this helpful? React with 👍 or 👎 to provide feedback.
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
6b81088 to
cace114
Compare
🔍 PR Analysis
Changed modules: |
🔍 PR Analysis
Changed modules: |
Uh oh!
There was an error while loading. Please reload this page.