Skip to content

[ef-34] feat: verify all alias packages in post-publish smoke test#33

Merged
NiveditJain merged 2 commits into
mainfrom
ef-34
Apr 7, 2026
Merged

[ef-34] feat: verify all alias packages in post-publish smoke test#33
NiveditJain merged 2 commits into
mainfrom
ef-34

Conversation

@NiveditJain

@NiveditJain NiveditJain commented Apr 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a verify-aliases job to the post-publish smoke-test workflow
  • After every publish, checks that all 14 alias packages (failproof, failproof-ai, failprof, faliproof, etc.) are available on npm at the exact same version as the main failproofai package
  • Uses the same exponential-backoff retry pattern as the existing registry wait step (0s → 5s → 10s → 20s → 40s → 80s per alias)
  • Reports all failed aliases in one shot before exiting, so you can see the full picture at a glance
  • Also triggered by workflow_dispatch with an optional version input, same as the existing smoke job

Test plan

  • Merge this PR, then trigger a release — the verify-aliases job should appear alongside the smoke matrix jobs in the Actions run
  • If any alias is missing, the job fails with ::error::[<alias>] version X never appeared on npm after all retries and lists all failures at the end

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Enhanced the publishing workflow with an automated verification step to ensure package aliases are properly available after release.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Apr 7, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@NiveditJain has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 9 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 9 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: 136b1bd7-9067-4dd2-8ba5-96447b796782

📥 Commits

Reviewing files that changed from the base of the PR and between 5595e46 and 0bde167.

📒 Files selected for processing (2)
  • docs/index.md
  • docs/package-aliases.md
📝 Walkthrough

Walkthrough

Added a new GitHub Actions job that verifies npm package aliases are published and available at a specified version. The job resolves the target version, retries checking each alias through the npm registry, and fails if any aliases fail to match the expected version after all retry attempts.

Changes

Cohort / File(s) Summary
Alias Verification Workflow
.github/workflows/smoke-test.yml
Added verify-aliases job that resolves target package version, iterates through npm alias packages, implements retry logic with configurable delay intervals to poll the npm registry, validates version matches, accumulates failures, and reports results with error annotations.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 Hop and check those aliases true,
With retries grand through npm's dew,
Each version matched, no stone unturned,
Success at last, our packages earned!
~CodeRabbit


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

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

…ction

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@NiveditJain NiveditJain merged commit 91d7fc4 into main Apr 7, 2026
8 checks passed
@NiveditJain NiveditJain deleted the ef-34 branch April 21, 2026 01:31
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