Repository navigation
Conversation
5 tasks
Implement QA check result caching to skip unchanged checks on re-run: - Add qa-cache.ts module with hash-based cache invalidation - Add qa-cache-cli.ts CLI helper for shell script integration - Update quality-checks.sh with --use-cache/--no-cache flags - Update QA skill SKILL.md with cache orchestration docs - Add 36 unit tests covering all acceptance criteria Cache uses git diff hash + config hash for content-based invalidation. Supports per-check cache lookup with configurable TTL (default 1 hour). Gracefully degrades to fresh run if cache is corrupted. Co-Authored-By: Claude Opus 4.5 <[email protected]>
When SEQUANT_ORCHESTRATOR is set (e.g., during orchestrated workflows), the state update CLI exits early with code 0 without processing commands. This caused test failures when running tests in environments where this variable was set. Fixed by: - Clearing SEQUANT_ORCHESTRATOR in runInTemp helper by default - Explicitly clearing in help output tests that use runCli directly Co-Authored-By: Claude Opus 4.5 <[email protected]>
Fixes ESLint no-unused-vars warnings in qa-cache.ts. Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
force-pushed
the
feature/228-perf-qa-add-caching-to-skip-unchanged-checks-on-re
branch
from
February 2, 2026 01:57
92ba7bb to
c41483d
Compare
The stats command now uses cli-ui colors instead of chalk directly. Co-Authored-By: Claude Opus 4.5 <[email protected]>
admarble
deleted the
feature/228-perf-qa-add-caching-to-skip-unchanged-checks-on-re
branch
February 2, 2026 02:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--use-cacheand--no-cacheflags to quality-checks.shPre-PR AC Verification
qa-cache.ts:420-440- set() method stores results keyed by check typeqa-cache.ts:180-227- computeDiffHash() and computeConfigHash()--no-cacheflag forces fresh runquality-checks.sh:35-44- USE_CACHE flag parsed and honoredquality-checks.sh:319-346- Cache Status Report sectionqa-cache.ts:339-345- catches parse errors, returns empty stateqa-cache.ts:494-498- log() method with verbose optionqa-cache.test.ts- 36 tests covering all operationsTest plan
npm test- qa-cache.test.ts)npm run build).sequant/.cache/qa/cache.json/qatwice and verify cache hit on second runCloses #228
🤖 Generated with Claude Code