Skip to content

Run the identifier web app checks in CI - #280

Merged
longsleep merged 1 commit into
libregraph:masterfrom
longsleep-io:upstream/7-identifier-checks
Oct 13, 2026
Merged

longsleep merged 1 commit into
libregraph:masterfrom
longsleep-io:upstream/7-identifier-checks

Conversation

@longsleep

Copy link
Copy Markdown
Collaborator

The build job bundles the identifier web app but never runs its lint, type check or tests. #278 showed the gap: its jsdom bump to 30.1.2 stops Vitest from starting a single test file, and CI still reported success.

A new step Check identifier runs make -C identifier check (Biome, tsc, Vitest) after the Go lint and before the build, so an update which breaks them turns the run red. It needs no extra setup: the Vendor step already installs the web app dependencies, and the test target generates the app icon it needs. It leaves no tracked file changed, so the Dist step's clean check is unaffected.

Tests

From a clean checkout, after make -C identifier vendor, make -C identifier check passes on master (317 tests) and leaves the tree clean. With jsdom 30.1.2 the same target fails.

The build job bundled the identifier web app but never ran its lint,
type check or tests. Dependabot's grouped update libregraph#278 moved jsdom to
30.1.2, with which Vitest cannot start a single test file, and CI still
reported success.

build.yml now runs make -C identifier check, which is Biome, tsc and
Vitest, after the Go lint and before the build, so a dependency update
which breaks any of them turns the run red.

The step needs no extra setup. The Vendor step already installs the web
app dependencies, and since the test target generates the app icon it
needs, check also works on a fresh checkout that was never built. It
leaves no tracked file changed, so the clean check of the later Dist
step is unaffected.

From a clean worktree, after make -C identifier vendor, the check
passes on master with 317 tests and leaves git status clean apart from
the workflow. With jsdom 30.1.2 the same target fails.
@longsleep
longsleep merged commit 2835563 into libregraph:master Oct 13, 2026
2 checks passed
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