Enforce build+tests; add indexer option in test

Update CLAUDE.md to require both `docker compose build readmeabook` and a full `npm run test` (0 failures) before reporting work as ready to be tested. Also modify tests/components/admin-settings-indexers.test.tsx to include `indexerOptions.skipUnreleased: true` in the test fixture so the test reflects the skipUnreleased option.
This commit is contained in:
kikootwo
2026-05-16 10:46:06 -04:00
parent 1065577a04
commit 8bcfadc877
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
**Critical:** This document defines AI-optimized documentation standards and development workflow. **NEVER PERFORM COMMITS ON THE REPOSITORY.** **Critical:** This document defines AI-optimized documentation standards and development workflow. **NEVER PERFORM COMMITS ON THE REPOSITORY.**
**ALWAYS DO:** When you feel work is complete, use the docker compose build readmebook to confirm you have no errors. If the build succeeds, then you can tell me it is ready to be tested. **ALWAYS DO:** When you feel work is complete, you MUST verify BOTH of the following pass before reporting the work as ready to test:
1. `docker compose build readmeabook` — must succeed with no errors.
2. `npm run test` — the FULL test suite must pass (0 failures). Running a subset is not sufficient; the entire suite must be green.
Only after BOTH succeed may you tell the user the work is ready to be tested.
**NEVER implement without approval.** When asked to assess, investigate, or fix a problem: **NEVER implement without approval.** When asked to assess, investigate, or fix a problem:
1. **Research & analyze** — Read code, trace the issue, identify root cause. 1. **Research & analyze** — Read code, trace the issue, identify root cause.
@@ -96,6 +96,9 @@ describe('IndexersTab - Auto-load Indexers on Tab Activation', () => {
url: 'http://prowlarr.local:9696', url: 'http://prowlarr.local:9696',
apiKey: 'test-api-key', apiKey: 'test-api-key',
}, },
indexerOptions: {
skipUnreleased: true,
},
downloadClient: { downloadClient: {
type: 'qbittorrent', type: 'qbittorrent',
url: 'http://localhost:8080', url: 'http://localhost:8080',