Skip to content

fix(ci): split integration tests into separate job#21046

Closed
davdhacs wants to merge 1 commit into
davdhacs/gradle9-fixfrom
davdhacs/split-integration-tests
Closed

fix(ci): split integration tests into separate job#21046
davdhacs wants to merge 1 commit into
davdhacs/gradle9-fixfrom
davdhacs/split-integration-tests

Conversation

@davdhacs

@davdhacs davdhacs commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Integration tests (registries/scanners/notifiers packages with //go:build integration) hit live external services (quay.io, registry.access.redhat.com) and fail on transient network issues. Running them in the same job as go unit tests means a quay.io dial timeout fails the entire go (GOTAGS="") job, requiring a full re-run of all unit tests.

Moves make integration-unit-tests to its own go-integration job so network flakes can be re-run independently.

Stacked on #20429 (Gradle 9 test discovery fix).

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • modified existing tests

How I validated my change

The go-integration job is structurally identical to how the step ran before (same checkout, preamble, cache, make target, junit reporting, jira integration). The only difference is isolation: a TestQuay timeout no longer blocks the go unit test results. Validated YAML syntax with python3 yaml.safe_load().

Integration tests (registries/scanners/notifiers with `//go:build
integration`) hit live external services (quay.io,
registry.access.redhat.com) and fail on transient network issues.
Running them in the same job as go unit tests means a quay.io timeout
fails the entire go unit test job, requiring a full re-run.

Move `make integration-unit-tests` to its own `go-integration` job so
network flakes can be re-run independently without re-running all unit
tests.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: a1755ff0-b1c7-484e-9e4d-87409990eea2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch davdhacs/split-integration-tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

🚀 Build Images Ready

Images are ready for commit ea16053. To use with deploy scripts:

export MAIN_IMAGE_TAG=4.12.x-128-gea1605383b

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant