Skip to content

refactor(ci): separate required and advisory checks - #3277

Merged
imbajin merged 3 commits into
apache:masterfrom
hugegraph:chore/ci-minimal-required-20261006
Oct 6, 2026
Merged

imbajin merged 3 commits into
apache:masterfrom
hugegraph:chore/ci-minimal-required-20261006

Conversation

@imbajin

@imbajin imbajin commented Oct 6, 2026

Copy link
Copy Markdown
Member

Separate affected test coverage from merge requirements so maintainers can cancel advisory CI without blocking Memory, license checks or CodeQL startup.

Server CI before and after

Before After
All selected module tests feed one required gate; scans and compatibility wait for it. Require only license and genuine Memory tests. Related modules, CodeQL and platform checks run independently and remain advisory.
Documentation can still trigger Java scans; cancellation couples unrelated results. Explicit prose-only changes skip builds and PR scans. Summaries show concrete selected checks and their actual outcomes.
Memory compiles unrelated reactor modules; published Compose smoke runs twice; HBase downloads a tar archive. Narrow the reactor, keep one smoke and prepare the same HBase version in one digest-pinned container with a five-minute budget.

Keep current behavior-test coverage and current-image checks. Only required push workflows automatically retry; PRs and advisory workflows use manual reruns. Advancing master alone does not invalidate completed results.

Migration: .asf.yaml requests check-license and Server memory tests. Existing check names remain available during migration; verify live protection removes old module/CodeQL requirements after merge before independently cancelling advisory work.

Validation: policy and retry checks, workflow lint, coverage-upload contracts and the narrowed Java 17 compilation pass. GitHub CI must verify the cold HBase image pull, startup and existing functional tests before this PR is ready to merge.

Does this PR potentially affect the following parts?

  • Dependencies
  • Modify configurations
  • The public API
  • Other affects
  • Nope

Documentation Status

  • Doc - Done: docs/ci.md
  • Doc - TODO
  • Doc - No Need

- isolate genuine Memory tests and license requirements

- run affected modules and scans independently

- bound pinned HBase preparation and remove duplicate smoke

- narrow reactor builds and retain honest result summaries
- show concrete inputs for each selected suite

- label required and advisory checks in the plan summary

- retain selection reasons alongside actual results
@imbajin
imbajin marked this pull request as ready for review October 6, 2026 11:49
@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.70%. Comparing base (8beb78b) to head (9fef306).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3277      +/-   ##
============================================
+ Coverage     41.69%   41.70%   +0.01%     
- Complexity     7369     7370       +1     
============================================
  Files           794      794              
  Lines         69291    69291              
  Branches       9288     9288              
============================================
+ Hits          28890    28897       +7     
+ Misses        37109    37104       -5     
+ Partials       3292     3290       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- explain full-coverage dependency audit selection

- retain actual results and merge requirements

- verify planner failure diagnostics
@imbajin imbajin changed the title fix(ci): separate required and advisory checks refactor(ci): separate required and advisory checks Oct 6, 2026
@imbajin
imbajin merged commit 708e0ab into apache:master Oct 6, 2026
38 checks passed
@imbajin
imbajin deleted the chore/ci-minimal-required-20261006 branch October 6, 2026 13:23
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.

2 participants