Skip to content

update format action, no need for ci#2919

Merged
ajhollid merged 1 commit intodevelopfrom
fix/format-action
Sep 3, 2025
Merged

update format action, no need for ci#2919
ajhollid merged 1 commit intodevelopfrom
fix/format-action

Conversation

@ajhollid
Copy link
Collaborator

@ajhollid ajhollid commented Sep 3, 2025

Summary by CodeRabbit

  • Chores
    • Updated the CI workflow to use a standard package installation method instead of a clean, lockfile-only install. This aims to improve compatibility and reduce intermittent install failures in the build pipeline. Formatting checks and other steps remain unchanged. No impact on application behavior or user experience.

@coderabbitai
Copy link

coderabbitai bot commented Sep 3, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The GitHub Actions workflow at .github/workflows/check-format.yml changes two install steps from using npm ci to npm install for both client and server. All other workflow steps remain the same.

Changes

Cohort / File(s) Summary
Workflow install method update
.github/workflows/check-format.yml
Replaced two occurrences of npm ci with npm install in client and server dependency installation steps; no other workflow steps modified.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitch my whiskers at CI’s call,
From ci to install—two steps, that’s all.
The lockfile may dance, the logs may sing,
I thump approval with a gentle spring.
Hop, hop—format checks still run true,
A tidy burrow for our code to chew.


📜 Recent review details

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 2f6a091 and 294cc66.

📒 Files selected for processing (1)
  • .github/workflows/check-format.yml (2 hunks)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/format-action

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

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

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@ajhollid ajhollid merged commit 5d23966 into develop Sep 3, 2025
3 of 5 checks passed
@ajhollid ajhollid deleted the fix/format-action branch September 3, 2025 16:20
Copy link

@llamapreview llamapreview bot left a comment

Choose a reason for hiding this comment

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

Auto Pull Request Review from LlamaPReview

🎯 TL;DR & Recommendation

Recommendation: Approve with suggestions.

This PR updates the format action to use npm install instead of npm ci, which may reduce dependency installation determinism in CI environments but does not introduce critical issues.

💡 Suggestions (P2)

  • .github/workflows/check-format.yml: Replacing npm ci with npm install for client dependencies reduces installation reproducibility, potentially causing inconsistent formatting results.
  • .github/workflows/check-format.yml: Replacing npm ci with npm install for server dependencies similarly risks non-deterministic dependency trees affecting formatting stability.

💡 LlamaPReview Community
Have feedback on this AI Code review tool? Join our GitHub Discussions to share your thoughts and help shape the future of LlamaPReview.

- name: Install client dependencies
working-directory: client
run: npm ci
run: npm install
Copy link

Choose a reason for hiding this comment

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

P2 | Confidence: High

Speculative: Replacing npm ci with npm install reduces dependency installation determinism in CI environments. While npm install may be faster, it doesn't guarantee identical dependency trees across runs like npm ci does, which uses the exact versions from package-lock.json. This could lead to inconsistent formatting results if formatter dependencies vary between installations.

Suggested change
run: npm install
- name: Install client dependencies
working-directory: client
run: npm ci

- name: Install server dependencies
working-directory: server
run: npm ci
run: npm install
Copy link

Choose a reason for hiding this comment

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

P2 | Confidence: High

Speculative: Same issue as client dependencies - replacing npm ci with npm install reduces installation reproducibility. For formatting checks, consistent dependency versions are crucial to ensure stable formatting behavior across different runs and environments.

Suggested change
run: npm install
- name: Install server dependencies
working-directory: server
run: npm ci

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