|
1 | | -diff --git a/package.json b/package.json |
2 | | -index 7bfd5d4b7..2f1acac10 100644 |
3 | | ---- a/package.json |
4 | | -+++ b/package.json |
5 | | -@@ -21,7 +21,7 @@ |
6 | | - "test:lane:game-hub": "node ./scripts/run-targeted-test-lanes.mjs --lane game-hub", |
7 | | - "test:lane:tool-runtime": "node ./scripts/run-targeted-test-lanes.mjs --lane tool-runtime", |
8 | | - "test:lane:game-runtime": "node ./scripts/run-targeted-test-lanes.mjs --lane game-runtime", |
9 | | -- "test:service:runtime": "node ./scripts/run-node-test-files.mjs tests/engine/RuntimeTickLoop.test.mjs tests/engine/RuntimeConditionSystem.test.mjs tests/engine/RuntimeCollisionProcessing.test.mjs tests/engine/RuntimeMovementProcessing.test.mjs tests/engine/RuntimeCooldownProcessing.test.mjs tests/engine/RuntimeDamageProcessing.test.mjs tests/engine/RuntimeHealthModel.test.mjs tests/engine/RuntimeLivesAndRespawn.test.mjs tests/engine/RuntimeSpawnDespawnProcessing.test.mjs tests/engine/RuntimeScoringAndStateProcessing.test.mjs tests/engine/RuntimeOutcomeProcessing.test.mjs tests/engine/RuntimeInputPipeline.test.mjs tests/engine/RuntimeObjectInstantiation.test.mjs tests/engine/RuntimeObjectRecordFactory.test.mjs tests/engine/RuntimeBehaviorComposition.test.mjs tests/replay/ReplaySystem.test.mjs tests/dev-runtime/ServerApiClientStandardization.test.mjs tests/engine/RuntimeEventSystem.test.mjs tests/engine/RuntimeTriggerProcessing.test.mjs tests/engine/RuntimeActionSystem.test.mjs tests/final/FinalSystems.test.mjs", |
10 | | -+ "test:service:runtime": "node ./scripts/run-node-test-files.mjs tests/engine/RuntimeTickLoop.test.mjs tests/engine/RuntimeConditionSystem.test.mjs tests/engine/RuntimeCollisionProcessing.test.mjs tests/engine/RuntimeMovementProcessing.test.mjs tests/engine/RuntimeCooldownProcessing.test.mjs tests/engine/RuntimeDamageProcessing.test.mjs tests/engine/RuntimeHealthModel.test.mjs tests/engine/RuntimeLivesAndRespawn.test.mjs tests/engine/RuntimeSpawnDespawnProcessing.test.mjs tests/engine/RuntimeScoringAndStateProcessing.test.mjs tests/engine/RuntimeOutcomeProcessing.test.mjs tests/engine/RuntimeInputPipeline.test.mjs tests/engine/RuntimeObjectInstantiation.test.mjs tests/engine/RuntimeObjectRecordFactory.test.mjs tests/engine/RuntimeBehaviorComposition.test.mjs tests/replay/ReplaySystem.test.mjs tests/replay/ReplayTimeline.test.mjs tests/events/EventBus.test.mjs tests/dev-runtime/ServerApiClientStandardization.test.mjs tests/engine/RuntimeEventSystem.test.mjs tests/engine/RuntimeTriggerProcessing.test.mjs tests/engine/RuntimeActionSystem.test.mjs tests/final/FinalSystems.test.mjs", |
11 | | - "test:lane:integration": "node ./scripts/run-targeted-test-lanes.mjs --lane integration", |
12 | | - "test:lane:engine-src": "node ./scripts/run-targeted-test-lanes.mjs --lane engine-src", |
13 | | - "test:lane:samples": "node ./scripts/run-targeted-test-lanes.mjs --lane samples --include-samples", |
14 | | -diff --git a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage.md b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage.md |
15 | | -new file mode 100644 |
16 | | -index 000000000..4b4dcd5de |
17 | | ---- /dev/null |
18 | | -+++ b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage.md |
19 | | -@@ -0,0 +1,70 @@ |
20 | | -+# PR_26175_DELTA_009-replay-event-service-coverage |
21 | | -+ |
22 | | -+## Summary |
23 | | -+ |
24 | | -+Team Delta expanded replay and runtime event service coverage through the existing page/service-level runtime lane. |
25 | | -+ |
26 | | -+This PR does not add a new npm command, does not add a new runner, and does not create any team-specific test command. It keeps `npm test` as the site-wide/all-tests command and expands `npm run test:service:runtime` from 21 targeted Node test files to 23 targeted Node test files. |
27 | | -+ |
28 | | -+## Scope |
29 | | -+ |
30 | | -+- Team: Delta |
31 | | -+- Branch: `PR_26175_DELTA_009-replay-event-service-coverage` |
32 | | -+- Changed file: `package.json` |
33 | | -+- Runtime code changed: none |
34 | | -+- UI changed: none |
35 | | -+- New test runner: none |
36 | | -+- Team-named command: none |
37 | | -+ |
38 | | -+## Coverage Added |
39 | | -+ |
40 | | -+The existing `test:service:runtime` lane now also covers: |
41 | | -+ |
42 | | -+- `tests/replay/ReplayTimeline.test.mjs` |
43 | | -+- `tests/events/EventBus.test.mjs` |
44 | | -+ |
45 | | -+These additions extend service-level coverage for replay timeline snapshot behavior and engine event bus subscription/emit behavior without duplicating existing tests. |
46 | | -+ |
47 | | -+## Runtime Impact |
48 | | -+ |
49 | | -+PASS - No runtime implementation files changed. This is a service-lane coverage expansion only. |
50 | | -+ |
51 | | -+## Requirement Checklist |
52 | | -+ |
53 | | -+| Requirement | Status | Notes | |
54 | | -+|---|---|---| |
55 | | -+| One PR purpose only | PASS | Replay and event service coverage expansion only. | |
56 | | -+| Team Delta ownership only | PASS | Replay, runtime, shared JS, API clients, event systems, and runtime test coverage are Delta-owned. | |
57 | | -+| Branch from updated main | PASS | Branch created after PR_006, PR_007, and PR_008 were merged and main sync passed. | |
58 | | -+| Expand replay and runtime event service coverage | PASS | Added replay timeline and event bus tests to `test:service:runtime`. | |
59 | | -+| Reuse existing service-level testing | PASS | Existing `test:service:runtime` lane expanded. | |
60 | | -+| Do not add new npm commands unless strictly necessary | PASS | No npm command added. | |
61 | | -+| Do not add a new runner | PASS | Reuses `scripts/run-node-test-files.mjs`. | |
62 | | -+| Do not create team-specific commands | PASS | No Delta-named npm command added. | |
63 | | -+| Do not duplicate existing tests | PASS | Existing test files are included once in the service lane. | |
64 | | -+| Keep `npm test` site-wide/all-tests | PASS | Existing `npm test` remains unchanged. | |
65 | | -+| No unrelated cleanup | PASS | Only `package.json` and required reports/artifacts changed. | |
66 | | -+| No UI changes | PASS | No UI files changed. | |
67 | | -+| No browser-owned product data | PASS | No browser persistence or project/runtime JSON contracts changed. | |
68 | | -+| No silent fallbacks or hidden defaults | PASS | No runtime behavior changed. | |
69 | | -+ |
70 | | -+## Validation Lane Report |
71 | | -+ |
72 | | -+| Command | Status | Notes | |
73 | | -+|---|---|---| |
74 | | -+| `npm run test:service:runtime` | PASS | 23/23 targeted Node test files passed. | |
75 | | -+| Governance guard | PASS | `npm test` unchanged; no `test:delta-runtime`; no Delta harness script; no Delta-named test command matches. | |
76 | | -+| `git diff --check` | PASS | No whitespace errors. | |
77 | | -+ |
78 | | -+## Manual Validation Notes |
79 | | -+ |
80 | | -+- Confirmed `npm test` still points to `node ./scripts/run-node-tests.mjs`. |
81 | | -+- Confirmed no `test:service:api` changes were made, so API validation was not required for this PR. |
82 | | -+- Confirmed no runtime implementation, UI, status bar, browser storage, or project/runtime JSON files were modified. |
83 | | -+- Confirmed `tests/events/EventBusNaming.test.mjs` was not added to the runtime service lane because it currently references missing historical `src/engine/events/index.js`; adding that broken historical test would make the lane fail and exceed this PR's coverage-only scope. |
84 | | -+ |
85 | | -+## ZIP |
86 | | -+ |
87 | | -+Repo-structured delta ZIP: |
88 | | -+ |
89 | | -+`tmp/PR_26175_DELTA_009-replay-event-service-coverage_delta.zip` |
90 | 1 | diff --git a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_branch-validation.md b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_branch-validation.md |
91 | | -new file mode 100644 |
92 | | -index 000000000..42eaf7fcc |
93 | | ---- /dev/null |
| 2 | +index 42eaf7fcc..d309d3b8f 100644 |
| 3 | +--- a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_branch-validation.md |
94 | 4 | +++ b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_branch-validation.md |
95 | | -@@ -0,0 +1,15 @@ |
96 | | -+# PR_26175_DELTA_009 Branch Validation |
97 | | -+ |
98 | | -+| Check | Status | Notes | |
99 | | -+|---|---|---| |
100 | | -+| Started from main | PASS | Checked out `main` before EOD merge sequence. | |
101 | | -+| Pulled latest main | PASS | `git pull --ff-only` completed before merge work. | |
102 | | -+| Start branch was main | PASS | Current branch was `main` at the start gate. | |
103 | | -+| Start worktree clean | PASS | `git status --short` returned clean. | |
104 | | -+| Start main/origin sync | PASS | `main...origin/main` returned `0 0`. | |
105 | | -+| PR_006 merged before PR_009 | PASS | PR #189 was already merged. | |
106 | | -+| PR_007 merged before PR_009 | PASS | PR #199 was already merged. | |
107 | | -+| PR_008 merged before PR_009 | PASS | PR #200 was marked ready, merged, and main was pulled. | |
108 | | -+| Main clean/synced after PR_008 | PASS | Worktree clean and `main...origin/main` returned `0 0`. | |
109 | | -+| PR_009 branch created from updated main | PASS | Branch `PR_26175_DELTA_009-replay-event-service-coverage` created from `1dcfc080a`. | |
110 | | -+ |
111 | | -diff --git a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_manual-validation-notes.md b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_manual-validation-notes.md |
112 | | -new file mode 100644 |
113 | | -index 000000000..561a68802 |
114 | | ---- /dev/null |
115 | | -+++ b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_manual-validation-notes.md |
116 | | -@@ -0,0 +1,9 @@ |
117 | | -+# PR_26175_DELTA_009 Manual Validation Notes |
118 | | -+ |
119 | | -+- Confirmed this PR only expands `test:service:runtime`. |
120 | | -+- Confirmed `tests/replay/ReplayTimeline.test.mjs` and `tests/events/EventBus.test.mjs` pass under the existing shared Node test-file runner. |
121 | | -+- Confirmed no API files were touched, so `npm run test:service:api` was not required. |
122 | | -+- Confirmed no new npm command or runner was added. |
123 | | -+- Confirmed no `test:delta-runtime` command exists. |
124 | | -+- Confirmed `scripts/run-delta-runtime-validation.mjs` does not exist. |
125 | | -+- Confirmed no source runtime, UI, browser storage, project JSON, runtime workspace JSON, or status bar files were modified. |
| 5 | +@@ -12,4 +12,3 @@ |
| 6 | + | PR_008 merged before PR_009 | PASS | PR #200 was marked ready, merged, and main was pulled. | |
| 7 | + | Main clean/synced after PR_008 | PASS | Worktree clean and `main...origin/main` returned `0 0`. | |
| 8 | + | PR_009 branch created from updated main | PASS | Branch `PR_26175_DELTA_009-replay-event-service-coverage` created from `1dcfc080a`. | |
| 9 | +- |
126 | 10 | diff --git a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_requirements-checklist.md b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_requirements-checklist.md |
127 | | -new file mode 100644 |
128 | | -index 000000000..0d1f1c45b |
129 | | ---- /dev/null |
| 11 | +index 0d1f1c45b..31f1f33d9 100644 |
| 12 | +--- a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_requirements-checklist.md |
130 | 13 | +++ b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_requirements-checklist.md |
131 | | -@@ -0,0 +1,19 @@ |
132 | | -+# PR_26175_DELTA_009 Requirements Checklist |
133 | | -+ |
134 | | -+| Requirement | Status | Notes | |
135 | | -+|---|---|---| |
136 | | -+| Expand replay and runtime event service coverage | PASS | Runtime service lane now includes replay timeline and event bus tests. | |
137 | | -+| Reuse existing service-level testing | PASS | Existing `test:service:runtime` command expanded. | |
138 | | -+| Do not add new npm commands unless strictly necessary | PASS | No new npm command added. | |
139 | | -+| Do not add a new runner | PASS | Existing `scripts/run-node-test-files.mjs` reused. | |
140 | | -+| Do not create team-specific test commands | PASS | No Delta-named command added. | |
141 | | -+| Do not duplicate existing tests | PASS | Existing files are included once in the service lane. | |
142 | | -+| Keep `npm test` site-wide | PASS | `npm test` unchanged. | |
143 | | -+| No unrelated cleanup | PASS | Only `package.json` and required reports/artifacts changed. | |
144 | | -+| No UI changes | PASS | No UI files changed. | |
145 | | -+| No browser-owned product data | PASS | No persisted browser data changed. | |
146 | | -+| No silent fallbacks | PASS | No runtime behavior changed. | |
147 | | -+| No hidden defaults | PASS | No runtime behavior changed. | |
148 | | -+| Required reports | PASS | Report packet and Codex artifacts created. | |
149 | | -+| Repo-structured ZIP | PASS | `tmp/PR_26175_DELTA_009-replay-event-service-coverage_delta.zip`. | |
150 | | -+ |
| 14 | +@@ -16,4 +16,3 @@ |
| 15 | + | No hidden defaults | PASS | No runtime behavior changed. | |
| 16 | + | Required reports | PASS | Report packet and Codex artifacts created. | |
| 17 | + | Repo-structured ZIP | PASS | `tmp/PR_26175_DELTA_009-replay-event-service-coverage_delta.zip`. | |
| 18 | +- |
151 | 19 | diff --git a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_validation-lane.md b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_validation-lane.md |
152 | | -new file mode 100644 |
153 | | -index 000000000..f1e320520 |
154 | | ---- /dev/null |
| 20 | +index f1e320520..afbadc7a9 100644 |
| 21 | +--- a/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_validation-lane.md |
155 | 22 | +++ b/docs_build/dev/reports/PR_26175_DELTA_009-replay-event-service-coverage_validation-lane.md |
156 | | -@@ -0,0 +1,30 @@ |
157 | | -+# PR_26175_DELTA_009 Validation Lane |
158 | | -+ |
159 | | -+## Commands |
160 | | -+ |
161 | | -+```powershell |
162 | | -+npm run test:service:runtime |
163 | | -+$pkg = Get-Content -Raw package.json | ConvertFrom-Json; if ($pkg.scripts.PSObject.Properties.Name -contains 'test:delta-runtime') { throw 'test:delta-runtime exists' }; if ($pkg.scripts.test -ne 'node ./scripts/run-node-tests.mjs') { throw 'npm test changed unexpectedly' } |
164 | | -+if (Test-Path scripts/run-delta-runtime-validation.mjs) { throw 'unexpected delta runtime script' } |
165 | | -+rg -n "delta-runtime|run-delta-runtime|test:delta" package.json scripts tests src |
166 | | -+git diff --check |
167 | | -+``` |
168 | | -+ |
169 | | -+## Results |
170 | | -+ |
171 | | -+| Command | Status | |
172 | | -+|---|---| |
173 | | -+| `npm run test:service:runtime` | PASS | |
174 | | -+| Package command assertion | PASS | |
175 | | -+| Delta harness absence check | PASS | |
176 | | -+| Delta command grep | PASS - no matches | |
177 | | -+| `git diff --check` | PASS | |
178 | | -+ |
179 | | -+## Runtime Service Files |
180 | | -+ |
181 | | -+`npm run test:service:runtime` passed 23 targeted Node test files. |
182 | | -+ |
183 | | -+## Browser / Playwright |
184 | | -+ |
185 | | -+SKIP - No browser UI files changed. |
186 | | -+ |
| 23 | +@@ -27,4 +27,3 @@ git diff --check |
| 24 | + ## Browser / Playwright |
| 25 | + |
| 26 | + SKIP - No browser UI files changed. |
| 27 | +- |
0 commit comments