Skip to content
This repository was archived by the owner on Apr 13, 2026. It is now read-only.

feat: wire UpdateForced mode with updatewire package#16

Merged
moneycaringcoder merged 1 commit intomainfrom
feat/v0.7.2-update-hardening
Apr 9, 2026
Merged

feat: wire UpdateForced mode with updatewire package#16
moneycaringcoder merged 1 commit intomainfrom
feat/v0.7.2-update-hardening

Conversation

@moneycaringcoder
Copy link
Copy Markdown
Owner

Summary

  • Extract UpdateConfig construction into internal/updatewire so the update pipeline is testable against updatetest.NewMockServer without the full TUI
  • Switch update mode from UpdateNotify to UpdateForced so releases carrying a minimum_version: marker promote the full-screen update gate
  • Add internal/updatewire/updatewire_test.go covering newer/current/skipped/disabled paths via the mock server
  • Add 2 .tuisess regression suites under testdata/sessions/ (repo_feed, type_filter) with matching record/replay tests

Test plan

  • go vet ./...
  • go build ./...
  • go test ./...
  • No replace directives in go.mod

- Extract tuikit UpdateConfig construction into internal/updatewire
  so the update pipeline is testable against updatetest.NewMockServer
  without spinning up the full TUI.
- Switch update mode from UpdateNotify to UpdateForced so release
  notes carrying a minimum_version marker promote the update gate.
- Add internal/updatewire/updatewire_test.go covering the newer/
  current/skipped/disabled paths via the mock server.
- Add testdata/sessions/repo_feed.tuisess and type_filter.tuisess
  with matching session record/replay tests in internal/ui.
@moneycaringcoder moneycaringcoder merged commit d1f21f8 into main Apr 9, 2026
1 check passed
@moneycaringcoder moneycaringcoder deleted the feat/v0.7.2-update-hardening branch April 9, 2026 14:48
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