Skip to content

fix CI issues with code checkout#35

Open
psychocoderHPC wants to merge 1 commit into
devfrom
fix-CiIssesWithGit
Open

fix CI issues with code checkout#35
psychocoderHPC wants to merge 1 commit into
devfrom
fix-CiIssesWithGit

Conversation

@psychocoderHPC

@psychocoderHPC psychocoderHPC commented May 26, 2026

Copy link
Copy Markdown
Owner
Syncing repository: alpaka-group/alpaka3
Getting Git version info
Deleting the contents of '/__w/alpaka3/alpaka3'
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Downloading the archive
Sorry. Your account was suspended - https://docs.github.com/rest
Waiting 18 seconds before trying again
Downloading the archive
Sorry. Your account was suspended - https://docs.github.com/rest
Waiting 13 seconds before trying again
Downloading the archive
Error: Sorry. Your account was suspended - https://docs.github.com/rest

Summary by CodeRabbit

  • Chores
    • Optimized CI/CD workflow to improve build process reliability and efficiency by adjusting dependency installation steps.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@psychocoderHPC, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 53 minutes and 57 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 230fdc1d-3557-4d1b-9d99-f55f1c35b79e

📥 Commits

Reviewing files that changed from the base of the PR and between 1732ed7 and 9bad270.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
📝 Walkthrough

Walkthrough

The CI workflow reorders Git installation to occur earlier in the job execution, before the repository checkout step. Added inline documentation specifies the Git ≥ 2.18 requirement to prevent fallback to the REST API. The redundant Git installation and apt-get update are removed from the later base-dependencies step.

Changes

CI Git Installation Reordering

Layer / File(s) Summary
Git installation reordering
.github/workflows/ci.yml
Git installation with apt-get update is moved earlier in the CI workflow before checkout operations, with added documentation about the Git ≥ 2.18 requirement. The redundant git installation is removed from the later "Install base dependencies" step, which now installs only cmake, build-essential, and ninja-build.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Git hops forth before checkout's play,
Apt-get update now clears the way,
No redundant lines shall clutter the shore,
Dependencies flow just as before! 🎯

🚥 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 directly addresses the main change: reorganizing CI workflow to install Git earlier and separately to resolve checkout issues.
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.

✏️ 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 fix-CiIssesWithGit

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

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 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.yml:
- Line 159: Rename the duplicate GitHub Actions step named "Install base
dependencies" so the two steps are distinguishable in CI logs; locate the step
whose name string is exactly "Install base dependencies" (the earlier
occurrence) and change its name to something specific like "Install Git" or
"Install Git for checkout" while leaving the actual install commands unchanged;
ensure only the name field is updated so the workflow behavior remains
identical.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c0599f50-7aba-41fe-933f-afcc8b28faa2

📥 Commits

Reviewing files that changed from the base of the PR and between 1fe7aa0 and 1732ed7.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml Outdated
```
Syncing repository: alpaka-group/alpaka3
Getting Git version info
Deleting the contents of '/__w/alpaka3/alpaka3'
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Downloading the archive
Sorry. Your account was suspended - https://docs.github.com/rest
Waiting 18 seconds before trying again
Downloading the archive
Sorry. Your account was suspended - https://docs.github.com/rest
Waiting 13 seconds before trying again
Downloading the archive
Error: Sorry. Your account was suspended - https://docs.github.com/rest
```
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