[GH-ISSUE #57] v0.7.9.1 Binary panics on startup - registry overwritten by 404 HTML during CI build #31

Closed
opened 2026-03-04 23:13:34 +03:00 by kerem · 2 comments
Owner

Originally created by @smanlin on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/57

The pre-compiled binaries in the latest release are experiencing a startup panic:
panic: invalid character '<' looking for beginning of value

Analysis

The issue is caused by the automated build process:

  1. The go generate command in the build workflow triggers curl to fetch registry files from external URLs.
  2. Since these URLs currently return a 404 HTML error page, the valid JSON files are being overwritten by HTML content during the CI build process.
  3. The JSON parser then fails when the application initializes because it encounters the < character from the HTML.

To ensure stable release builds, please consider:

  • Removing or commenting out the //go:generate lines in the source files (eum-registry.go and ci-registry.go).
  • This will prevent the build artifacts from being corrupted when upstream URLs are down.
Originally created by @smanlin on GitHub (Feb 24, 2026). Original GitHub issue: https://github.com/creamlike1024/EasyLPAC/issues/57 The pre-compiled binaries in the latest release are experiencing a startup panic: `panic: invalid character '<' looking for beginning of value` ### Analysis The issue is caused by the automated build process: 1. The `go generate` command in the build workflow triggers `curl` to fetch registry files from external URLs. 2. Since these URLs currently return a 404 HTML error page, the valid JSON files are being overwritten by HTML content during the CI build process. 3. The JSON parser then fails when the application initializes because it encounters the `<` character from the HTML. ### Recommended Fix To ensure stable release builds, please consider: - Removing or commenting out the `//go:generate` lines in the source files (eum-registry.go and ci-registry.go). - This will prevent the build artifacts from being corrupted when upstream URLs are down.
kerem closed this issue 2026-03-04 23:13:35 +03:00
Author
Owner

@creamlike1024 commented on GitHub (Feb 27, 2026):

try 0.7.9.2

<!-- gh-comment-id:3973800074 --> @creamlike1024 commented on GitHub (Feb 27, 2026): try [0.7.9.2](https://github.com/creamlike1024/EasyLPAC/releases/tag/0.7.9.2)
Author
Owner

@smanlin commented on GitHub (Feb 27, 2026):

Great!

<!-- gh-comment-id:3974030735 --> @smanlin commented on GitHub (Feb 27, 2026): Great!
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/EasyLPAC#31
No description provided.