frontend-patterns/research/experiments/feature-release/conflicts-reload-results.json
tegwick f273a190f0 Test activation conflicts and draft-preserving application reload
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a0cffe-206f-7323-89d3-b20ca4cf4bf9
2026-09-26 23:30:15 +02:00

1099 lines
26 KiB
JSON

{
"date": "2026-09-26T21:28:01.965Z",
"node": "v24.11.1",
"files": {
"reload-host.js": "34fafe371e68ce4ac069b7dcef0a7899c7f2a238de87ddaa549734227b4e59a3",
"reports-r1.js": "f2a39800e5dad7ba9a2b338fb62a4353094fc2156640d8674be7a15143e71206",
"reports-r2.js": "17de3351f9b4be3d2d0b517e11486cc75f6c9e4dd50b994d0a6eb7b9b5b44927",
"conflicts-reload.mjs": "c84cd1c2b2864153d213d7d5829e4bd7dc05407418c6b39c2153b554e4d9448a",
"package.json": "6986c09f8fee8c8bd7005dafb1c40e09538438127ae9602fa6b0686fab4b755b",
"package-lock.json": "2e6bf0caeea9d291d83f9008ceedefc1cf71a4e0fef2ab3b01f49edbee597af8"
},
"results": [
{
"id": "C01-blind-update-loses-neighbor",
"kind": "HTTP-control-plane",
"status": "pass",
"observation": {
"lostReportsUpdate": true
},
"trace": [
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/unsafe",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/unsafe",
"state": {
"revision": 3,
"reports": "/reports-r1.js",
"account": "A2",
"draftSchema": 1
}
}
]
},
{
"id": "C02-stale-disjoint-update-refetch",
"kind": "HTTP-control-plane",
"status": "pass",
"observation": {
"bothUpdatesRetained": true,
"explicitRefetchAndReapply": true
},
"trace": [
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "conflict",
"expected": "1",
"actual": 2
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A2",
"draftSchema": 1
}
}
]
},
{
"id": "C03-same-feature-needs-decision",
"kind": "HTTP-control-plane",
"status": "pass",
"observation": {
"staleRollbackRejected": true,
"noAutomaticOverwrite": true
},
"trace": [
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "conflict",
"expected": "1",
"actual": 2
}
]
},
{
"id": "R01-unguarded-reload-loses-draft",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"draftLost": true,
"negativeControl": true
},
"snapshot": {
"draft": "",
"status": "Ready",
"version": "R2",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R02-defer-keeps-work",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"declinedReload": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R03-preserve-and-restore",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"restored": true,
"basePreserved": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Draft restored",
"version": "R2",
"readOnly": false,
"saved": "{\"schema\":1,\"text\":\"unfinished proposal\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R04-storage-failure-blocks",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"reloadBlocked": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred: draft storage failed",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R05-schema-mismatch-blocks",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"reloadBlocked": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred: incompatible draft schema",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
},
{
"event": "read",
"snapshot": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
}
]
},
{
"id": "R06-explicit-discard",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"explicitlyDiscarded": true
},
"snapshot": {
"draft": "",
"status": "Ready",
"version": "R2",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R07-unknown-write-blocks",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"uncertainOutcomeNotDiscarded": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Resolve unknown operation outcome first",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R08-edit-during-preflight",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"latestEditPreserved": true
},
"snapshot": {
"draft": "newer proposal while checking",
"status": "Draft restored",
"version": "R2",
"readOnly": false,
"saved": "{\"schema\":1,\"text\":\"newer proposal while checking\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R09-activation-changes-after-check",
"engine": "chromium",
"browser": "151.0.7922.34",
"status": "pass",
"observation": {
"startupRevalidation": true,
"draftRetainedButNotEditable": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Recovery required: draft schema mismatch",
"version": "R2",
"readOnly": true,
"saved": "{\"schema\":1,\"text\":\"unfinished proposal\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
},
{
"event": "document",
"snapshot": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
}
]
},
{
"id": "R01-unguarded-reload-loses-draft",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"draftLost": true,
"negativeControl": true
},
"snapshot": {
"draft": "",
"status": "Ready",
"version": "R2",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R02-defer-keeps-work",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"declinedReload": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R03-preserve-and-restore",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"restored": true,
"basePreserved": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Draft restored",
"version": "R2",
"readOnly": false,
"saved": "{\"schema\":1,\"text\":\"unfinished proposal\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R04-storage-failure-blocks",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"reloadBlocked": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred: draft storage failed",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R05-schema-mismatch-blocks",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"reloadBlocked": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Update deferred: incompatible draft schema",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
},
{
"event": "read",
"snapshot": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
}
]
},
{
"id": "R06-explicit-discard",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"explicitlyDiscarded": true
},
"snapshot": {
"draft": "",
"status": "Ready",
"version": "R2",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R07-unknown-write-blocks",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"uncertainOutcomeNotDiscarded": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Resolve unknown operation outcome first",
"version": "R1",
"readOnly": false,
"saved": null
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R08-edit-during-preflight",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"latestEditPreserved": true
},
"snapshot": {
"draft": "newer proposal while checking",
"status": "Draft restored",
"version": "R2",
"readOnly": false,
"saved": "{\"schema\":1,\"text\":\"newer proposal while checking\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "document",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
}
]
},
{
"id": "R09-activation-changes-after-check",
"engine": "firefox",
"browser": "155.0",
"status": "pass",
"observation": {
"startupRevalidation": true,
"draftRetainedButNotEditable": true
},
"snapshot": {
"draft": "unfinished proposal",
"status": "Recovery required: draft schema mismatch",
"version": "R2",
"readOnly": true,
"saved": "{\"schema\":1,\"text\":\"unfinished proposal\",\"base\":\"record-v1\"}"
},
"errors": [],
"trace": [
{
"event": "document",
"snapshot": {
"revision": 1,
"reports": "/reports-r1.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "read",
"snapshot": {
"revision": 2,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 1
}
},
{
"event": "commit",
"path": "/activation",
"state": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
},
{
"event": "document",
"snapshot": {
"revision": 3,
"reports": "/reports-r2.js",
"account": "A1",
"draftSchema": 2
}
}
]
}
],
"passed": 21,
"total": 21
}