mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-08 12:21:26 +02:00
test: fold per-incident replay series into their detector owners (D)
Twelve detector families move into one owner test each: 73 incident files become describe blocks in ceo-section-loading-fixture (stale-fill race), model-overlays, coverage-audit-evidence, autoplan-phase-observer, native-auto-decide, outside-voice-evidence, eng-first-review, plan-count-completion, plan-count-file-permission, ceo-mode-option, plan-scope-selection and plan-count-prerequisite. Each block keeps its original code and fixture, so every case still runs; only tests asserting the incident file's own touchfile registration are dropped (41). Touchfile lists that named an incident now name its owner.
This commit is contained in:
1 parent
6415690a18
commit
0489bc9fe8
89 files changed
+8091
-8373
No files matched your search
@@ -310,8 +310,8 @@ test('same-plan expansion disposition replay selects the existing mode helper co
|
||||
test('structured auto-decision evidence selects every native observer', () => {
|
||||
const expected = ['auto-decide-preserved', 'plan-ceo-review-plan-mode',
|
||||
'plan-design-review-plan-mode', 'plan-devex-review-plan-mode', 'plan-eng-review-plan-mode', 'plan-mode-no-op'];
|
||||
for (const file of ['test/auto-decide-structured.test.ts', 'test/fixtures/auto-decide-structured-77.json',
|
||||
'test/helpers/auto-decision-state.ts', 'test/auto-decision-state.test.ts', 'test/fixtures/auto-decide-state-cab3.json']) {
|
||||
for (const file of ['test/fixtures/auto-decide-structured-77.json',
|
||||
'test/helpers/auto-decision-state.ts', 'test/fixtures/auto-decide-state-cab3.json']) {
|
||||
expect([...selectTests([file], E2E_TOUCHFILES).selected].sort()).toEqual(expected);
|
||||
expect(selectTests([file], LLM_JUDGE_TOUCHFILES).selected).toEqual([]);
|
||||
}
|
||||
@@ -326,8 +326,8 @@ test('explanatory native mode evidence selects all observers with their existing
|
||||
const expected = ['auto-decide-preserved', 'office-hours-auto-mode',
|
||||
'plan-ceo-review-plan-mode', 'plan-design-review-plan-mode', 'plan-devex-review-plan-mode',
|
||||
'plan-eng-review-plan-mode', 'plan-mode-no-op'];
|
||||
for (const file of ['test/helpers/native-auto-decide.ts', 'test/auto-decide-current-declaration.test.ts',
|
||||
'test/fixtures/auto-decide-current-declaration-6aef.json', 'test/auto-decide-explanatory-mode.test.ts',
|
||||
for (const file of ['test/helpers/native-auto-decide.ts', 'test/native-auto-decide.test.ts',
|
||||
'test/fixtures/auto-decide-current-declaration-6aef.json', 'test/native-auto-decide.test.ts',
|
||||
'test/fixtures/auto-decide-explanatory-mode-043a.json', 'test/fixtures/auto-decide-explanatory-mode-749df.json']) {
|
||||
expect([...selectTests([file], E2E_TOUCHFILES).selected].sort()).toEqual(expected);
|
||||
expect(selectTests([file], LLM_JUDGE_TOUCHFILES).selected).toEqual([]);
|
||||
@@ -409,9 +409,9 @@ const nativeRepairDependencies = [
|
||||
{
|
||||
"name": "AUTO mode declarations",
|
||||
"files": [
|
||||
"test/auto-decide-recommendation-scope.test.ts",
|
||||
"test/native-auto-decide.test.ts",
|
||||
"test/fixtures/auto-decide-recommendation-361c.json",
|
||||
"test/auto-decide-target-identity.test.ts",
|
||||
"test/native-auto-decide.test.ts",
|
||||
"test/fixtures/auto-decide-target-361c.json"
|
||||
],
|
||||
"owners": [
|
||||
|
||||
Reference in new issue
Block a user