chore: pre-tag fixes — GitHub release relay, log filter, setter contracts, importer tests #123

Merged
lerko merged 5 commits from chore/pre-tag-fixes into main 2026-06-12 19:37:18 +00:00
Owner

Four pre-v0.1.0 items from the release checklist:

  • ci(release): relay release artifacts to GitHub mirror. GoReleaser publishes to exactly one SCM (Gitea); the push mirror carries refs but not releases, so GitHub Releases — where the README install link points — stayed empty. After the Gitea release the workflow waits for the mirrored tag, then creates the matching GitHub release with the same artifacts and notes. Uses the GH_MIRROR_TOKEN secret (already configured); step self-skips if the secret is ever absent. rc tags get --prerelease.
  • fix(tui): log filter applies to the full log list, not the viewport window. The entry count showed the visible-window size and hidden lines reappeared while scrolling. Filtering and rendering now happen at content-set time from engine.GetLogs(); the view only reads stored counts.
  • docs(monitor): before-Start contract comments on SetInsecureSkipVerify / SetMaintRetention / SetAggStrategy — fields are read by checker goroutines without synchronization; main.go already complies.
  • test(importer): malformed-input coverage for Kuma backup parsing — was 0% on the migration onboarding path. Malformed-JSON table, notification config edge cases, field-mapping checks.

Lint 0 issues, full suite green with -race.

Four pre-v0.1.0 items from the release checklist: - **ci(release): relay release artifacts to GitHub mirror.** GoReleaser publishes to exactly one SCM (Gitea); the push mirror carries refs but not releases, so GitHub Releases — where the README install link points — stayed empty. After the Gitea release the workflow waits for the mirrored tag, then creates the matching GitHub release with the same artifacts and notes. Uses the `GH_MIRROR_TOKEN` secret (already configured); step self-skips if the secret is ever absent. rc tags get `--prerelease`. - **fix(tui): log filter applies to the full log list, not the viewport window.** The entry count showed the visible-window size and hidden lines reappeared while scrolling. Filtering and rendering now happen at content-set time from `engine.GetLogs()`; the view only reads stored counts. - **docs(monitor): before-Start contract comments** on `SetInsecureSkipVerify` / `SetMaintRetention` / `SetAggStrategy` — fields are read by checker goroutines without synchronization; main.go already complies. - **test(importer): malformed-input coverage for Kuma backup parsing** — was 0% on the migration onboarding path. Malformed-JSON table, notification config edge cases, field-mapping checks. Lint 0 issues, full suite green with -race.
lerko added 5 commits 2026-06-12 19:32:05 +00:00
GoReleaser publishes to exactly one SCM (Gitea); the push mirror carries
refs but not releases, so GitHub Releases — where the README points —
stayed empty. After the Gitea release, wait for the mirrored tag and
create the GitHub release with the same artifacts and notes.

Needs new Gitea secret GH_MIRROR_TOKEN (GitHub PAT with repo scope).
GITHUB_TOKEN is reserved by Gitea Actions, hence the different name.
viewLogsTab filtered logViewport.View() — the visible window — so the
entry count showed the window size and hidden lines reappeared while
scrolling. Filter and render now happen at content-set time from
engine.GetLogs(); the view only reads stored counts.
Importer parses untrusted JSON on the migration onboarding path with no
coverage. Add malformed-input table (truncated, wrong types, null
lists), notification config edge cases, and field-mapping checks.
ci(release): skip GitHub relay when GH_MIRROR_TOKEN absent
CI / test (pull_request) Successful in 1m55s
CI / lint (pull_request) Successful in 1m26s
CI / vulncheck (pull_request) Successful in 56s
6dfd56dcd4
Relay is on hold until after the rc dress rehearsal — without the
secret the step exits cleanly instead of failing the release run.
Adding the secret later enables it with no workflow change.
lerko force-pushed chore/pre-tag-fixes from d076fa6b26 to 6dfd56dcd4 2026-06-12 19:32:05 +00:00 Compare
lerko merged commit 6dfd56dcd4 into main 2026-06-12 19:37:18 +00:00
lerko deleted branch chore/pre-tag-fixes 2026-06-12 19:37:18 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#123