Skip to content

Commit 94b4f37

Browse files
tamirdresherCopilot
andcommitted
fix: remove stale main-only team-state test and franken-merged beforeAll artifact
- test/e2e-runbook-hygiene.test.ts: deliberately deleted from dev in PR #2015 (Isolate Squad product assets from team state) because it read live .squad state. It survived only on main (added at v0.13.0, no promotion since), so the dev-vs-main merge resurrected it. Removing it to match dev's documented, traceable intent — not a blanket ours/theirs choice. - test/template-sync.test.ts: the 3-way merge auto-combined non-overlapping hunks from dev (simplified describe block, no beforeAll) and main (legacy describe-scoped beforeAll retained for historical defence-in-depth) into semantically broken code referencing an unimported beforeAll. Replaced with dev's complete, authoritative file content (byte-identical to origin/dev). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 9fbcf35 commit 94b4f37

2 files changed

Lines changed: 0 additions & 211 deletions

File tree

‎test/e2e-runbook-hygiene.test.ts‎

Lines changed: 0 additions & 197 deletions
This file was deleted.

‎test/template-sync.test.ts‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,6 @@ const CASTING_REGISTRY_LOCATIONS = [
110110
// ---------------------------------------------------------------------------
111111

112112
describe('dynamic template enumeration (all synced files)', () => {
113-
// Re-sync immediately before byte comparisons as a second layer of defence.
114-
// The original race — test/init-scaffolding.test.ts running runInit() against
115-
// a sandbox under the repo root, so monorepo resolution stamped the real
116-
// .github/agents/squad.agent.md — was fixed in #1796 by moving that sandbox
117-
// to the OS temp dir. This describe-scoped beforeAll is retained to keep the
118-
// window closed if any future suite reintroduces an in-repo sandbox.
119-
beforeAll(() => {
120-
execSync('node scripts/sync-templates.mjs', {
121-
cwd: ROOT,
122-
encoding: 'utf-8',
123-
timeout: 60_000,
124-
});
125-
});
126-
127113
const sourceFiles = collectFiles(SOURCE_DIR);
128114

129115
it('.squad-templates/ contains files to sync', () => {

0 commit comments

Comments
 (0)