Skip to content

refactor: make state invariants explicit - #335

Merged
devmobasa merged 1 commit into
mainfrom
refactor/encode-required-invariants
Aug 13, 2026
Merged

refactor: make state invariants explicit#335
devmobasa merged 1 commit into
mainfrom
refactor/encode-required-invariants

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Summary

Several paths encoded invariants through separate Option checks followed by another lookup, unwrap, or fallback. This refactor makes those guarantees explicit. No user-facing behavior changes are intended.

  • consume owned async and runtime state once
  • add required toolbar accessors for guaranteed events, values, segments, steps, and glyphs
  • centralize paired GTK popover surfaces, overlay defaults, and performance metadata mappings
  • simplify session payload limits, toast preemption, and toolbar persistence routing
  • add regression coverage for config mappings, overlay defaults, toolbar glyphs, and visibility persistence

@devmobasa
devmobasa merged commit 129d05b into main Aug 13, 2026
2 checks passed
@devmobasa
devmobasa deleted the refactor/encode-required-invariants branch August 13, 2026 07:09
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