Skip to content

Add extended promotional component filter#324

Open
SimplyRayYZL wants to merge 7 commits into
tscircuit:mainfrom
SimplyRayYZL:add-extended-promotional-filter
Open

Add extended promotional component filter#324
SimplyRayYZL wants to merge 7 commits into
tscircuit:mainfrom
SimplyRayYZL:add-extended-promotional-filter

Conversation

@SimplyRayYZL
Copy link
Copy Markdown

@SimplyRayYZL SimplyRayYZL commented May 20, 2026

Summary

  • Adds extended_promotional into component catalog/search index materialization.
  • Adds indexes and D1 search filtering via is_extended_promotional=true.
  • Exposes the field in search API results and the HTML filter UI.
  • Updates stale 7-Zip setup download URLs so the full setup path can still fetch 7zz during cache misses.
  • Switches the Bun Test workflow to a small deterministic SQLite fixture DB, avoiding multi-GB upstream cache rebuilds in PR CI.
  • Installs cf-proxy dependencies in the Bun Test workflow before running root-level tests.
  • Keeps the derived-table setup helper from destroying the shared DB singleton used by route tests.

Validation

  • npx --yes @biomejs/biome@1.9.4 check scripts/setup-7z.ts scripts/setup-test-db.ts lib/db/derivedtables/setup-derived-tables.ts
  • JLCSEARCH_DB_PATH=.tmp/test-db.sqlite3 npx --yes bun run scripts/setup-test-db.ts && JLCSEARCH_DB_PATH=.tmp/test-db.sqlite3 npx --yes bun test
  • npx --yes bun x tsc --noEmit
  • git diff --check
  • Verified current 7-Zip Linux x64, Linux ARM64, and macOS tarballs return HTTP 200.

/claim #92
Closes #92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add is_extended_promotional column to components (from data source)

2 participants