Skip to content

CI: Integration Parser Remote Fetch tests break main due to unused context import #43320

Description

@github-actions

Problem

pkg/parser/remote_fetch_integration_test.go imports the context package at line 6 but never uses context.xxx directly (functions use t.Context() which is a method on *testing.T, not the context package).

This causes a build failure in integration tests:

pkg/parser/remote_fetch_integration_test.go:6:2: "context" imported and not used
FAIL	github.com/github/gh-aw/pkg/parser [build failed]

Impact

Breaking CI on mainIntegration: Parser Remote Fetch & Cache and Integration Unauthenticated Add (Public Repo) jobs fail on every CI run.

CI success rate: ~50% today due to this. Affected runs: §28696524336, §28696072140, §28695863684. Previous fix attempt PR #43306 was closed without merge. The arc_dind_artifacts.go and log_parser_bootstrap issues were fixed in #43316 but this context import was not included.

Fix

Remove the "context" import from line 6 of pkg/parser/remote_fetch_integration_test.go. The file uses t.Context() (a method on *testing.T available in Go 1.21+), not the standalone context package.

Generated by 🏥 Workflow Health Manager - Meta-Orchestrator · 212.4 AIC · ⌖ 5.25 AIC · ⊞ 7.8K ·

  • expires on Jul 4, 2026, 9:54 PM UTC-08:00

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions