A running reims-ctl create looks the same as a killed one: it is unregistered and has no vm.toml until it ends. Cloning or creating through the driver no longer deletes such a directory. Also drop a wrapper only tests called.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The older start path cannot resume a snapshot, so it now refuses to start a
VM that still holds a recoverable one instead of cold-starting over it. Say
so in the change entry and at the guard, where the reason stays next to the
code.
Complete the merge with main so the suspend probe and the cold-start
probe resolve the same socket, and keep the architecture tests honest
after the atomicfile refactor moved the suspend commit's os.Rename into
the platform file-operation helpers.
- startprep: query the VM status through qmp.SocketPathForVM instead of
the VM-directory socket, so long-path VMs stop failing the probe.
- qmp: drop the uncalled QueryStatusVM wrapper; QueryStatusAt is the one
product entry, and its test now exercises it directly.
- archtest: list the two suspend_fileops files as the rename owners that
suspend_transaction.go handed its os.Rename calls to.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A cache entry cannot be overwritten, so the fixed key restored the same old
snapshot on every later run and no progress made after it survived. Save each
run under its own key and restore the newest one, and cache the OCR session
records only: the checkout is rebuilt from scratch every run, which is what
keeps files the new head deleted out of the review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review switch read the previous-review record before it was fetched, so
every automatic review would have thrown before publishing anything.
Also fixed: a reused checkout now drops files the new head deleted; the round
loop merges every round's findings instead of keeping only the last; the
session cleanup honours its keep switch and leaves other files alone; the state
cache keeps one entry per pull request instead of one per run; and the job
timeout covers all three review rounds.
A resumed review still keeps its full budget.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenCodeReview settles files one by one and records each verdict, but the
workflow deleted every session when the job ended, so a review that ran out of
its token budget had to buy the same files again next time. A large pull
request could never finish.
Keep the session records and the checkout between runs, continue a same-range
review up to two extra rounds, and resume from the last incomplete review of
this very revision. A new push still reviews its own range, and an incomplete
review never anchors an incremental one: that would leave its unfinished files
unreviewed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preserve plugin navigation and generate the runtime warning messages. Read startup overrides using the canonical VM settings key and keep set_env action order.
The old repository name only worked through a GitHub redirect. One variable
also moved both the runtime and the app update source; the runtime now has
its own, REIMS_GO_RUNTIME_RELEASES_REPO.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The host never played these files. A theme with an interactive script can
play its own sounds, so a second way is not needed. Old manifests still load
and get the usual notice about a field the host does not know.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The theme engine and the interactive UI SDK imported each other's types; the
SDK now owns the types of its own interface.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Appearance, VM busy state, the in-app update, file drops and the theme event
stream are now hooks in lib/. VMAction moved to types.ts, so the VM page and
its parts no longer import each other, and error toasts have one builder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A resize while the options were disabled cleared the highlight, and enabling
them again did not bring it back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
VMPage was one 1587-line component. Restore points, SSH access, host DNS,
endpoints, the install card, notices, the summary and the technical details
now have their own files, and both ellipsis menus share one ActionMenu.
Remove the borderless toggle and the runtime-kind listing, which no part of
the window used. The binding test no longer counts a binding's type
declaration in wails.ts as a caller.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The modal held the state of seven independent features next to the staged
settings form. Each feature now has its own file with a hook for its state
and the rows that show it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
App.tsx imported a one-line helper from SchemaForm, which pulled both text
domains into the startup bundle. The i18n test now follows the real import
graph instead of a hand-kept file list, so it catches this. npm test runs
every test file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app and the command line each had their own copy of the language pack
merge order. The locale code now has its own file. The package scan is split
by what it checks, and a new test limits how long one function may get.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Some lines used the bare VM name as their source, so the log lines reported
with a failed command-line start left them out. Disk tasks also kept the
VM name in their step text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The poll loop was one 290-line function that did everything that follows the
VM list. Its steps are now separate and recording a listing has a test. The
install guide part moved next to the rest of the guide code. Running process
IDs and capabilities are read through one method each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each subcommand is its own function. Opening the lifecycle service, parsing
a VM target, printing JSON and reading the UI contract had many copies and
now have one. The vm usage line also lists delete, resize and compact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Registering, listing and counting contributions each had one copy per
contribution kind, and so did overriding their text from language packs.
One generic helper now covers each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every VM action had two bindings: one by name and one by driver and name.
The window used only the second, so the first is gone and the WithDriver
suffix with it. Unused bindings and frontend exports are removed too.
Tests now reject bindings the window never calls, stale generated
bindings and unused frontend exports. TypeScript rejects unused locals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Events to the frontend go through App.emit, and a test keeps their names
in step with wails.ts. QEMU argument splitting, hidden console processes,
the macOS release record, the running check and a few smaller helpers
now exist once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>