Commit Graph

12243 Commits

Author SHA1 Message Date
Zach Clendenen
4e327fd72e simplify(pr-ready step 3): cut the clears_stale_saves comments to the why
Each of them had grown a paragraph explaining where the broker flag lives
and when to reach for it, which the config example already covers.
2026-09-15 23:33:39 -05:00
Zach Clendenen
9cef7f2f29 review(pr-ready step 2): pool on the picker capability, not the raw flag
Two legacy broker containers serving the same emulator stopped pooling when
one carried a clears_stale_saves the resolver had just logged as having no
effect. Comparing supports_save_picker folds in the webstation gate, so it
is the same test for a webstation pair and inert for the rest.
2026-09-15 23:31:52 -05:00
Zach Clendenen
d097dfbff7 fix(streaming): date the save picker by the timestamp it sorts on
The picker sorts on created_at to match the order the backend restores
in, while every timestamp its rows and preview rendered was updated_at,
which a content-hash rewrite moves without touching the save. An archive
created at 10:00 and rewritten at 12:00 sorted below one created at 11:00
and never touched, so the tile a player read as newest sat second in a
list advertised as newest-first.

AssetList and AssetPreview take a `timestamp` prop naming which of the
two to render, defaulting to updated_at so the Save data subtab and the
EmulatorJS player keep dating rows by the field they are ordered on. The
launch screen's save picker asks for created_at, the field it sorts on.
2026-09-15 23:22:27 -05:00
Zach Clendenen
5e217c7f64 feat(streaming): let an operator declare whether their broker clears saves
The save picker was gated on a hardcoded set of emulators mirroring the
webstation broker's `clears_stale_saves`, a value that lives in another
repo. A broker release that turns it on for a new emulator needed a RomM
code change before the picker appeared, and an operator on a fork or a
newer broker could not turn it on at all. The other direction was worse
because it was silent: if the broker stopped clearing, the pick still
validated, the archive still uploaded, and the container's own newer
files overwrote it with no error anywhere.

`clears_stale_saves` now joins `memory_card_sync` in
PLATFORM_OVERRIDE_KEYS, resolved per container in `_resolve_one`, which
leaves the emulator table as the default rather than the authority. It
also joins the pool-interchangeability check, since the picker is
advertised from the head of the pool and a member that keeps its own
files would take the pick and discard it.
2026-09-15 23:22:27 -05:00
Zach Clendenen
14f847dc57 Merge remote-tracking branch 'upstream/master' into pr-ready-851cea
# Conflicts:
#	frontend/src/v2/views/Player/Stream.vue
2026-09-15 17:29:00 -05:00
Zurdi
b88ca08142 Merge pull request #4517 from rommapp/fix/ejs-save-slots
fix(player): boot from the picked save and file web saves under sync slots
2026-09-16 00:13:06 +02:00
Zach Clendenen
f58a7ad7e0 polish(pr-ready step 4): trim the comments and name the resolve helper for its answer
Cut the docstrings and comments this branch added down to the one non-obvious
fact each, in the resolver and in the tests alike, and rename the new helper to
_claimable_broker_host so it says what it returns next to _derive_broker_host.
2026-09-15 17:09:59 -05:00
zurdi
a81cbc2f59 ci: fetch the base branch with history in the v1 freeze check
The shallow fetch left origin/<base> without a merge base against the
PR head whenever the base branch had moved on, so the check died with
"no merge base" before it could evaluate the diff or the bypass label.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-16 00:05:37 +02:00
Zach Clendenen
1b3caebabf simplify(pr-ready step 3): flatten the container resolve and compare protocols by name
Move the three ways a raw entry fails to resolve into one helper with a guard
clause each, so none of them has to unset a broker host a sibling branch set.

The subfolder match moves onto WebstationProtocol, next to the normalization it
has to agree with, and interchangeable_with compares protocol names, the
discriminator the record already uses elsewhere.
2026-09-15 17:05:08 -05:00
Zach Clendenen
9a4b644c01 review(pr-ready step 2): let a player reclaim their own stale container
The holder gate added with the pool ran before the stale-takeover walk, so a
player whose tab crashed was refused their own container until its TTL lapsed.
Block only on a live holder, and when the holder's own session is stale narrow
the candidates to that container so the existing takeover path reclaims it.

Also widen the proxy path check to compare the host's URL path, so a container
on another origin mounted at a path that disagrees with its subfolder is
refused the same way a bare path already was.
2026-09-15 16:57:37 -05:00
zurdi
2c02a33057 Merge remote-tracking branch 'origin/master' into fix/ejs-save-slots 2026-09-15 23:57:30 +02:00
Georges-Antoine Assi
1946b7ae01 Merge pull request #4514 from rommapp/claude/app-cleanup-opportunities-egcee9
refactor(frontend): native fullscreen where it exists, one path for all players
2026-09-15 17:12:07 -04:00
zurdi
fbdbab7d28 fix(player): drop stale writes around a save load and clean evicted screenshots (review round 2)
Writes that start while a save load is in flight are dropped, since the
bytes they read predate the load, and forced writes capture the write
generation before waiting on the queue so a load that lands meanwhile
voids them. The tracker clears its boot baseline after the first upload
so a return to those bytes still syncs, and a forced write is skipped
only when the SRAM matches a slotted save loaded from the server, so a
slot-less legacy save still reaches the slot on an unchanged Save &
Quit. Autocleanup removes an evicted save's screenshot row and file
through the same helper the delete endpoint uses. The launch screen's
save list grows with the page outside viewport-fit mode instead of
nesting a second scrollbar.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-15 21:05:51 +02:00
Zach Clendenen
df6ded2786 fix(streaming): refuse a proxied container whose host and subfolder disagree
A same-origin entry sends the browser to `host`, but activate answers with
the room URL the broker built from its own SUBFOLDER, and that is an
absolute path, so urljoin lets it replace the path `host` carries. The two
values are therefore not independent: both have to be the container's own
SUBFOLDER.

Get them wrong and nothing complains. A container mounted at /streaming-2
while declaring /streaming resolves, claims its own key, and hands the
player a URL the proxy routes to whoever owns /streaming: a different
container, mid-session, with no trace of it in either log. The likeliest
way in is a second pool member proxied at its own path with `subfolder`
left to its default.

Resolve the entry, log it, and clear broker_host so it cannot be claimed,
matching how the other unusable configurations are handled. It stays in
the fleet view, where the operator can see what is wrong with it. A full
URL `host` is untouched; it carries an origin of its own for that absolute
path to land on, so there the two are free to differ.
2026-09-15 13:30:34 -05:00
Zach Clendenen
32264a11d8 fix(streaming): stop a pool from rolling its own holder onto a second container
Rolling over to the next free container is for the players who did not get
one. The holder claiming again should still be refused, and a single
container refused it for free by failing SET NX on its only key, so the
pool path never had to say it out loud.

A second session for the same user is one nothing can reach. Status,
heartbeat, release and save-and-exit all resolve through
find_session_for_user, which answers with the first match, so the later
session holds a pool slot until its TTL lapses and under whole-card sync
both halves mount the one card resolve_card picks per (user, emulator),
leaving the later release on top of the earlier one's writes.

Check for a held session across the candidate pool before trying any key
and answer 409 with the rom the user is already in.

The pool tests that filled several containers from one token now use a
distinct user per container, which is what they were describing anyway.
2026-09-15 13:30:18 -05:00
zurdi
e7476c150e fix(player): persist state-restored SRAM and match screenshot stems (review round 1)
The save tracker now keeps a baseline separate from the bytes the server
holds: SRAM restored by a state or a fresh boot makes the periodic tick
wait for a change, but a forced write still opens the slot version since
nothing was uploaded yet. Forced writes skip only when no version exists
and the SRAM still matches the loaded save. A slotted upload names the
screenshot after the tagged save whatever the client called it, so
Save.screenshot matches by stem. Slot select values are namespaced so
the "new slot" entry cannot collide with a user-named slot, the info and
clear buttons get a 44px hit area, and the asset wrapper only scrolls in
viewport-fit mode.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-15 20:21:55 +02:00
zurdi
bf33b07abd feat(player): warn when the armed state is older than the latest save
The newest compatible state is still armed by default, but when a save
postdates it the resume panel shows a warning with a one-click "Boot
from save" action, so a handheld's newer in-game progress is not
silently rolled back by an older browser state. The save preview row
also shows the save's own screenshot when it has one.

Closes #4278

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-15 20:07:43 +02:00
Georges-Antoine Assi
03ecdee7ee Merge pull request #4510 from rommapp/claude/centered-recommendation-line-r7gs1z
fix(frontend-v2): center the recommendation caption under the card
2026-09-15 13:54:11 -04:00
Zach Clendenen
50027b64ed fix(streaming): pool same-origin webstation containers across subfolders
interchangeable_with() compared protocol by instance identity, and
WebstationProtocol is interned per exact subfolder — so two containers
proxied at different subfolders, the normal way to run a same-origin
pool, were never recognized as pool members. Compare by type instead;
capabilities are class-level constants, so type equality is what
"same shape" actually means.
2026-09-15 12:49:08 -05:00
zurdi
3e63a47a9f Merge remote-tracking branch 'origin/master' into fix/ejs-save-slots 2026-09-15 19:47:47 +02:00
zurdi
f45d79d10c refactor(player): simplify save write path and slot plumbing (simplify pass)
Seed the save tracker once per boot and from the bytes just loaded
instead of re-reading the SRAM, fold the "wait for the queue, skip
unchanged bytes" sequence into one helper used by both forced writes,
and upload the state and the save in parallel on Save & Quit. The
loaded save is a plain variable, the slot fallback lives in one place,
the selection id derives from the selected asset, and the byte compare
is a plain loop.

The viewport-fit layout drives AssetList's own scrollable prop from the
lg-and-up and tall breakpoints instead of a CSS custom property, and
the fit selectors drop the redundant root modifier. The slot length is
validated by the upload endpoint from a limit on the model, and the
datetime tag helper takes its timestamp explicitly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-15 19:28:00 +02:00
zurdi
67f065ab6c fix(player): serialize save writes and align slot uploads (code-review pass)
Save writes from the periodic tick, the in-game Save button and Save &
Quit now run through one chain, so two first writes cannot both open a
version; loading a save bumps a generation that voids in-flight writes,
and byte-identical uploads are skipped since a slotted upload bypasses
the backend dedupe. Slotted uploads let the backend stamp the timestamp
and tag the screenshot with the same one, so save and screenshot match
by stem again, and a session version opened without a screenshot can
still receive one on update.

A slot-less save is no longer kept as a write target when a state is
armed, slot names are compared exactly like the backend does, the custom
slot field is capped at the column length, and an empty-string slot no
longer collides with the "new slot" sentinel. The viewport-fit layout
uses a new `tall` breakpoint token gated on `lg-and-up`, gives the hero
column a scroll fallback, and lets AssetList keep its own scroll cap via
a custom property. The slot info icon becomes a tappable button so the
tooltip also opens on touch.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXrMndq8eYexafm6nhajLo
2026-09-15 19:12:22 +02:00
Georges-Antoine Assi
4a1883e3af Merge pull request #4507 from LoneAngelFayt/streaming-patches
feat(streaming): let the launch screen pick which save to restore
2026-09-15 12:59:22 -04:00
Georges-Antoine Assi
6bd6ef5c23 test(streaming): drop the flaky slow-launch claim refresh test
The test shrinks the claim refresh and staleness windows to 0.05s and 0.2s and
races them against a 0.5s activate, so whether the refresh lands before the
read depends on scheduling. It passed and failed in alternating runs on an
unchanged tree.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 12:23:05 -04:00
Sam Dornan
03b8a02fdc style(frontend): sort the fallback import into place
trunk_check failed on three player views. Renaming the module specifier
to useFullscreenFallback changed where it sorts, but the import stayed
where the old name belonged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 16:19:25 +00:00
zurdi
4a8d530ce1 fix(player): boot from the picked save and file web saves under sync slots
Picking a save on the v2 EmulatorJS launch screen never disarmed the
auto-selected newest state, and the player loads a state in preference
to a save, so the pick was ignored whenever any state existed. Selection
rules now live in a pure module: a picked save disarms the state, a
picked state keeps the bound save as the write-back target.

Web saves now follow the sync clients' slot model. New saves go to the
"autosave" slot (capped history) or the slot picked on the launch
screen; a save that already has a slot keeps it; a legacy slot-less save
stays as an archive and its progress moves to the picked slot. Each
session opens one new version in the slot and updates it on later
writes, so periodic sync does not churn the history.

The launch screen gains a slot selector with an info tooltip, the save
preview collapses to a compact row so the list gets the height, the
pre-game screen fits the viewport on desktop with only the asset list
scrolling, and the slot chip drops its redundant label.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 18:14:53 +02:00
Sam Dornan
68fee9dce5 fix(frontend): exit the fullscreen fallback when its element leaves the document
PlayerShell renders the stage in a v-else on `running`, so releaseGame
unmounts it while the view stays mounted. The fallback held that element
in a closure and only cleared it on exit, leaving document.fullscreenElement
and the legacy alias pointing at a detached node, with no fullscreenchange
to correct vueuse's state.

The real API exits when its element is removed, so the fallback now does
too, watching only while it holds an element. That keeps the fix in the
polyfill rather than asking every caller to clear fullscreen before it
tears its stage down.

Moves useFullscreenFallback to its own module: v2 composables are one
named export per composables/useFoo/index.ts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 16:11:12 +00:00
Georges-Antoine Assi
c0001bd27d style(streaming): trim the save-picker comments and the emulator compare
review-polish pass over the save-picker change.

Two comments carried more prose than the rule allows. The emulator comparison
re-normalized a value ResolvedContainer already lowercases at resolve time,
which the sibling state resolver relies on, so it now reads the same way.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 12:09:45 -04:00
Sam Dornan
2be9eb4aea fix(frontend): report a failed fullscreen exit instead of swallowing it
Entry and exit failures are not the same. A rejected request is a denial
and the stage just stays windowed, but callers exit before opening a
body-teleported dialog, so a failed exit leaves that dialog painted over
by the stage with nothing said. The shared wrapper discarded both.

Uses console.error rather than the console.warn this replaced, which v2
does not allow to ship.

Also drops indexdb-monitor.ts from the frontend architecture doc's source
tree, which still listed the deleted file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 16:05:55 +00:00
Georges-Antoine Assi
1c5255df1f refactor(streaming): resolve the picked save once and list it like a save
simplify pass over the save-picker change.

The claim validated the pick, dropped the resolved row and passed the bare id
down two layers, where hydration fetched and re-checked the same save. It now
carries the row the way the resume state and the memory card already are, so
the restorability rule has one home and the claim one lookup.

The picker holds the picked id rather than the row, so an id that is no longer
on offer falls back to the newest by construction instead of through a watch,
and the list of archives uses AssetList, the variant meant for saves, rather
than the tile strip whose thumbnail area a save never fills.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 11:58:59 -04:00
Sam Dornan
ba0d861c49 polish(frontend): trim fullscreen comments, give the fallback attribute one home
Comments cut to the repo's two-line limit, and the fallback's background
keeps a `black` fallback value so it does not depend on the `.r-v2` token
scope being present, as the v1 shim's literal did not.

The attribute name was written three times across the stylesheet and the
enter/exit pair, where a rename in one would silently stop the CSS
matching.

Verified the fallback in Chromium: it stands aside where the native API
exists, and where it does not the stage computes to position fixed,
z-index 99999, filling the viewport, opaque in both themes and with no
token scope, reverting to static on exit and leaving the prototype clean
on dispose.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 15:57:25 +00:00
Zurdi
5294bd61b5 Merge pull request #4516 from rommapp/fix/metadata-provider-card-review
fix(v2): address review findings on the shared metadata provider card
2026-09-15 17:48:37 +02:00
zurdi15
b764db9f8a fix(v2): address review findings on the shared metadata provider card
Follow-up to #4515, merged before its review landed:

- Mark the card logo decorative (empty alt); the provider name sits
  next to it and screen readers announced each provider twice.
- Add a name-tag prop so the scan reference dialog renders provider
  names as h4 again, keeping heading navigation.
- Restore the ul/li provider collection in the setup wizard so screen
  readers keep list semantics.
- Finish the Flashpoint label normalization in the GameDetails
  provider registry and the heartbeat store scan options; the
  remaining copies live in frozen v1 files.
- Replace raw hex colors in the story's placeholder logo URLs with
  CSS color names.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-15 17:43:19 +02:00
Sam Dornan
a6e267e63a refactor(frontend): split the fullscreen fallback out of the player controller
usePlayerFullscreen took an optional target so three library-driven
players could call it bare, purely to install the prototype patch, and
throw the controller away. That discarded controller was not free:
vueuse defaults the target to documentElement and still registers its
fullscreenchange listeners on both it and document.

Split the side effect into useFullscreenFallback and make the target
required. The three call sites now say what they mean without a comment
apologising for an unused return value.

Refcount the install. The patch is process-global while its callers are
scoped, so overlapping consumers would otherwise stack private patch
layers and restore them in teardown order. Probing HTMLElement.prototype
rather than Element.prototype lets an installed fallback see itself.

Drops v2's writes to playing.fullScreen, which no longer had a reader in
either tree. The field stays because v1 still destructures it.

Also: hoist swallow to module scope, annotate the return inline rather
than exporting an unused interface mirroring vueuse's shape, cover the
document.fullScreen alias at the layer that defines it, dispose test
fallbacks in afterEach so a failed assertion cannot leak a patched
document into the next test, and drop test cases that re-covered the
util through the composable.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 15:40:29 +00:00
Georges-Antoine Assi
73b7725686 fix(streaming): report only the saves the broker can restore
code-review pass over the save-picker change.

The launch screen listed every save this emulator wrote, but the broker only
restores .zip archives, so a bare save file could be named as the one about to
be restored while a much older archive actually went up. One restorable list
now feeds the panel, the tab and the picker alike.

A claim that carries a pick looks the save up by id instead of loading every
save on the ROM to scan for it, and the emulator comparison normalizes both
sides so a config value that is not already lowercase cannot silently match
nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 11:39:46 -04:00
Zurdi
52483fb0f9 Merge pull request #4515 from rommapp/refactor/metadata-provider-card
refactor(v2): unify metadata provider cards behind a shared component
2026-09-15 17:31:28 +02:00
Sam Dornan
c779765f45 refactor(frontend): use native fullscreen where it exists, fall back only where it does not
The fallback that emulates the Fullscreen API gated on a user-agent
sniff for iOS. Both branches of that check also match iPad, where the
API genuinely works behind the webkit prefix, so the fallback was
replacing a working native implementation with a fixed-position div:
iPad players lost real fullscreen and kept the browser chrome.

Gate on capability instead. iPhone has no element fullscreen at all
(caniuse note 5, still current for iOS 27), iPad has the prefixed API,
everything else has the standard one, so probing Element.prototype puts
each platform on the best implementation it has and retires the fallback
by itself if iPhone ever ships the real thing.

Centralise the rest behind usePlayerFullscreen. Fullscreen was reaching
the five players five different ways, and the fallback was installed by
only one of them, so the shared "start in fullscreen" toggle did nothing
on iPhone in the other four. The composable installs the fallback for
the scope and wraps vueuse's useFullscreen, which brings the webkit
prefix handling that Stream's hand-rolled version lacked. Players whose
library drives fullscreen itself call it without a target: the fallback
patches the same prototype the library reaches for.

The fallback also has to expose document.fullScreen. It is the
deprecated alias support probes read to decide the API is usable, and
without it vueuse treats the polyfilled API as unsupported and enter()
silently does nothing.

Drops playing.setFullScreen, which had no callers. The fullScreen state
it wrote is still referenced by v1 and cannot go until that tree does.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 15:28:16 +00:00
zurdi15
4990904485 refactor(v2): unify metadata provider cards behind a shared component
The settings tiles, setup wizard step and scan reference dialog each
hand-rolled their own provider card markup and duplicated the provider
display data (names, logos, links, locale keys) three times. The
LaunchBox and Flashpoint tiles in the settings grid also showed a gap
under the footer: the tile was not a flex column, so a card stretched
by a taller sibling in its grid row left the spare space below the
footer instead of above it.

- Add the MetadataProviderCard shared composite with tile and row
  layouts, status chip, setup/caveat pills, and #description /
  #actions slots, plus a Storybook story covering both layouts.
- Add the METADATA_PROVIDER_INFO registry as the single home for
  provider display data; all three surfaces derive from it. This
  normalizes "Flashpoint Archive" -> "Flashpoint" and
  "How Long To Beat" -> "HowLongToBeat".
- Pin the tile footer to the card's bottom edge, fixing the gap.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-15 17:24:29 +02:00
Georges-Antoine Assi
20d44b3bee Merge remote-tracking branch 'origin/master' into streaming-patches
# Conflicts:
#	backend/handler/streaming/states.py
2026-09-15 11:23:42 -04:00
Sam Dornan
d49194f11f fix(frontend): drop the v1 deprecation note to satisfy the freeze check
CI's check-v1-frozen fails any diff touching
frontend/src/{views,components,console,layouts} without the
allow-v1-changes label, which is reserved for sanctioned critical bug
fixes. A deprecation comment is not one, so the annotation comes out
rather than bypassing the guard. The divergence is documented on the v2
fork instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 14:39:16 +00:00
Sam Dornan
352a2d4805 refactor(frontend): fork the iOS fullscreen shim into v2, drop dead util
v2's EmulatorJS player reached into the frozen v1 tree for
installIOSFullscreenShim. The v1 implementation hides app chrome via
Vuetify selectors (.v-app-bar, .v-bottom-navigation, .v-navigation-drawer),
which match nothing in v2: that UI uses no Vuetify, and the player already
unmounts AppNav/BottomNav through useStageActive. The nav-hiding half was
silently inert on iOS in v2.

Fork the shim to src/v2/utils/playerFullscreen.ts with the nav handling
dropped and the hardcoded black swapped for --r-color-canvas-bg, per the
v2 zero-hex-literal policy. The v1 export is marked @deprecated rather
than changed, as the v2 constitution prescribes for coexistence forks.
Adds the test coverage the shim never had.

Also removes src/utils/indexdb-monitor.ts, which has had no importer in
either UI.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Uo885XxwhN8wfC4oCtR48
2026-09-15 14:37:34 +00:00
Georges-Antoine Assi
d053767e68 Merge pull request #4469 from rommapp/claude/bump-uv-0.12.13
chore(uv): bump to 0.12.13 and make pyproject the single source for the version
2026-09-15 09:51:55 -04:00
Georges-Antoine Assi
c5071c3b42 chore(uv): trim the required-version comment to one line
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 09:45:49 -04:00
Georges-Antoine Assi
3bafae8286 Merge remote-tracking branch 'origin/master' into claude/bump-uv-0.12.13
# Conflicts:
#	docker/Dockerfile
2026-09-15 09:30:31 -04:00
Georges-Antoine Assi
827aef4221 Merge pull request #4490 from rommapp/fix/trigger-ddl-privilege-guard-3932
fix(migrations): name the fix when the server denies trigger DDL
2026-09-15 09:25:37 -04:00
Georges-Antoine Assi
78ba4c4721 fix(migrations): give the trigger-DDL probe a name no schema can hold
Trigger names are schema-wide, so the fixed probe name could name an
operator's own trigger, and DROP TRIGGER IF EXISTS would really remove it.
A fresh uuid per call makes the statement a guaranteed no-op, so the only
error it can raise is the refusal it is looking for.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 09:20:54 -04:00
Georges-Antoine Assi
d74d6b27a5 Merge pull request #4480 from rommapp/claude/stale-scan-stats-meta
fix(tasks): fill the scan counters a job's stored stats predate
2026-09-15 08:36:25 -04:00
Georges-Antoine Assi
a0aba1f51d Merge pull request #4478 from LoneAngelFayt/feat/streaming-webstation
fix(streaming): prefer the emulator's own screenshot for save-state thumbnails
2026-09-15 08:35:43 -04:00
renovate[bot]
cf770354a2 chore(deps): update github actions (#4513) 2026-09-15 06:54:07 -05:00
Georges-Antoine Assi
f2291a225f Merge pull request #4472 from kylebenzo/fix/zip-rom-patching
fix(patcher): apply patches to ROMs inside ZIP archives
2026-09-15 07:47:17 -04:00