During Phase 2 of the Daily Test Coverage Improver workflow, the coverage-steps action.yml was created and a PR was opened, but manual validation of the steps could not be completed.
Problem
The runner environment has a network firewall that blocks outbound SSL/TLS connections to package registries. Running yarn install in the agent environment fails with:
RequestError: write EPROTO ... ssl3_get_record:wrong version number
This prevents installing node_modules, which is a prerequisite for running yarn build, yarn lerna run test:c8, and yarn c8 report.
Impact
The coverage-steps action.yml was authored based on careful review of:
scripts/ci/generate-test-coverage-report.sh
.github/workflows/test-all-packages.yml
- Package
package.json scripts across the monorepo
However, the steps could not be verified by executing them in this environment.
Resolution
The coverage-steps action should be validated when the PR is merged and triggered in a real GitHub Actions runner that has network access. The PR is: see PRs with title "Daily Test Coverage Improver - Updates to complete configuration"
Alternatively, a maintainer with a local checkout can validate by running:
rm -rf coverage/tmp coverage/html
mkdir -p coverage/tmp
export NODE_V8_COVERAGE="$PWD/coverage/tmp"
export C8_OPTIONS="--clean=false"
export NODE_OPTIONS="--max-old-space-size=4096"
yarn build
yarn lerna run test:c8 --no-bail
yarn c8 report --all --include 'packages/*/{src,tools}' --reporter=html-spa --reporter=text-summary --reports-dir=coverage/html
Generated by Daily Test Coverage Improver
To install this workflow, run gh aw add githubnext/agentics/workflows/daily-test-improver.md@42d5a50bca89dfba883981429036469ab90a4758. View source at https://github.com/githubnext/agentics/tree/42d5a50bca89dfba883981429036469ab90a4758/workflows/daily-test-improver.md.
During Phase 2 of the Daily Test Coverage Improver workflow, the coverage-steps
action.ymlwas created and a PR was opened, but manual validation of the steps could not be completed.Problem
The runner environment has a network firewall that blocks outbound SSL/TLS connections to package registries. Running
yarn installin the agent environment fails with:This prevents installing
node_modules, which is a prerequisite for runningyarn build,yarn lerna run test:c8, andyarn c8 report.Impact
The coverage-steps action.yml was authored based on careful review of:
scripts/ci/generate-test-coverage-report.sh.github/workflows/test-all-packages.ymlpackage.jsonscripts across the monorepoHowever, the steps could not be verified by executing them in this environment.
Resolution
The coverage-steps action should be validated when the PR is merged and triggered in a real GitHub Actions runner that has network access. The PR is: see PRs with title "Daily Test Coverage Improver - Updates to complete configuration"
Alternatively, a maintainer with a local checkout can validate by running: