Skip to content

test(ci): skip Linux classifier process tests on macOS - #10905

Merged
cv merged 2 commits into
mainfrom
codex/fix-classifier-macos-tools
Sep 3, 2026
Merged

cv merged 2 commits into
mainfrom
codex/fix-classifier-macos-tools

Conversation

@rsliter

@rsliter rsliter commented Sep 2, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

macOS compatibility jobs no longer execute the Linux-only CI classifier process suite. Platform-neutral GitHub CLI resolver tests still run on macOS. Linux and WSL continue to run all classifier process tests.

Reason

PR #10856 added process tests that require Linux /proc and Linux system executable paths. The macOS compatibility job ran those tests and failed before their behavior assertions.

Changes

  • Limit the classifier process suite to Linux, which matches the production classifier platform guard.
  • Keep the platform-neutral production resolver suite active on macOS.

Verification

  • Pre-fix: vitest run --project integration test/automation/classify-ci-failure.test.ts on macOS failed 64 of 74 tests. The first failure was ENOENT for /usr/bin/bash.
  • Post-fix: the same focused command on macOS passed with 5 tests passed and 69 Linux-only cases skipped.
  • bash test/e2e/e2e-cloud-experimental/features/skill/lib/validate_repo_skills.sh passed all 29 repository skills.
  • npm run validate:pr passed pre-commit, commitlint, and pre-push checks after generating the required local build artifacts.
  • npm run review:local could not start its OpenShell gateway and cleanup reported EACCES. It produced no review finding.
  • Diff inspection found no secrets, API keys, or credentials.

Signed-off-by: Rebecca Sliter [email protected]

Summary by CodeRabbit

  • Tests
    • Limited CI failure classifier process tests to Linux platforms; they are skipped on non-Linux systems.

@copy-pr-bot

copy-pr-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: dbf76e7e-010a-4cce-8e40-38900c8107e5

📥 Commits

Reviewing files that changed from the base of the PR and between 0673b12 and e6e050a.

📒 Files selected for processing (1)
  • test/automation/classify-ci-failure.test.ts

Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The process-classifier test suite now skips on non-Linux platforms and runs on Linux platforms.

Changes

CI classifier test execution

Layer / File(s) Summary
Platform-gated classifier tests
test/automation/classify-ci-failure.test.ts
The process-classifier test suite now skips when process.platform is not Linux.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 8d978

This localized test-only change prevents Linux-specific process tests from running on macOS while preserving platform-neutral coverage; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: skipping Linux-specific classifier process tests on macOS.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-classifier-macos-tools

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

@rsliter
rsliter requested a review from cv September 2, 2026 22:05
@rsliter

rsliter commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-code-quality

github-code-quality Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 8d97889 in the codex/fix-classifier... branch remains at 96%, unchanged from commit f2ee031 in the main branch.

TypeScript / code-coverage/cli

The overall line coverage in commit 8d97889 in the codex/fix-classifier... branch remains at 83%, unchanged from commit d8e90d5 in the main branch.

Show a line coverage summary of the most impacted files.
File main d8e90d5 codex/fix-classifier... 8d97889 +/-
src/lib/sandbox...rce-identity.ts 82% 82% 0%
src/lib/onboard...uild-context.ts 74% 75% +1%

Updated September 03, 2026 00:00 UTC

@rsliter
rsliter marked this pull request as ready for review September 2, 2026 22:22
Signed-off-by: Rebecca Sliter <[email protected]>
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 8d97889. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

All previous runs

@cv
cv merged commit bc7b29c into main Sep 3, 2026
61 of 62 checks passed
@cv
cv deleted the codex/fix-classifier-macos-tools branch September 3, 2026 00:54
@wscurran wscurran added the chore Build, CI, dependency, or tooling maintenance label Sep 9, 2026
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions platform: macos Affects macOS, including Apple Silicon labels Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions chore Build, CI, dependency, or tooling maintenance platform: macos Affects macOS, including Apple Silicon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants