Skip to content

ci: attempt to reduce disk usage on windows#10753

Merged
ematipico merged 2 commits into
mainfrom
ci/winzozz-disk
Jun 24, 2026
Merged

ci: attempt to reduce disk usage on windows#10753
ematipico merged 2 commits into
mainfrom
ci/winzozz-disk

Conversation

@ematipico

@ematipico ematipico commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

It was suggested by an AI agent. it ssems to work!

Test Plan

Windows CI test should pass

Docs

@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0e74380

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

✅ Organic activity

No automation signals detected in the analyzed events.

View full analysis →

This is an automated analysis by AgentScan

@coderabbitai

coderabbitai Bot commented Jun 24, 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: Pro

Run ID: 47de2225-d8b3-4600-9320-bb4270b04dcf

📥 Commits

Reviewing files that changed from the base of the PR and between 942a744 and 0e74380.

📒 Files selected for processing (2)
  • .github/workflows/main.yml
  • .github/workflows/pull_request.yml
🚧 Files skipped from review as they are similar to previous changes (2)
  • .github/workflows/main.yml
  • .github/workflows/pull_request.yml

Walkthrough

Both workflow files now split the test job into Windows and non-Windows steps. On depot-windows-2022-16, the test step sets CARGO_PROFILE_TEST_DEBUG=0 and CARGO_INCREMENTAL=0 before running cargo test --workspace --features=js_plugin; other matrix entries run the same command without those overrides.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the change: a Windows CI tweak aimed at reducing disk usage.
Description check ✅ Passed The description is brief, but it still refers to the Windows CI test change in this PR.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/winzozz-disk

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

@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/main.yml:
- Around line 111-115: The test step in the workflow is incorrectly guarded by
the Windows-only condition, which prevents `cargo test` from running on Linux
and macOS. Update the job so the `cargo test --workspace --features=js_plugin`
step in `main.yml` runs unconditionally, and move the `if: matrix.os ==
'depot-windows-2022-16'` check to only wrap the Windows-specific `env` settings
like `CARGO_PROFILE_TEST_DEBUG` and `CARGO_INCREMENTAL`.

In @.github/workflows/pull_request.yml:
- Around line 103-107: The test job in the workflow is incorrectly gated on a
Windows-only matrix value, which causes non-Windows PR tests to be skipped; move
the conditional away from the cargo test execution and apply it only to the
Windows-specific setup step in the same job. Update the workflow around the
matrix job that runs cargo test so the test command executes for all PR
platforms, while any depot-windows-2022-16-specific config remains isolated to
the Windows config step.
🪄 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e8b88a27-b66f-431e-89bb-e12f456148e2

📥 Commits

Reviewing files that changed from the base of the PR and between 13ee358 and 942a744.

📒 Files selected for processing (2)
  • .github/workflows/main.yml
  • .github/workflows/pull_request.yml

Comment thread .github/workflows/main.yml
Comment thread .github/workflows/pull_request.yml
@ematipico ematipico requested review from a team June 24, 2026 13:11
@ematipico ematipico merged commit 03c4767 into main Jun 24, 2026
14 checks passed
@ematipico ematipico deleted the ci/winzozz-disk branch June 24, 2026 13:41
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.

1 participant