Skip to content

1.0.4: no app picker or git window on Windows - #19

Merged
ilien-dev merged 1 commit into
masterfrom
feature/atomic-schema-migration
Oct 2, 2026
Merged

ilien-dev merged 1 commit into
masterfrom
feature/atomic-schema-migration

Conversation

@ilien-dev

@ilien-dev ilien-dev commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Two Windows problems, both seen on a machine running the 1.0.3 plugin.

"Select an app to open 'muninn'". session-start tested [ -x bin/muninn ]. Git Bash answers that test for muninn.exe too. So the script took the Unix branch, and its ln -s wrote ~/.local/bin/muninn as a copy with no extension. PowerShell finds that file first on PATH and hands it to Windows as a document, which opens the app picker.

The script now looks for muninn.exe first. A copy left by the old check becomes muninn.exe with the plugin mark, or is removed when a muninn.exe is already there. ci-install-smoke.sh now checks the names exactly and fails on an extensionless muninn.

I ran the fixed script against a scratch MUNINN_BIN_DIR in four starting states:

before after
empty muninn.exe, muninn.plugin
muninn only muninn.exe, muninn.plugin
muninn and muninn.exe muninn.exe
hand-installed muninn.exe muninn.exe, untouched

On the affected machine Get-Command muninn -All now lists only .exe paths.

A git.exe console window. The background maintain started with DETACHED_PROCESS. With no console of its own, every git it ran got a visible one. It now starts with CREATE_NO_WINDOW | CREATE_NEW_PROCESS_GROUP.

Version 1.0.4, with a CHANGELOG entry.

Locally on Windows the fmt check, clippy with -D warnings, the workspace tests and scripts/ci-install-smoke.sh pass. perf --strict did not run here because it looks for target/release/muninn without .exe. The fault test was not run.

session-start tested `[ -x bin/muninn ]`, which Git Bash also answers for
muninn.exe, so it took the Unix branch and its `ln -s` copied the binary
to ~/.local/bin/muninn with no extension. PowerShell finds that file first
on PATH and asks Windows which app opens it. The script now looks for
muninn.exe first and turns a copy left by the old check into muninn.exe,
or removes it when one is already there. The install smoke test checks the
names exactly.

The background maintain started with DETACHED_PROCESS, so every git it ran
opened its own console window. It now starts with CREATE_NO_WINDOW.

Claude-Session: https://claude.ai/code/session_01Nb2ALSEZmiaV3CZhmidzij
@ilien-dev
ilien-dev merged commit 91ff320 into master Oct 2, 2026
8 checks passed
@ilien-dev
ilien-dev deleted the feature/atomic-schema-migration branch October 2, 2026 16:45
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant