You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lazy field widgets remember a failed first chunk load and never recover without a page reload (date/datetime/rich text editors, rich text display, filter condition cell, image crop, getLazyFieldWidget cache) #36608
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Family card filed by the seat from the #36451 dev (PR #36607, which fixes the line-item grid with GridFieldOnceLoaded). Not claimed. Related: #36451.
Suggested-grade: p2
Suggested-domain: domain:ui
What happens
A React.lazy component caches its first import promise. When the chunk load fails once (a deploy that replaced the chunk, a dropped connection), every later render reuses the rejected promise, so the widget stays broken until the page is reloaded. #36451 fixed this for the lazy line-item grid only.
Where (the whole family; each a pin)
FieldEditWidget: date, datetime and rich text editors
richTextDisplay
FilterConditionCell
the image field's crop dialog
getLazyFieldWidget in the fields package's index.tsx, which caches one lazy component per field type
Measured by the dev: date, markdown, filter condition and getLazyFieldWidget('date'). The rest are read from the code.
Ask
Apply #36607's approach (a once-loaded wrapper that drops a rejected import so the next render retries) to every site above, through one shared helper rather than a copy per site. A test per site pins that a first failed load followed by a successful one renders the widget without a reload.
Re-check
git grep -n "React.lazy\|lazy(" ui/packages/fields/src lists the sites; each one goes through the shared helper when this is fixed.
Triage: lands in domain:ui (lazy field widgets) · pm:queue; rationale: area:ux · Bug · six more lazily loaded field widgets stay broken after a failed first chunk load until the page is reloaded, the same class as #36451, which #36607 fixes for the line-item grid only. On a flaky network those fields stay empty with no retry → p2 as the seat suggested · size S. On request from repo:objectstack#2 (#32588 comment 7090074708).
Claim: PM loop round 10 · 2026-11-23T21:31Z
Session: session_01JQwxbZeHNsF3RWcWpj7rGj
Thread session: opened by the coordinator; the thread names itself in its first report
Account: os-warren
Branch: the card thread's own branch, named at its first push; the seat records it then
Worktree: objectstack-issue-36608
Domain: domain:ui
Seat: repo:objectstack#1
Area: card thread #36608 (w9-36608)
Dispatch: p2 area:ux, non-epic lazy-widget recovery bug. The maintainer resumed area:ux cards at 2026-11-23T21:18:46Z and restated it at 2026-11-23T21:23:47Z (「area ux 任务继续处理, p1 p2 专题任务优先」); p1+p2, epic children first, under the 15-thread cap.
File surface: the lazy field widget loaders in ui/packages (getLazyFieldWidget cache and the lazy editors and cells the card lists), tests, a changeset (stop on breach; the thread's first report states the real surface and the seat amends this line)
Container & model: S, mode:thread, model: opus — default tier; the thread's first report states the served tier, effort: high
Clause-②: no. A new route, contract, spec key or export is amended to yes before its code
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: 7090090011
Premise: read from the card; the thread re-reads it on its base before code
Serial constraints cleared: no open PR names the card
Claim: branch record · 2026-11-23T21:45Z · same session as claim 7114601217, which it completes
Session: session_01JQwxbZeHNsF3RWcWpj7rGj
Thread session: session_01JQwxbZs5obPjDPPXTHrc6A
Account: os-warren
Branch: claude/project-thread-b3g1v2
Worktree: objectstack-issue-36608
Domain: domain:ui
Seat: repo:objectstack#1
Area: card thread #36608 (w9-36608)
File surface: under ui/packages/fields/src: FieldEditWidget.tsx, widgets/richTextDisplay.tsx, widgets/FilterConditionCell.tsx, widgets/ImageField.tsx, index.tsx (getLazyFieldWidget and registerField), a new internal recoverableLazy.ts (not exported), tests beside them, a patch changeset for @object-ui/fields
Container & model: S, mode:thread, served opus, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: none
Premise: holds on origin/main e0f0e9f
Serial constraints cleared: no open PR names the card
{
"issue": 36608,
"status": "done",
"branch": "claude/project-thread-b3g1v2",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36786",
"session": "session_01JQwxbZs5obPjDPPXTHrc6A",
"premise_still_valid": true,
"summary": "Every React.lazy site in ui/packages/fields/src now goes through one internal helper, recoverableLazy (not exported): FieldEditWidget date/datetime/rich text panel editor, richTextDisplay, FilterConditionCell, ImageField crop dialog, getLazyFieldWidget, and registerField (listed by the card's re-check grep; the form registry path). Loading and loaded behave as React.lazy (host Suspense fallback kept); a failed load resolves to a stand-in that commits once, retires the request, then throws to the error boundary, so the next mount loads again and the failed mount never retries in a loop. Route deviation from the card's suggestion: #36607's effect-based wrapper was not copied because it would drop every host's Suspense fallback on a cold load; the PR body explains. GridField unchanged.",
"tests": "new src/__tests__/lazyWidgetRecovery-36608.test.tsx 12/12 at b572a585; pnpm --filter @object-ui/fields test 326 files passed 1 skipped, 4980 tests passed 7 skipped; pnpm --filter @object-ui/fields type-check exit 0 (test file in the test program, listFiles 1). Ablations via ablation-replace.mjs with restore proven (blob == HEAD, empty diff): never retire -> 10/12 red; retire-and-throw in render without committing -> both helper failure pins red (failure swallowed, widget shown); getLazyFieldWidget on React.lazy -> its pin red. Tests import source, no dist leg.",
"gates": "dispatch-gates --commands derived 39; run locally with exit captured before pipes: 35 exit 0 (incl. check:test-source-alias after a module-top import fix, check:query-options-erasure, check:type-check-coverage, check:nul-bytes, check:cross-package-test-inputs, check:engine-double-contract, changeset gates, adr-0087). Left to CI: check:type-check-debt (local run still in progress at report time), check:published-files, check:driver-memory-census, ui vitest scripts/. PR check-runs at b572a585: in_progress (17 running, 5 skipped) at report time. overlap-check before each push: clean.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0 — no MCP GitHub calls",
"api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg), this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36608/comments)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": []
}
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 23, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(lazy field widgets) ·pm:queue; rationale: area:ux · Bug · six more lazily loaded field widgets stay broken after a failed first chunk load until the page is reloaded, the same class as #36451, which #36607 fixes for the line-item grid only. On a flaky network those fields stay empty with no retry → p2 as the seat suggested · size S. On request from repo:objectstack#2 (#32588 comment 7090074708).objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 10 · 2026-11-23T21:31Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session: opened by the coordinator; the thread names itself in its first report
Account:
os-warrenBranch: the card thread's own branch, named at its first push; the seat records it then
Worktree:
objectstack-issue-36608Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36608(w9-36608)Dispatch: p2 area:ux, non-epic lazy-widget recovery bug. The maintainer resumed area:ux cards at 2026-11-23T21:18:46Z and restated it at 2026-11-23T21:23:47Z (「area ux 任务继续处理, p1 p2 专题任务优先」); p1+p2, epic children first, under the 15-thread cap.
File surface: the lazy field widget loaders in
ui/packages(getLazyFieldWidgetcache and the lazy editors and cells the card lists), tests, a changeset (stop on breach; the thread's first report states the real surface and the seat amends this line)Container & model:
S,mode:thread,model: opus — default tier; the thread's first report states the served tier,effort: highClause-②: no. A new route, contract, spec key or export is amended to yes before its code
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: 7090090011
Premise: read from the card; the thread re-reads it on its base before code
Serial constraints cleared: no open PR names the card
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: branch record · 2026-11-23T21:45Z · same session as claim 7114601217, which it completes
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbZs5obPjDPPXTHrc6AAccount:
os-warrenBranch:
claude/project-thread-b3g1v2Worktree:
objectstack-issue-36608Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36608(w9-36608)File surface: under
ui/packages/fields/src:FieldEditWidget.tsx,widgets/richTextDisplay.tsx,widgets/FilterConditionCell.tsx,widgets/ImageField.tsx,index.tsx(getLazyFieldWidget and registerField), a new internalrecoverableLazy.ts(not exported), tests beside them, a patch changeset for @object-ui/fieldsContainer & model:
S,mode:thread, servedopus,effort: highClause-②: no
Metadata-protocol: none
Responsibility: as the card body states
Thread-read: none
Premise: holds on origin/main e0f0e9f
Serial constraints cleared: no open PR names the card
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZs5obPjDPPXTHrc6A
os-dev-report
{ "issue": 36608, "status": "done", "branch": "claude/project-thread-b3g1v2", "pr": "https://github.com/objectstack-ai/objectstack/pull/36786", "session": "session_01JQwxbZs5obPjDPPXTHrc6A", "premise_still_valid": true, "summary": "Every React.lazy site in ui/packages/fields/src now goes through one internal helper, recoverableLazy (not exported): FieldEditWidget date/datetime/rich text panel editor, richTextDisplay, FilterConditionCell, ImageField crop dialog, getLazyFieldWidget, and registerField (listed by the card's re-check grep; the form registry path). Loading and loaded behave as React.lazy (host Suspense fallback kept); a failed load resolves to a stand-in that commits once, retires the request, then throws to the error boundary, so the next mount loads again and the failed mount never retries in a loop. Route deviation from the card's suggestion: #36607's effect-based wrapper was not copied because it would drop every host's Suspense fallback on a cold load; the PR body explains. GridField unchanged.", "tests": "new src/__tests__/lazyWidgetRecovery-36608.test.tsx 12/12 at b572a585; pnpm --filter @object-ui/fields test 326 files passed 1 skipped, 4980 tests passed 7 skipped; pnpm --filter @object-ui/fields type-check exit 0 (test file in the test program, listFiles 1). Ablations via ablation-replace.mjs with restore proven (blob == HEAD, empty diff): never retire -> 10/12 red; retire-and-throw in render without committing -> both helper failure pins red (failure swallowed, widget shown); getLazyFieldWidget on React.lazy -> its pin red. Tests import source, no dist leg.", "gates": "dispatch-gates --commands derived 39; run locally with exit captured before pipes: 35 exit 0 (incl. check:test-source-alias after a module-top import fix, check:query-options-erasure, check:type-check-coverage, check:nul-bytes, check:cross-package-test-inputs, check:engine-double-contract, changeset gates, adr-0087). Left to CI: check:type-check-debt (local run still in progress at report time), check:published-files, check:driver-memory-census, ui vitest scripts/. PR check-runs at b572a585: in_progress (17 running, 5 skipped) at report time. overlap-check before each push: clean.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "mcp_calls": "0 — no MCP GitHub calls", "api_writes": "2 — fleet-write pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignees leg), this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36608/comments)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }Generated by Claude Code
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Cleared · 2026-11-23T23:35Z: closed by the merge of #36786. The seat takes
pm:dispatchedand its assignee off.