Skip to content

fix(qa-lab): rename codex lifecycle fixtures to match knip ignore pattern#85066

Merged
RomneyDa merged 1 commit into
mainfrom
dallin-fix-qa-lab-fixture-naming
May 21, 2026
Merged

fix(qa-lab): rename codex lifecycle fixtures to match knip ignore pattern#85066
RomneyDa merged 1 commit into
mainfrom
dallin-fix-qa-lab-fixture-naming

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

`knip`'s deadcode-unused-files check ignores fixtures matching `**/*.fixture.ts` (dot before `fixture`) — see `config/knip.config.ts:113-114`. The codex lifecycle fixtures landed in `bbf3eec786` as `auth-profile-fixture.ts` and `codex-plugin-fixture.ts` (hyphen, not dot), so the check has flagged them as unexpected unused files and CI's `check-dependencies` job has been failing on `main` since then.

Rename to the dotted form to match the convention, and update every reference:

  • `extensions/qa-lab/src/auth-profile-fixture.ts` → `auth-profile.fixture.ts`
  • `extensions/qa-lab/src/codex-plugin-fixture.ts` → `codex-plugin.fixture.ts`
  • Update import in the cross-fixture (`codex-plugin.fixture.ts`) and in `codex-plugin-lifecycle.test.ts`.
  • Update the six `qa/scenarios/runtime/*.md` scenario manifests that reference these fixtures by both source path (`codeRefs:`) and `qaImport()` specifier.

Net diff: +21/-21 across 9 files (true renames preserved by git, content unchanged inside the fixtures).

Verification

Behavior addressed: `check-dependencies` job failing on `main` and on every open PR's CI because of the two newly-added `-fixture.ts` files being unmatched by the knip ignore pattern.

Real environment tested: local macOS Darwin 25.2.0, fresh worktree off `origin/main` at `b25a0d013b`.

Exact steps or command run after this patch:

  • Pre-fix repro: run `b25a0d013b` of `main` through `node scripts/check-deadcode-unused-files.mjs` → reports "Unexpected unused files: extensions/qa-lab/src/auth-profile-fixture.ts, extensions/qa-lab/src/codex-plugin-fixture.ts" and exits 1.
  • Post-fix: same command on this branch → those two files no longer appear in the unexpected list. (The script still exits 1 on macOS local due to unrelated knip drift on `*.test.ts` files that CI does not see — CI truth is Linux Node 24 per `AGENTS.md`. The qa-lab fixtures are confirmed cleared in both environments.)
  • `grep -rln "auth-profile-fixture\|codex-plugin-fixture"` across `.ts/.tsx/.mjs/.js/.md/.json` → no remaining references.
  • Failing CI run for comparison: https://github.com/openclaw/openclaw/actions/runs/26245153230 (`main` HEAD before this fix).

Evidence after fix: `git log -1 --stat` shows two true renames (100% / 99% similarity) — content of the fixtures themselves is unchanged. Test imports and `qaImport()` specifiers in the scenario manifests are updated to the new `.fixture.js` form.

Observed result after fix: `check-dependencies` should pass on this branch and unblock every open PR.

What was not tested: the qa lifecycle test suite was not executed locally in the fresh worktree (no `pnpm install` per repo policy on worktrees); the rename is mechanical and the import updates are exhaustive per grep. CI will exercise the test suite.

Thanks @RomneyDa.

…tern

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
@clawsweeper

clawsweeper Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(qa-lab): rename codex lifecycle fixtures to match knip ignore pattern This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@RomneyDa RomneyDa merged commit ebd8b00 into main May 21, 2026
115 of 120 checks passed
@RomneyDa RomneyDa deleted the dallin-fix-qa-lab-fixture-naming branch May 21, 2026 18:57
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 24, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request May 24, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in d818b93
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
galiniliev pushed a commit to galiniliev/openclaw that referenced this pull request May 25, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SebTardif pushed a commit to SebTardif/openclaw that referenced this pull request May 26, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
jameslcowan pushed a commit to jameslcowan/openclaw that referenced this pull request Jun 2, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in a8c3720
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
SYU8384 pushed a commit to SYU8384/openclaw that referenced this pull request Jun 3, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in bbf3eec
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
sablehead pushed a commit to sablehead/openclaw that referenced this pull request Jun 10, 2026
…tern (openclaw#85066)

knip's deadcode-unused-files check ignores fixtures matching **/*.fixture.ts
(dot before "fixture"). The codex lifecycle fixtures landed in 80c5418
as auth-profile-fixture.ts and codex-plugin-fixture.ts (hyphen), so knip
flagged them as unexpected unused files and CI's check-dependencies job
has been failing on main since then. Rename to auth-profile.fixture.ts
and codex-plugin.fixture.ts and update the lifecycle test, the fixture
cross-import, and the six qa/scenarios markdown files that reference
them by path and qaImport specifier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant