← Back to Pull requests

Fix: thread GITHUB_TOKEN into integration-test job too #90

Merged
mwimpelberg28 merged 1 files (9 lines) on Sep 12, 2026 08:12 UTC
View on GitHub
mwimpelberg28 mwimpelberg28 commented on Aug 31, 2026 19:57 UTC
Author

Summary

Follow-up to #89, which added GitHub asset-digest lookups (fetchGitHubAssetDigest, hitting api.github.com) to downloadInjector/downloadJavaAgent, and threaded GITHUB_TOKEN into the build-packages job so those lookups run authenticated.

It missed that local-apt-repo — a prerequisite of every integration-test-* Makefile target — depends on the .PHONY deb-packages/rpm-packages targets, so every integration-test job rebuilds the packages locally too, regardless of which language is under test, re-running the same digest lookups even though a prebuilt package was already downloaded in the prior step. Without a token there, those lookups run unauthenticated and share the 60/hour GitHub API rate limit across the runner IP pool — easy to exhaust once enough of the 24-job integration matrix (2 SYS_PACKAGE × 6 lang × 2 arch) runs concurrently:

error building deb injector: building info for injector: downloading injector:
fetching asset digest: fetching release metadata for
open-telemetry/opentelemetry-injector@v0.11.0: HTTP 403

Observed failing on #88's CI (integration-tests (deb, python, amd64), integration-tests (deb, lifecycle, amd64)), but the bug lives in the already-merged build.yml from #89, so it currently affects every PR's integration-tests job, not just #88's.

This threads GITHUB_TOKEN into that job's step the same way build-packages already gets it.

Test plan


  • YAML syntax validated

  • CI on this PR itself exercises the fix (integration-tests jobs should stop hitting HTTP 403)
  • Diff: 9 lines (+0 / -9) across 1 files Reviewer: mmanciop Review duration: 16575m
    All Vouch review confidence checks passed
    Residual risk 0.12 = Change Risk (0.40) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 9 lines diff across 1 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.46 · 2 substantive comment(s)
    0.46
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    69%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.138
    Sensitive Paths sensitive_paths
    0.040
    Real PR Conversation Timeline
    5 items
    mmanciop mmanciop commented on code on Sep 10, 2026 20:12 UTC
    Code Review
    .github/workflows/build.yml:1
    @@ -119,6 +119,17 @@ jobs:
               path: ./build/packages
     
           - name: Run packaging integration tests for ${{ matrix.SYS_PACKAGE }}/${{ matrix.lang }}/${{ matrix.arch }}
    +        env:
    +          # local-apt-repo (a prerequisite of every integration-test-*

    @mwimpelberg28 could you please remove this not particularly-useful comment?

    mmanciop mmanciop requested changes on Sep 10, 2026 20:12 UTC
    Changes Requested Reviewer

    Requested changes.

    mwimpelberg28 mwimpelberg28 commented on code on Sep 11, 2026 17:04 UTC
    Code Review
    .github/workflows/build.yml:1
    @@ -119,6 +119,17 @@ jobs:
               path: ./build/packages
     
           - name: Run packaging integration tests for ${{ matrix.SYS_PACKAGE }}/${{ matrix.lang }}/${{ matrix.arch }}
    +        env:
    +          # local-apt-repo (a prerequisite of every integration-test-*

    Removed — thanks!

    mmanciop mmanciop approved these changes on Sep 12, 2026 08:12 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    mwimpelberg28 mwimpelberg28
    Labels
    risk: low confidence: 69.1% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.9% (MEDIUM) · Higher = larger blast radius
    39.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 69.1% · Lower = rushed or shallow review
    69.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 12.3% · Safe to merge
    12.3%