GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Resolve shellcheck warning on `ci.yaml` by ShaharNaveh · Pull Request #7501 · RustPython/RustPython

Conversation

@ShaharNaveh

@ShaharNaveh ShaharNaveh commented Mar 24, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Chores
    • Improved CI reliability by making shell argument handling and exit-code checks more robust.
    • Made test-loop invocation safer to ensure selected tests are respected and avoid shell-parsing issues.
    • Ensured WASM test runner uses a quoted working directory to prevent path-related failures and improve cross-platform stability.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ShaharNaveh
Resolve shellcheck warning
74c5e4f
@coderabbitai

coderabbitai Bot commented Mar 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

CI workflow .github/workflows/ci.yaml updated for safer shell handling: quoted outputs and arguments, switched env-polluting-tests iteration to a line-based read loop, quote-wrapped numeric exit comparisons, and quoted $(pwd) for wasmer run --dir.

Changes

Cohort / File(s) Summary
CI workflow
./.github/workflows/ci.yaml
Shell-hardening edits: append cores to "$GITHUB_OUTPUT"; build TESTS from matrix.env_polluting_tests and iterate with while IFS= read -r thing; do ... done <<< "$TESTS"; pass test entries as -v "${thing}"; use quoted numeric comparisons ("${exit_code}"); quote $(pwd) for wasmer run --dir in wasm-wasi steps.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Cleanup ci.yaml matrix usage #7260 — Related CI workflow edits touching matrix.env_polluting_tests iteration and per-entry handling.

Suggested reviewers

  • youknowone

Poem

🐇 I hopped through YAML late at night,
Quoted each var to set things right.
Tests now read lines tidy and neat,
Wasmer finds home with quoted feet,
CI hums on—my whiskers bright.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: resolving shellcheck warnings in the ci.yaml workflow file by improving shell quoting and variable handling.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ShaharNaveh
Fix more
a0abcc1
github-advanced-security[bot]
github-advanced-security AI found potential problems Mar 24, 2026
View reviewed changes
Comment thread .github/workflows/ci.yaml Fixed

Uh oh!

There was an error while loading. Please reload this page.

ShaharNaveh added 2 commits March 24, 2026 14:53
@ShaharNaveh
Resolve potential template injection
4814eeb
@ShaharNaveh
Fix logic error
423afb1
@ShaharNaveh
ShaharNaveh force-pushed the actionlint-shellcheck-ci-quote branch from 7b2ea11 to 423afb1 Compare March 24, 2026 14:00
ShaharNaveh added 4 commits March 24, 2026 21:00
@ShaharNaveh
Fix
9dc9ebc
@ShaharNaveh
Remove old
a8bdc23
@ShaharNaveh
fix
e951998
@ShaharNaveh
fix
af1606b
youknowone
youknowone approved these changes Mar 25, 2026
View reviewed changes
@youknowone
youknowone merged commit 20c6505 into RustPython:main Mar 25, 2026
18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI pushed a commit that referenced this pull request Mar 25, 2026
@ShaharNaveh
Resolve shellcheck warning on ci.yaml (#7501)
776947d
youknowone pushed a commit that referenced this pull request Sep 16, 2026
@ShaharNaveh
Resolve shellcheck warning on ci.yaml (#7501)
a4cd2a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@youknowone youknowone youknowone approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ShaharNaveh @youknowone @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.