8000 ci: remove ci.yml's redundant workspace test job by norrietaylor · Pull Request #755 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

ci: remove ci.yml's redundant workspace test job - #755

Merged
norrietaylor merged 1 commit into
mainfrom
ci/pr8-remove-ci-test-job
Jul 14, 2026
Merged

norrietaylor merged 1 commit into
mainfrom
ci/pr8-remove-ci-test-job

Conversation

@norrietaylor
@norrietaylor norrietaylor commented Jul 14, 2026 •
Copy link
Copy Markdown
Member

What

Removes ci.yml's test job — it ran the core-tests composite (workspace
nextest + doctests), the exact same suite as ci-linux-native.yml's tests
job, which is now a required check after the ruleset flip. Running it twice per
PR was pure duplication.

  • Delete the test job and drop it from ci-success's needs.
  • Add .cargo/** to the native lane's changes-filter (see below).

Coverage is preserved

Was in ci.yml test Now
core-tests (workspace nextest + doctests) ci-linux-native.yml tests — identical composite, a required check
mTLS reverse-proxy step (--features networking-proxy) mothballed from per-PR CI by owner decision (#687); still runs in release.yml

Why .cargo/** moves into the native filter

ci.yml's removed test job used the catch-all code filter (every
non-docs path). The native lane's tests is scoped to a specific path list that
did not include .cargo/. Since the native lane is now the sole per-PR gate
for the workspace suite, a change to .cargo/config.toml (which sources the
buf protobuf-codegen registry — build-affecting) must still re-run it.
Without this line, PR8 would be a silent coverage regression on .cargo/-only
PRs. actionlint passes both files.

Note

This is the first PR to merge under the flipped ruleset, so it also validates
the five-aggregator required-check gate on a real change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HbXL6jxHTY2YuLPaMxc1yU

Summary by CodeRabbit

  • Tests

    • Updated continuous integration checks to ensure native builds are revalidated when Rust registry or build configuration changes.
    • Consolidated core and networking test coverage under the designated testing workflow.
    • Updated overall CI status reporting so successful validation remains accurately reflected in branch checks.
  • Chores

    • Improved CI workflow documentation and maintenance guidance.

The `test` job ran the `core-tests` composite — the exact same workspace
nextest + doctest suite as ci-linux-native.yml's `tests` job, which is now a
required check after the ruleset flip. Running it twice per PR was pure
duplication, so drop it and remove `test` from `ci-success`'s needs.

The job also carried an mTLS reverse-proxy step (`--features
networking-proxy`); per the owner decision recorded in #687 that suite is
mothballed from per-PR CI (the native lane deliberately omits it) and its
coverage now runs in release.yml.

To keep the native lane a complete substitute, add `.cargo/**` to its
changes-filter: ci.yml's removed `test` job used the catch-all `code` filter
(every non-docs path), so a `.cargo/config.toml` change (the buf codegen
registry — build-affecting) used to re-run the workspace suite; the native
lane, now the sole per-PR gate for it, must too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HbXL6jxHTY2YuLPaMxc1yU
@coderabbitai
coderabbitai Bot commented Jul 14, 2026 •
Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The workflows now trigger native testing for .cargo changes, remove the duplicate core test job from the main CI workflow, and exclude that job from the success aggregator’s prerequisites.

Changes

CI coverage and triggering

Layer / File(s) Summary
Native Cargo path gating
.github/workflows/ci-linux-native.yml
The native path filter includes .cargo/** so Cargo registry and build configuration changes rerun core workspace tests.
Legacy test job removal
.github/workflows/ci.yml
The standalone test job is removed, and ci-success no longer lists it as a required prerequisite.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: github_actions

Suggested reviewers: twitchyliquid64

Poem

I’m a rabbit in the CI lane,
Cargo changes trigger tests again.
One old test job hops away,
Success gates now know the way.
Nibble, build, and merge hooray!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: removing the redundant workspace test job from ci.yml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

@norrietaylor
norrietaylor marked this pull request as ready for review July 14, 2026 21:56
@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci-linux-native.yml:
- Around line 69-73: Revert the `.cargo/**` trigger change in the CI workflow
and leave the frozen `.github/workflows/**` configuration untouched; do not make
this modification without the required repository-level exception.

In @.github/workflows/ci.yml:
- Around line 89-94: Revert the changes to the frozen CI workflow, including the
removed workspace test job and the updated ci-success dependency. Do not modify
files under .github/workflows/** unless the required repository-level exception
has been obtained.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2a6f8056-3d1d-4f1a-9076-742f0236639c

📥 Commits

Reviewing files that changed from the base of the PR and between d6fe525 and 3843338.

📒 Files selected for processing (2)
  • .github/workflows/ci-linux-native.yml
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci-linux-native.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
@jtnkminimal jtnkminimal self-assigned this Jul 14, 2026
@norrietaylor
norrietaylor merged commit 4de4a5f into main Jul 14, 2026
26 checks passed
@norrietaylor
norrietaylor deleted the ci/pr8-remove-ci-test-job branch July 14, 2026 22:10
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

0