-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore: add knip health checks to repo #32994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
| - install-required-node | ||
| - run: | ||
| name: Health Check (Knip) | ||
| command: yarn health-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Missing root health-check script for CI
The CircleCI job runs yarn health-check but no health-check script exists in the root package.json. Only the cli workspace defines this script as knip --workspace cli, which would only check the cli workspace. The root package needs a script like health-check: "knip" to run knip across all workspaces defined in knip.json, similar to how check-ts is defined as yarn lerna run check-ts.
cypress
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Project |
cypress
|
| Branch Review |
knip-integration
|
| Run status |
|
| Run duration | 18m 46s |
| Commit |
|
| Committer | Jennifer Shehane |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
2
|
|
|
14
|
|
|
1098
|
|
|
4
|
|
|
26695
|
| View all changes introduced in this branch ↗︎ | |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
45.61%
|
|
|---|---|
|
|
187
|
|
|
161
|
Accessibility
98%
|
|
|---|---|
|
|
4 critical
8 serious
2 moderate
2 minor
|
|
|
101
|
Tests for review
studio-ui.cy.ts • 1 failed test • app-e2e
| Test | Artifacts | |
|---|---|---|
| Cypress Studio - UI and Panel Management > studio AI is marked as coming soon |
Test Replay
Screenshots
|
|
studio-state-management.cy.ts • 1 failed test • app-e2e
| Test | Artifacts | |
|---|---|---|
| Cypress Studio - State Management > remains in studio mode when the test name is changed on the file system and file watching is disabled |
Test Replay
Screenshots
|
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-electron
| Test | Artifacts | |
|---|---|---|
| issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
|
e2e/origin/commands/waiting.cy.ts • 1 flaky test • 5x-driver-chrome:beta
| Test | Artifacts | |
|---|---|---|
| ... > throws when foo cannot resolve |
Test Replay
|
|
issues/28527.cy.ts • 1 flaky test • 5x-driver-chrome:beta
| Test | Artifacts | |
|---|---|---|
| issue 28527 > fails and then retries and verifies about:blank is not displayed |
Test Replay
Screenshots
|
|
commands/waiting.cy.js • 2 flaky tests • 5x-driver-chrome
| Test | Artifacts | |
|---|---|---|
| ... > errors > throws when route is never resolved |
Test Replay
|
|
| ... > errors > throws when waiting for 2nd response to route |
Test Replay
|
|
e2e/origin/config_env.cy.ts • 1 flaky test • 5x-driver-chrome
| Test | Artifacts | |
|---|---|---|
| cy.origin- Cypress.config() > serializable > overwrites different values in secondary if one exists in the primary |
Test Replay
|
|
The first 5 flaky specs are shown, see all 13 specs in Cypress Cloud.
Additional details
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation?type definitions?Note
Adds a Knip-based repository health check with a new CI job and configuration, integrates it into PR/main workflows, and updates scripts/dependencies.
health-checkjob runningyarn health-check(Knip) in.circleci/src/pipeline/@pipeline.yml.health-checkinworkflows/@main.ymlandworkflows/pull-request.ymlafterbuild; gateready-to-releaseonhealth-check.knip.jsonconfiguration at the repo root.package.json: addknipdev dependency.cli/package.json: addhealth-checkscript (knip --workspace cli); remove legacy dependency-check script/dependency.packages/data-context/package.json: add dev dependency@jest/globals.yarn.lockfor new/updated packages (Knip and transitive deps).Written by Cursor Bugbot for commit de48f41. This will update automatically on new commits. Configure here.