Repository navigation
Add framesData and a few other small fixes - #42
Merged
Merged
Conversation
Ardnived
added a commit
that referenced
this pull request
Aug 8, 2026
The clean-DB end-to-end reseed (stale docs removed, three converged runs) leaves exactly two permanently-unimportable rows: region:East (#42, invalid source coordinates) and event #4958 (no Atlas area, so no resolvable region). regions 647 → 646 and events 652 → 651 so verification measures what the import can actually reach; the invariant spec derives the regions floor with the same -1. Co-Authored-By: Claude Fable 5 <[email protected]>
Ardnived
added a commit
that referenced
this pull request
Aug 8, 2026
…tings (#621) * feat(atlas): refresh seed data from the 2026-08 dump and re-groom listings Re-extracts seeds/atlas/data/ from the August 2026 Atlas dump (the previous data ended October 2024), ports the #605 curation forward wherever the raw source is unchanged, and re-grooms the delta under the same rules: 230 new events groomed from scratch, ~100 upstream-edited events re-groomed three-way. Data: 653 event rows (673 extracted, less 11 re-dropped #605 duplicates and 9 newly confirmed ones), 53 shared venues (6 new venue merges), 5 new countries, curated schedule.weekday for 7 events whose own text names a different day. Code: parseSchedule maps monthly_2nd/monthly_last to weekNumber 2/-1; the importer reports events whose Atlas source row was deleted upstream (64 in this refresh) for hand-trashing; extract.ts normalizes venue text fields. Counts and invariants recomputed: expectedCounts (managers 495, regions 653, users 1864, events 652, registrations 2007, clients 31) and the atlas-events-data invariant suite. Co-Authored-By: Claude Fable 5 <[email protected]> * fix(atlas): resolve import collisions surfaced by the local end-to-end seed The full local reseed exposed three gaps: Atlas holds five city rows twice (new AREA_MERGES for Nottingham, Colombier, Compiègne, Martinique, and Province Québec onto the Québec node) and a second row for the München Am Lilienberg building (VENUE_MERGES 5063 → 458); event #762's groomed room exceeded the field's maxLength of 100; and Atlas *renumbers* geo nodes (Paris moved area 438 → 1208), so a stale doc under the old id blocks the renumbered node's create on the unique slug/mapboxId — reportUpstreamDeletedRegions now enumerates those docs for hand-trashing, mirroring the events-side report. Region counts follow: 595 source geo nodes + 52 shared venues = 647. Co-Authored-By: Claude Fable 5 <[email protected]> * fix(atlas): set verification floors to the proven-reachable counts The clean-DB end-to-end reseed (stale docs removed, three converged runs) leaves exactly two permanently-unimportable rows: region:East (#42, invalid source coordinates) and event #4958 (no Atlas area, so no resolvable region). regions 647 → 646 and events 652 → 651 so verification measures what the import can actually reach; the invariant spec derives the regions floor with the same -1. Co-Authored-By: Claude Fable 5 <[email protected]> * fix(atlas): re-attach merged duplicates' registrations to their survivors The wiped-DB fresh seed surfaced two registration losses the update-mode runs had masked: 54 registrations pointed at merged-away duplicate events and were silently skipped (a merge is not a delete — #195's 39 registrants belong to #603's class), and the paginated id-map rebuild couldn't see the 2 events that import straight into the trash, dropping their registration too. MERGED_EVENT_TARGETS now routes a removed row's registrations to its merge survivor, the rebuild passes trash: true, and the verification floors are set to fresh-state-proven values: events 649 (2 archived rows land in trash, uncounted), registrations 2005 (only the 2 rows with neither event nor survivor drop). The invariant spec derives the registrations floor with the same rules. Co-Authored-By: Claude Fable 5 <[email protected]> * fix(atlas): skip the registration on a trashed event instead of phantom-creating it Isolated with a bare REST create: Payload returns 201 with a doc id for a registration whose event relationship targets a trashed doc, then silently rolls the insert back — the row never lands (the sequence advances, the count doesn't). The trash-aware id-map rebuild therefore made #252 (on the archived-to-trash Floriade event #199) log "created" on every run while never persisting. Trashed events now stay out of the registration id-map, turning that row into a visible, counted skip. The registrations floor is 2004 (2034 source rows, less 27 junk-email registrants, 2 events with neither row nor merge survivor, and this one), derived identically by the invariant spec, which also pins the archived-on-import set to #75/#199. The stale per-collection totalItems metadata (886-era counts) is updated to the 2026-08 dump. Full wiped-DB reseed now verifies green on all six collections with exactly the two permanent source-data errors (region:East invalid coordinates, event #4958 with no Atlas area). Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
sydevs-bot
pushed a commit
that referenced
this pull request
Oct 20, 2026
`main` moved under this branch: #978 made `lessons.title` and `lessons.panels` localized. The merge therefore turns two of this PR's own assertions false, and CI failed on `expect(fr['panels-set']).toBe(true)`. Both changed checks are now right to report red at a locale with no panels and no title of its own, so the spec says so. The label is the part that needed code: `labelOf` reads `title`, which the section's `fallbackLocale: false` read now nulls, so every Path Step row rendered as `#42` at an untranslated locale — the defect this PR fixes for Pages and User Choices, arriving in a third section. `lessons` joins `readFallbackTitles`, and the fallback title stays out of the documents the checks read so `lesson-title-set` keeps answering per locale. Watched failing first: with the label taken from the per-locale read, the case reports `expected '#1' to be 'English-only lesson'`. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_016kz4f18hn5u39scrC3FDut
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Oct 21, 2026
…sh fallback (#997) * fix(status): Launch Readiness answers about the locale, not the English fallback Every non-English locale carries `fallbackLocale: 'en'`, so a section read that named no `fallbackLocale` resolved the English value and a check described "for this locale" passed on it. Six of the seven sections read that way, which made "Meditation assigned" and "Article translated" green for 18 locales in which no Path Step has been translated at all. Each section's `prepare` now passes `fallbackLocale: false` wherever one of its checks reads a localized field, and every read in the global hands the Local API a `localeIsolatedReq` copy. `createLocalReq` assigns `locale` and `fallbackLocale` onto the request it is given, so forwarding the shared one let a section decide what the sections after it resolved — in whichever order Payload runs the virtual fields' `afterRead` hooks. Lectures keeps the fallback, and says why: no check there reads a localized field, so it resolves only the row labels. Pages and User Choices do read one, so their labels get their own fallback read rather than degrading to `#42` on a screen an operator acts on. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QaWaWVrTnDo4vJWqYfUi2m * refactor(status): the request copy moves into runSection, and labels onto the row Review pass over the locale-scoping fix. Four changes, none of them a behaviour change to what the report answers: - `runSection` copies the caller's request once per section. Payload awaits every virtual field's `afterRead` in one `Promise.all`, so the sections run concurrently on one request, and `find` destructures `locale` and `fallbackLocale` off it after its own await — a sibling read can land an assignment inside that window. The invariant belongs to the machinery; a section's own reads still copy wherever they differ from each other. - The fallback title is merged onto the row in `prepare` instead of being threaded as a second channel. `labelOf` then needs no argument it did not already have, and no group evaluator carries a label map it only indexes by an id it holds. - Both label reads select `title` alone and run beside the read they used to wait for. The user-choices one dropped a `where` built from its sibling's rows, which was the only thing forcing it to wait. - `getWmAppConfig` uses the shared `memoizeOnRequest` rather than its own copy of that logic, including the rationale. `DocumentReport.label` now owns why a check and a label want opposite locale policies, so neither section restates it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QaWaWVrTnDo4vJWqYfUi2m * docs(status): a concurrent sibling read needs the copy too The nested-read rule said to skip the `req` copy when the nested call uses the caller's own locale. That is the case #982 bit: concurrent reads on one request repoint each other between `createLocalReq` and the operation's own read of the flags, whatever locale each names. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QaWaWVrTnDo4vJWqYfUi2m * fix(ci): lessons title and panels are localized now `main` moved under this branch: #978 made `lessons.title` and `lessons.panels` localized. The merge therefore turns two of this PR's own assertions false, and CI failed on `expect(fr['panels-set']).toBe(true)`. Both changed checks are now right to report red at a locale with no panels and no title of its own, so the spec says so. The label is the part that needed code: `labelOf` reads `title`, which the section's `fallbackLocale: false` read now nulls, so every Path Step row rendered as `#42` at an untranslated locale — the defect this PR fixes for Pages and User Choices, arriving in a third section. `lessons` joins `readFallbackTitles`, and the fallback title stays out of the documents the checks read so `lesson-title-set` keeps answering per locale. Watched failing first: with the label taken from the per-locale read, the case reports `expected '#1' to be 'English-only lesson'`. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_016kz4f18hn5u39scrC3FDut * fix(status): one request copy, at the read that makes it `runSection` copied the caller's request per section and every read inside a section copied again. Only the second is load-bearing: reads within one section differ from each other, so a single copy at the seam could never cover them, and no group `evaluate` reads anything for it to guard. The machinery copy also made the isolation spec vacuous. It asserts the caller's locale and fallback survive every section in `WeMeditateAppStatusSpec.sections`, and passed off `runSection`'s copy whether or not a section's own reads took one. With it gone, dropping `isolatedReq` from `translations`' read reports `translations repointed req.fallbackLocale` — watched failing, then restored. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VuvbQcWhFEViZCoZvbJMsQ * fix(status): the core-pages group stops naming a page count The group read "All ten required app pages" while `APP_PAGE_FIELDS` holds 14, so the figure it showed an operator was wrong by four. A count in that sentence drifts with the list and the group already shows one row per page, so it names none. Its subtle-system sibling keeps "twelve": that set is closed and a migration seeds exactly those slugs. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VuvbQcWhFEViZCoZvbJMsQ * fix(ci): re-measure the pinned unit spec count `perf-figures-pinned.spec.ts` compares PERF.md's recorded file count against the specs on disk, and it read 215 against 216. The lane is otherwise green: 2787 of 2788 passed, this pin the only failure. The extra file came in with `a99aae9` (#1008), which added `tests/unit/signin-token.spec.ts` without re-measuring. So the same assertion is red on `main`, and fixing it here is what gets this PR green — PERF.md's own rule is that the Files / tests row carries "the current tree's" counts while every timing stays with the session that measured it, so the counts move and the 77.9 s median does not. Re-measured on this head, 4 cores: 216 files / 2788 tests, the figure CI reported on `5394892`. The three consumer docs that quote the counts move with it, which is the coupling the spec's second and third claims exist to enforce. #1009 carries 220 / 2835 for its own tree — it adds four spec files of its own, so its numbers cannot stand in for this branch's. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WcsBbMS7ZqEP272YZNHXYk --------- Co-authored-by: Claude <[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.
No description provided.