Skip to content

feat(ci): add server build validation to CI workflow#1456

Open
Xenon010101 wants to merge 1 commit into
Sachinchaurasiya360:mainfrom
Xenon010101:feat/issue-1395-ci-build
Open

feat(ci): add server build validation to CI workflow#1456
Xenon010101 wants to merge 1 commit into
Sachinchaurasiya360:mainfrom
Xenon010101:feat/issue-1395-ci-build

Conversation

@Xenon010101
Copy link
Copy Markdown
Contributor

What

Add server build validation step to the CI workflow to ensure the backend can complete its production build during pull requests.

Root cause

The CI validated server code via type checking and tests, but never verified that the production build (prisma generate && tsc) actually succeeds. Build-time issues could slip through.

Changes

  • Added build-server job to .github/workflows/ci.yml
  • Depends on typecheck-server and test-server (sequential pipeline)
  • Runs npm run build which executes prisma generate && tsc
  • Also added needs: [typecheck-server] to test-server for consistency

Verification

  • Follows the same pattern as the existing build-client job
  • No CI infrastructure changes needed

CI failures

N/A

Before

Server typechecking and tests passed, but production build could fail.

After

PR cannot merge if the server production build fails.

Closes #1395

Adds a build-server job that compiles the production build to catch
build-time issues (dependency updates, TypeScript compilation errors)
before merge. Depends on typecheck-server and test-server.

Closes Sachinchaurasiya360#1395

Signed-off-by: Xenon010101 <xenon010101@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 5, 2026

Warning

Review limit reached

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

More reviews will be available in 28 minutes and 22 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 34487de1-507a-494f-84f6-032fcf6e9cc3

📥 Commits

Reviewing files that changed from the base of the PR and between 0c176ae and d5a38ea.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
✨ 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

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

@github-actions github-actions Bot added level:beginner Good for first-time contributors quality:clean Clean and well-structured contribution gssoc gssoc:approved Approved for GSSoC scoring scope:ci-cd CI/CD pipeline, GitHub Actions, or Docker changes labels Jun 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

Hi @Xenon010101, thanks for contributing to InternHack! 🎉

I have automatically:

  • 👤 Assigned this PR to you.
  • 🏷️ Applied the gssoc:approved label.

Our workflows will now analyze your changes to classify:

  • 📈 PR Difficulty: level:*
  • 🧩 PR Type: type:*
  • 🌟 PR Quality: quality:*

Tip

Ensure your PR description references the issue it resolves (e.g. Closes #123). This allows the bot to inherit any additional labels from that issue!

Happy coding! 🚀

@github-actions github-actions Bot added type:bug Bug fixes type:design UI/UX or design-related updates type:devops CI/CD, deployment, or infra changes type:feature New feature implementation labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Approved for GSSoC scoring gssoc level:beginner Good for first-time contributors quality:clean Clean and well-structured contribution scope:ci-cd CI/CD pipeline, GitHub Actions, or Docker changes type:bug Bug fixes type:design UI/UX or design-related updates type:devops CI/CD, deployment, or infra changes type:feature New feature implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: [CI] Add server build validation to CI workflow

1 participant