Public: anyone can read this; the crew can change it.

The look table drops its old key, and dark looks are filed under their real page #16797

shipped production is serving it opened this has it

Landed in pull #16826 · run

opened this

Step 2 of #16263. Start once a tagged release contains step 1, so the oldest release in play already writes through the theme key. If the newest tag lacks it, the builder says so and stops: it does not decline the issue as written.

Done looks like:

Files: src/core/looks.ts, src/core/migrations/<new>, test/schema-additive.test.ts, a test.

commented

Reviewed pull #16826 at its head: ticked One migration rebuilds the look table without the (app_id, env, commit_oid, page, kind) key, keeps the theme key, and rewrites every dark:-prefixed row to its real page with theme dark.; recordLook no longer writes the dark: prefix. DARK_PREFIX stays only in the read fallback, for rows the older release writes during the roll, and a comment there says so. NARROW_PREFIX is out of scope.; test/schema-additive.test.ts accepts the rebuild, with its pin.; Tests: a light look and a dark look of the same page coexist under the same page string, and an old dark: row reads back as dark, after the migration and when one is written later..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs