Repository navigation
ci: Throwaway, prove pr-checks on Node 22 - #1
Closed
nigelgwork wants to merge 2 commits into
Closed
nigelgwork wants to merge 2 commits into
nigelgwork wants to merge 2 commits into
Conversation
The pr-checks "Comment Test Coverage" job runs `npm run test:coverage`,
which failed because web-ui had no test files at all.
Adds 36 tests across 10 files, driven by a routed fetch mock whose
payloads are taken from the gateway handlers (MonitoringHandlers,
ExecutionHandlers, ScriptAndPackageHandlers, Python3LogsHandler,
Python3MetricsCollector):
- App: renders the dashboard, shows the login prompt on 401, and
navigates to every sidebar view.
- Dashboard, Scripts, Python Versions, Packages, Diagnostics and IDE:
heading and content with mocked data, empty and 500/unreachable
states, and key interactions (create script, install version/package,
pool resize validation, log level filter, run code via /exec).
- api.ts, authCheck.ts and useGatewayFetch: session creation, Bearer and
X-CSRF-Token headers, {data} unwrapping, HTTP and login-redirect errors.
The existing setup file now imports '@testing-library/jest-dom/vitest'
(the camera-driver pattern) so the matchers are typed for tsc.
No product code, versions or build files changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nigelgwork
added a commit
that referenced
this pull request
Nov 25, 2026
…method test 36 tests from a cloud run (payloads taken from the gateway route handlers) so the pr-checks coverage job has something to run; it passed on Node 22 in GitHub Actions on PR #1. Adds a test that Delete uses POST, which fails on the pre-4.6.6 DELETE call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Throwaway PR to run pr-checks on Node 22 after the 25/11 dependency upgrade. Closed unmerged, branch deleted.
🤖 Generated with Claude Code