Repository navigation
feat: scheduled warmup, timezone, and TUI Settings tab - #80
Merged
Merged
Conversation
When auto_warmup is on and warmup_times is set, cache refresh only updates usage and a dedicated ~60s timer warms the latest overdue slot today. Empty times keep cache-refresh warmup. last_warmup_slot survives daemon restarts. Co-authored-by: lolitaupdate <[email protected]>
Tab cycles Accounts, Providers, and Settings. The form covers every product-owned key including warmup_times; s saves (Accounts s still sorts). Comments, rustdoc, and in-repo explanations stay English. Co-authored-by: lolitaupdate <[email protected]>
Empty daemon.timezone keeps process-local time; a named zone such as Asia/Shanghai pins slot due-detection and last_warmup_slot stamps. Add a live daemon trigger test and a Linux install unit-file test. Co-authored-by: lolitaupdate <[email protected]>
macOS clippy -D warnings treated the Linux-only install helpers as dead code because the test that uses them is cfg(target_os = "linux"). Co-authored-by: lolitaupdate <[email protected]>
Tab no longer leaves Settings while a field is being typed, and returning to the tab reloads from disk only when the form is clean. Editing a warmup slot keeps focus on the new HH:MM after sort. Tests walk every owned config key through save. Co-authored-by: lolitaupdate <[email protected]>
Accept a comma/space-separated HH:MM list on add or edit, keep focus on the add row after insert, always show the slot list, and warn immediately when two slots are less than five hours apart. Co-authored-by: lolitaupdate <[email protected]>
Drop the 5-hour gap warning. Users pick any HH:MM list; config load and the Settings form keep at most 10 times after sort. The add row hides when the list is full. Co-authored-by: lolitaupdate <[email protected]>
Allocate today's rolling-dev base so CI can inject 20260827.1.0-dev. Co-authored-by: lolitaupdate <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Timed daemon warmup plus a TUI Settings tab that can edit the full
codex-switchconfig.toml. Rolling-dev base is20260827.1.0(20260827.1.0-devafter CI injects-dev).Warmup contract
[daemon] auto_warmupis the master switch. TUIWstays a session toggle.auto_warmup = false: slots ignoredauto_warmup = trueandwarmup_timesempty: warm during cache refreshauto_warmup = trueand times set: cache refresh only updates usage; warmup runs atHH:MMslots (at most 10, spacing unrestricted)daemon.timezoneis an IANA name such asAsia/ShanghaiorUTC. Empty uses the process local timezone.Settings tab
Tabcycles Accounts → Providers → Settings.ssaves. Unsaved edits are kept when leaving the tab.warmup_timesaccepts a comma-separated list; the add row hides at 10 slots.Notes
Merge target is
dev. Do not mergemaster. Do not create av*stable tag. Move rolling tagdevonly afterCI.ymlis green on the published SHA.