Repository navigation
feat(canary): test Safari's ICU and time zone data, and add a Browser support page (CNRY-1) - #484
Conversation
… support page (CNRY-1, #483) The weekly native suite now has a fifth leg, `webkit-macos`. It runs Playwright's WebKit on a macOS runner, so GMT is tested against the ICU and time zone data that Safari and every iOS browser use. The Linux `webkit` leg keeps testing the Linux distribution's ICU. - Add `webkit-macos` to the canary scripts from one list of legs. The leg refuses to run on a host that is not macOS, and its engine line names the macOS version. The polyfill swap check keeps its four legs. - Run the leg in `temporal-oracle.yml` on `macos-latest`, with a trace of disk and memory that works on macOS and a step that prints which ICU WebKit links. - Tag what the Mac fails, sorted by cause: Apple's locale text, POSIX time zone ids on both WebKit legs, and record AE (ICU4C 75 and later count every Persian year before year 0 as a leap year). - Add the Browser support page under Start here. It shows the syntax floor and the Node version from generated files, not by hand. - Name five legs in the wording about when host `Temporal` is reconsidered. Adds no function and changes no output of `packages/gmt`: no changeset.
baldurpan
left a comment
There was a problem hiding this comment.
I read the whole diff at bdebb1c. These all check out:
- the host guards for
webkitandwebkit-macos; - the lists derived from
ENGINE_IDS; - the rule that both WebKit legs must agree before a workaround is removable;
- the workflow's macOS row and the
awkin the report job.
I also ran the new zone-id pattern against a Mac's JavaScriptCore: it refuses exactly EST5EDT, CST6CDT, MST7MDT and PST8PDT, and accepts CET, EET, MET and WET. That matches webkit-posix-zone-ids.
Three small things inline, none blocking:
- The Browser support page says DuckDuckGo on Android is covered by
chromium, then lists Android System WebView as not tested. deps checkrejects a canary row that is blocked by a Dox story.supportedEditions()never stops early, because acorn accepts any year.
CI: 35 checks pass and 5 were still running when I posted this. The webkit-macos leg itself has not run yet, as the description says.
…t for any change under packages/ - Browser support: the chromium leg covers desktop Chromium only. Chromium on Android (Chrome, Samsung Internet, DuckDuckGo, Android System WebView) loads a smaller ICU data file built for Android, so the page lists it as not tested. - deps check: a canary story may be blocked by an open Dox story. - syntax floor: one parse with `latest` decides whether any edition parses a source, so a source no edition parses fails at once with that parse's error. - Changesets: any file under packages/ needs a changeset, an empty one when nothing ships, because CI's Story consistency check runs changeset status. The rule, AGENTS.md, the finalizer, dox-architect, pipeline, pr-desc and changelog now say so, and this branch carries an empty changeset for its workaround README edit.
baldurpan
left a comment
There was a problem hiding this comment.
All three threads are fixed in 9835952, and I checked each fix myself. I also read the rest of that push: the rule that any change under packages/ carries a changeset, an empty one when nothing ships, and the empty changeset this PR adds. That rule matches .changeset/config.json and the Dox-only PRs that merged without one.
CI was still running when I approved: 9 passed, 28 pending, none failed. The webkit-macos leg has not run yet. As the description says, its tags get reconciled with that run before merge.
…(CNRY-1, #483) The runner (macos-26-arm64, macOS 26.7.2) has time zone data older than tzdb 2026c and older pt-PT short weekday names, and it accepts CST6CDT, EST5EDT, MST7MDT and PST8PDT. `browser-morocco-2026-tz-data` now names the Mac leg, a new `webkit-macos-26-pt-pt-short-weekdays` group tags the pt-PT row, and `webkit-posix-zone-ids` names the Linux leg only. Records WebKit bug 330688 and the icu-support thread for record AE.
baldurpan
left a comment
There was a problem hiding this comment.
Read c98d050. The reconciliation matches run 42578821204 exactly. The Mac leg's artifact shows 45 untagged host failures: the 44 rows of oh-morocco.test.ts and the pt-PT row. Its one stale tag is webkit-posix-zone-ids. The new tags cover those rows and nothing more. The pt-PT reasoning also holds: the test checks the long list before the short one, so the first day of the week agrees, and only the short names differ. WebKit bug 330688 and the icu-support thread are live and say what the push records.
One thing left, on the Dox list of engine bugs. Dispatch 42585083407 at c98d050 is still running; that run shows whether the Mac leg is now clean.
…it beside `Helping fix Temporal`, and list WebKit bug 330688 (CNRY-1, #483) The page tracks each engine's built-in Temporal, not GMT's support, so it leaves Start here. Install gets one line on what GMT needs from a host. Answers the review on #484: the engine list carries WebKit bug 330688, and the ICU line says the report is in.
|
Dispatch 42585083407 at c98d050 passed on every leg, c2511df also changes the page this PR adds. It tracks each engine's built-in Temporal, not whether GMT runs, so:
The DuckDuckGo and Android fixes you checked are unchanged on the renamed page. |
baldurpan
left a comment
There was a problem hiding this comment.
Read c2511df. The WebKit bullet is in, and so is the Persian update. The rename to Temporal in every engine is complete: there are no links left to /browser-support/, the sidebar test now expects 12 Migrate pages, and the 14 Dox test files this push touches pass at this head (669 tests).
One thing is new, on the engine page. The "No weekly run yet" section says GMT runs on older browser versions without the floor that Install sets.
…l asks for (CNRY-1, #483)
baldurpan
left a comment
There was a problem hiding this comment.
Approving 4da30b6. Every thread I opened is answered and resolved. The engine page now gives the same host floor as Install and links to it rather than repeating the figures, and the rename to Temporal in every engine is complete.
CI was still running when I approved: 2 checks passed, 35 were pending and 1 was skipped.
baldurpan
left a comment
There was a problem hiding this comment.
Approving ba54600 again. It merges main (#482) into the branch and changes nothing else. The merge is clean: its tree is the one git merge-tree builds on its own, and this PR's patch against the new base is line for line the one I approved at 4da30b6.
#482 and this PR both edit four files: AGENTS.md, .agents/finalizer.md, and the pipeline and pr-desc skills. I read them together. They don't conflict. #482's new first step in finalizer reads context/domination/tracker.md, and this PR's line about CNRY-* stories using context/canary/ throughout still covers that. #482's standing Git instructions and this PR's changeset and canary lines touch different text.
CI was still running when I approved: 2 checks passed, 35 were pending and 1 was skipped.
Closes #483.
What changed
GMT reads offsets and locale text from the host's
Intl.DateTimeFormat, so a browser's answers depend on the ICU and time zone data built with it. The weekly native suite tested four legs. Its WebKit leg ran on Linux, which uses the runner'slibicu74, but Safari uses Apple's ICU and the time zone data macOS and iOS ship. No leg tested the data Safari users have. This PR adds that leg, and a page that tracks the built-in Temporal in each engine.This PR adds no function and changes no output of
packages/gmt, so its changeset is empty and bumps nothing. It edits the temporalCompat README underpackages/gmt, and CI's Story consistency check needs a changeset for any change underpackages/.The canary epic
context/canary/holds the canary epic: its index, overview, tracker and issue files. The plan gate, the planning skills, theAGENTS.mdindex andscripts/deps.mjsreadCNRY-*stories from there.The leg
ENGINE_IDSis the one list of native-suite legs; the other lists derive from it. The polyfill swap check keeps its four legs.webkit-macosrefuses to run on a host that is not macOS, andwebkitrefuses to run on one that is. Either mismatch writes two could-not-run verdicts, so a result is never filed under another host's name.macOS WebKit <version> · macOS <version>, so the two WebKit legs keep separate issue titles.temporal-compat.jsonsay the same.The workflow
native-suitematrix has amacos-latestrow. The system-package install (--with-deps) runs on Linux only.otool -Lstep prints which ICU Playwright's JavaScriptCore links; it never fails the job.awkparsing on the new job name.The tags
addDateandsubtractDateat -271820 diverge on macOS WebKit only. Shipped GMT is right, because it runs the polyfill.CST6CDT,EST5EDT,MST7MDTandPST8PDT(groupwebkit-posix-zone-ids, filed as WebKit bug 330688). Safari on macOS 27 refuses them too, but the runner's macOS 26 accepts them, so the group names the Linux leg only.webkit-legacy-zone-idsnarrows toCET,EET,METandWET.webkit-macos-*groups hold Apple's ICU locale text, each with evidence from CLDR 48.webkit-macos-26-pt-pt-short-weekdays.The changeset rule
packages/needs a changeset, an empty one when nothing ships.context/coding-standards.md,AGENTS.md, the finalizer,dox-architect,/pipeline,/pr-descand/changelognow say so, and the finalizer runspnpm changeset:statuson every story.Review fixes
deps checkaccepts a canary story blocked by an open Dox story.syntaxFloorparses once withlatestfirst, so a source no edition parses fails at once with that error.The page
/native-engines/) sits in the Migrate group, right after Helping fix Temporal. It tracks the built-in Temporal in each engine, not whether GMT runs: it opens by saying GMT ships its own Temporal and runs on every browser and runtime it lists.Intl.DateTimeFormatwith IANA time zones, and the Nodeenginesrange. No figure is typed by hand.scripts/syntax-floor.mjsmeasures the lowest ECMA-262 edition that parses every published entry, with a test (acorn8.16.0, exact).gmtNodeEnginescomes fromengines.node.Temporalis reconsidered now names five legs.Checks
dox checkpasses./native-engines/,/install/and/upstream/: build, frame-check, axe, tab walk, media andtable-fit.dox-gates-weekly.yml.validate:fullat 9835952: all 23 steps pass (gmt 71,610 tests, Dox 18,290).The Mac leg in CI
webkit-macosand one stale tag. c98d050 tags them with evidence.webkit-macosranmacOS WebKit 26.6 · macOS 26.7.2and classified 71,590 tests: 9 tagged divergences, 282 host-tagged failures, 0 untagged, 0 stale tags, 0 control-only. All five legs report 0 untagged, 0 stale and 0 control-only.Owner notes
apps/dox/src/generated/syntax-floor.tsis generated bypnpm --filter dox generate, likeversions.ts, and is not tracked.artifacts/is never committed.Upstream
isLeapYear(record AE): reported on ICU's support list; the ICU Jira ticket is pending.