Skip to content

fix: remove unused context import breaking CI builds in parser integration tests#43323

Merged
pelikhan merged 1 commit into
mainfrom
copilot/fix-go-build-and-lint
Jul 4, 2026
Merged

fix: remove unused context import breaking CI builds in parser integration tests#43323
pelikhan merged 1 commit into
mainfrom
copilot/fix-go-build-and-lint

Conversation

Copilot AI commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

pkg/parser/remote_fetch_integration_test.go imported "context" but never used it — all call sites use t.Context() from *testing.T. This caused a compile error that failed two CI integration jobs on every push to main:

pkg/parser/remote_fetch_integration_test.go:6:2: "context" imported and not used

Affected CI jobs:

  • Integration: Parser Remote Fetch & Cache
  • Integration Unauthenticated Add (Public Repo)

Change: Remove the unused "context" import.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title fix: remove unused context import causing CI build failure fix: remove unused context import breaking CI builds in parser integration tests Jul 4, 2026
Copilot AI requested a review from pelikhan July 4, 2026 06:09
@pelikhan pelikhan marked this pull request as ready for review July 4, 2026 06:20
Copilot AI review requested due to automatic review settings July 4, 2026 06:20
@pelikhan pelikhan merged commit 25459cd into main Jul 4, 2026
@pelikhan pelikhan deleted the copilot/fix-go-build-and-lint branch July 4, 2026 06:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes CI failures in the parser integration test suite by removing an unused context import from an integration test file, restoring successful compilation for integration jobs that build these tests.

Changes:

  • Removed unused "context" import from pkg/parser/remote_fetch_integration_test.go.
Show a summary per file
File Description
pkg/parser/remote_fetch_integration_test.go Removes an unused import so integration tests compile cleanly (uses t.Context() instead).

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@github-actions github-actions Bot mentioned this pull request Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants