The GitHub Actions job "npm_and_yarn in /telemetry/ui for http-proxy-middleware - Update #1457018772" on burr.git/main has failed. Run started by GitHub user dependabot[bot] (triggered by dependabot[bot]).
Head commit for run: 19d3fcfcf00015039a94463158fe40d22a2a2c89 / Timothy Lee <[email protected]> ci: release CI follow-ups: tighter coverage (#832) * ci: add files/scripts Rename examples/deep-researcher/utils.py to deep_researcher_utils.py to avoid basename collision with four other ASF-owned utils.py files that Apache RAT skips. Update .rat-excludes and the application import accordingly. Thread --skip-signing through cmd_verify in scripts/apache_release.py so CI can run full artifact verification without GPG keys present. Extend Apache RAT scanning to wheel (.whl) artifacts in addition to source and sdist tarballs, so license header regressions in packaged files are caught before the release vote. Closes #747 (partial) * ci: add smoke test improvements Replace fixed time.sleep(2) with a polling loop on /api/v0/projects so the smoke test waits only as long as necessary and fails fast if the server process exits unexpectedly. Launch the server in its own process group (start_new_session=True) and send SIGTERM to the whole group on teardown so uvicorn child processes are not orphaned. Add GET / check to verify the UI is being served by the installed wheel. Add --cleanup / --no-cleanup flag; defaults to cleanup locally but preserves the workspace in GITHUB_ACTIONS so artifacts are available for upload on failure. Add tests/test_ci_smoke_server.py covering all new testable helpers. Closes #747 (partial) * ci: add CI coverage gaps Add _wheel_content_hashes and _compare_wheel_contents to verify_apache_artifacts.py to compare wheels by file content hashes rather than binary equality (zip timestamps make byte-for-byte comparison unreliable). Add compare-wheels subcommand exposing this from the CLI. Add bare-install job: installs the wheel without optional extras and imports core symbols to catch accidental leakage of optional dependencies into core code. Add sdist-wheel-equivalence job: extracts the sdist tarball, rebuilds the wheel from it (including the npm frontend build), and compares content hashes against the CI-built wheel to catch files missing from the sdist. Pin the Apache RAT JAR download with a SHA256 checksum to guard against supply-chain tampering. Closes #747 (partial) * ci: add hygiene improvements Add scripts/check_asf_headers.py: checks that Python, YAML, and shell files carry the ASF license header. Reads .rat-excludes at runtime so known third-party files are automatically respected without duplicating the exclusion list. Wire the script into .pre-commit-config.yaml as a local hook so missing headers are caught before a commit lands. Add weekly cron schedule (Monday 09:00 UTC) to release-validation.yml so dependency drift against main is detected between releases. Add tests/test_check_asf_headers.py with 15 tests covering all helper functions and the main entry point. Closes #747 * style: apply black + fix RAT excludes for wheel dist-info Two small fixes on top of t1mato/burr@ci/release-ci-followups so CI goes green: * Black formatting on the four new/modified files (auto-fix; contributor can pull this back locally, or maintainers can just squash-in on merge). * Wheel RAT scan: sdist and src tarball RAT scans pass, but the newly-added wheel scan fails because auto-generated dist-info metadata files (METADATA, WHEEL, RECORD) have no source and no ASF header. Added those three basename globs to .rat-excludes. Verified locally: black + flake8 + isort clean on the touched files. RAT reproduction not possible without the jar, but the failure signature in CI matches this class of file exactly and the excludes are the minimum-necessary additions. * ci: exclude bundled UI assets from RAT; apply isort Follow-up fixes on top of the black + METADATA/WHEEL/RECORD change: * RAT was still finding 6 unapproved files in the wheel: the bundled tracking-UI static assets (index.html, minified CSS/JS bundles and their source maps). These are generated by the telemetry/ui build and shipped inside the wheel so the tracking server can serve them at runtime; they have no ASF headers, and their sources (telemetry/ui/src/**/*.tsx) carry their own headers checked against the source release. Added burr/tracking/server/build/** to .rat-excludes. * isort was failing on two files not part of this PR (burr/integrations/persisters/b_mongodb.py and tests/integrations/persisters/test_b_pymongo_driver_info.py) -- the current pre-commit config wants the imports collapsed to a single line. Applied. Local RAT run against the extracted wheel now shows 0 unapproved files (the CI wheel will not contain the stale examples/deep-researcher/utils.py that my local one had -- that file was renamed to deep_researcher_utils.py earlier in the PR). * style: drop unused 'import pytest' in two new test files (flake8 F401) * fix(release): honor --output-dir in wheel subcommand _build_wheel_from_current_dir was hardcoded to leave the wheel at dist/apache_burr-*.whl regardless of the --output-dir argument (flit build always writes to dist/). The Release Validation sdist-wheel-equivalence job (added in this PR) discovered this by extracting the sdist, cd-ing in, and running python scripts/apache_release.py wheel VERSION 0 \ --skip-signing --output-dir /tmp/sdist-wheel then comparing that wheel against the release wheel. The wheel was created but sat in <extracted-sdist>/dist/ instead of /tmp/sdist-wheel, so the compare step failed with 'Wheel not found: /tmp/sdist-wheel/...'. After flit build writes to dist/, move the wheel to output_dir if the caller specified a different location. No-op for the standard in-place build (output_dir defaults to 'dist'). --------- Co-authored-by: Elijah Ben Izzy <[email protected]> Report URL: https://github.com/apache/burr/actions/runs/29198342311 With regards, GitHub Actions via GitBox
