You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coverage steps action was failing with "No tests found" error. Upon investigation, I found that the Jest command syntax in .github/actions/daily-test-improver/coverage-steps/action.yml was incorrect:
pnpm run test -- --coverage --coverageDirectory=coverage
The double-dash separator was causing Jest to interpret the coverage flags as test file patterns rather than Jest options.
Fix Applied
Created PR "Daily Test Coverage Improver - Fix Jest coverage command syntax" (draft) that corrects the command to:
pnpm run test --coverage --coverageDirectory=coverage
This fix was applied to 4 locations in the coverage steps action:
React tests with coverage
backend.ai-ui tests with coverage
React coverage summary generation
backend.ai-ui coverage summary generation
Next Steps
Review and merge the fix PR - This will enable the coverage steps to run successfully
Re-run the workflow - Once merged, the workflow will successfully generate coverage reports
Proceed to Phase 3 test improvements - With working coverage reports, I can analyze gaps and implement meaningful test additions
Test Infrastructure Discovered
Existing Test Files:
React project: 20+ test files covering hooks, components, helpers, and stores
backend.ai-ui package: 12+ test files covering components, fragments, and utilities
Test Framework:
Jest with jsdom environment
React Testing Library
Relay test utilities
Located in react/src/**/*.test.{ts,tsx} and packages/backend.ai-ui/src/**/*.test.{ts,tsx}
How to Control this Workflow
You can manage this workflow using these commands:
gh aw disable daily-test-improver --repo lablup/backend.ai-webui
gh aw enable daily-test-improver --repo lablup/backend.ai-webui
gh aw run daily-test-improver --repo lablup/backend.ai-webui --repeat (number-of-repeats)
gh aw logs daily-test-improver --repo lablup/backend.ai-webui
What Happens Next
Once the fix PR is merged, the next workflow run will successfully execute coverage steps
Coverage reports will be generated for both React and backend.ai-ui projects
Phase 3 will proceed with analyzing coverage gaps and implementing targeted test improvements
Future PRs will include specific test additions with measured coverage impact
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Phase 3 Update: Coverage Steps Fix
Issue Identified
The coverage steps action was failing with "No tests found" error. Upon investigation, I found that the Jest command syntax in
.github/actions/daily-test-improver/coverage-steps/action.ymlwas incorrect:pnpm run test -- --coverage --coverageDirectory=coverageThe double-dash separator was causing Jest to interpret the coverage flags as test file patterns rather than Jest options.
Fix Applied
Created PR "Daily Test Coverage Improver - Fix Jest coverage command syntax" (draft) that corrects the command to:
pnpm run test --coverage --coverageDirectory=coverageThis fix was applied to 4 locations in the coverage steps action:
Next Steps
Test Infrastructure Discovered
Existing Test Files:
Test Framework:
react/src/**/*.test.{ts,tsx}andpackages/backend.ai-ui/src/**/*.test.{ts,tsx}How to Control this Workflow
You can manage this workflow using these commands:
gh aw disable daily-test-improver --repo lablup/backend.ai-webui gh aw enable daily-test-improver --repo lablup/backend.ai-webui gh aw run daily-test-improver --repo lablup/backend.ai-webui --repeat (number-of-repeats) gh aw logs daily-test-improver --repo lablup/backend.ai-webuiWhat Happens Next
Beta Was this translation helpful? Give feedback.
All reactions