Skip to content

Improvements#35

Open
skoef wants to merge 12 commits into
masterfrom
claudeImprove
Open

Improvements#35
skoef wants to merge 12 commits into
masterfrom
claudeImprove

Conversation

@skoef

@skoef skoef commented Jul 17, 2026

Copy link
Copy Markdown
Owner

I have Claude work with me to improve the software a bit:

  • it spotted some bugs which were fixed
  • updated golangci-lint config and github action and fixed the surfacing linting issues
  • checked if the README.md was consistent

skoef added 12 commits July 17, 2026 10:16
The file handler was never closed after writing config file
Command output was shown as bytes instead of a string and include stderr in the output as well
strings.Fields does a better job than strings.Split
When something goes wrong closing the config file handler, return the error
Any read error on either file was treated as "files differ", so os.Rename proceeded
When the status channel was delayed for some reason, the whole actions loop would block
If every reload times out, reloadedBefore stays false forever. Every subsequent action with an identical config bypasses the "already reloaded" guard and fires another reload, which also times out, looping endlessly
and fix linting new issues that came up with it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant