Skip to content

Test saved-report upgrades and update the CI scanner - #17

Merged
Huldoser merged 2 commits into
mainfrom
test/release-upgrades
Nov 29, 2026
Merged

Huldoser merged 2 commits into
mainfrom
test/release-upgrades

Conversation

@Huldoser

Copy link
Copy Markdown
Owner

Run saved-report compatibility checks in the regular test suite. The fixtures come from the published CLIs. Each test validates the full inventory, symbol report and entry report against the current schema, then uses the current library to replay both queries from the saved inventory.

Producer Source fixture Queries
0.2.1 Partial JavaScript scan with declaration files Usages of encode and reachability from consumer.test.js
0.3.0 Complete route-handler scan Usages of statusText and reachability from an explicit invocation of GET

The tests use Ajv 6.15.0, already present in the lockfile, as a direct development dependency. CI now pins zizmor-action v0.9.2 and zizmor 1.33.1.

Verification

  • npm run check passed all 46 tests, type checking, build, lint and formatting.
  • A clean offline install of the packed branch passed the nine-function TypeScript consumer check, both query replays and schema validation for all six reports.
  • Offline OSV scans reported no issues across 163 project lockfile packages and three consumer lockfile packages.
  • Actionlint 1.7.12 and zizmor 1.33.1 checked both workflows locally. The offline zizmor run reported no findings and four suppressed.

Exercise the public query functions and JSON schema against saved output from the released 0.2.1 and 0.3.0 CLIs. Cover a partial JavaScript project and an explicitly invoked route handler on every test run.
Pin the action release that includes the hashed 1.33.1 scanner wheels so hosted checks use the tested version.
@Huldoser
Huldoser merged commit af9b782 into main Nov 29, 2026
6 checks passed
@Huldoser
Huldoser deleted the test/release-upgrades branch November 29, 2026 14:00
Huldoser added a commit that referenced this pull request Nov 29, 2026
Bump the package and lockfile to 0.3.2 to release the saved-report
upgrade tests and workflow scanner update from #17.

- `npm run check` passed all 46 tests.
- The packed archive contains 33 files. Only package.json differs from
0.3.1.
- A clean offline installation passed all nine public API checks. The
installed CLI found four direct calls to `normalize` in the basic
fixture.
- Offline OSV scans reported no issues across the 163-package project
lockfile and the three-package consumer lockfile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant