Skip to content

Fix post-publish SDK export smoke#1038

Merged
willwashburn merged 1 commit into
mainfrom
fix/post-publish-sdk-export-smoke
Jun 3, 2026
Merged

Fix post-publish SDK export smoke#1038
willwashburn merged 1 commit into
mainfrom
fix/post-publish-sdk-export-smoke

Conversation

@willwashburn

@willwashburn willwashburn commented Jun 3, 2026

Copy link
Copy Markdown
Member

User description

Summary

  • Update the post-publish SDK export smoke test to assert the current AgentRelay export instead of the removed AgentRelayClient export.
  • Keep the failure output aligned with the current public package surface.

Verification

  • bash -n scripts/post-publish-verify/verify-install.sh
  • node -e "const pkg = require(./packages/cli/dist/index.cjs); console.log(typeof pkg.AgentRelay); if (typeof pkg.AgentRelay !== function) process.exit(1);"

CodeAnt-AI Description

Fix the post-publish smoke test to check the current SDK export

What Changed

  • The post-publish verification now looks for AgentRelay instead of the removed AgentRelayClient export.
  • The pass and fail messages now match the current package surface, so the smoke test reports the right export name.

Impact

✅ Catch missing SDK exports after publish
✅ Clearer post-publish failure messages
✅ Fewer false alarms in release checks

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

@willwashburn willwashburn requested a review from khaliqgant as a code owner June 3, 2026 15:51
@codeant-ai

codeant-ai Bot commented Jun 3, 2026

Copy link
Copy Markdown

CodeAnt AI is reviewing your PR.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5af390a1-3212-4ae0-9f5f-f67971a8525c

📥 Commits

Reviewing files that changed from the base of the PR and between 51ee385 and 5dc0cde.

📒 Files selected for processing (1)
  • scripts/post-publish-verify/verify-install.sh

📝 Walkthrough

Walkthrough

The post-publish verification script is updated to check for the AgentRelay export instead of AgentRelayClient. The verification logic and result processing markers are aligned with this new export contract.

Changes

SDK exports verification update

Layer / File(s) Summary
AgentRelay export verification and result processing
scripts/post-publish-verify/verify-install.sh
Verification now checks for pkg.AgentRelay as a function and emits SDK_OK/NO_AGENT_RELAY markers. Post-processing records test results based on SDK_OK presence and NO_AGENT_RELAY failure condition.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • AgentWorkforce/relay#1007: Introduces the AgentRelay export that replaces AgentRelayClient, which aligns with this verification script update.

Suggested labels

size:XS

Suggested reviewers

  • khaliqgant

Poem

🐰 A script once checked for RelayClient's cheer,
Now AgentRelay takes center, crystal clear!
The markers dance from NO_CLIENT to new,
Verification updated, the exports shine true! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: fixing the post-publish SDK export smoke test to validate AgentRelay instead of AgentRelayClient.
Description check ✅ Passed The description covers the Summary and includes verification steps, but the Test Plan checklist section from the template is missing or incomplete.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/post-publish-sdk-export-smoke

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.

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Jun 3, 2026
@codeant-ai

codeant-ai Bot commented Jun 3, 2026

Copy link
Copy Markdown

CodeAnt AI finished reviewing your PR.

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 1 file

Re-trigger cubic

@willwashburn willwashburn merged commit 9c6d222 into main Jun 3, 2026
37 checks passed
@willwashburn willwashburn deleted the fix/post-publish-sdk-export-smoke branch June 3, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant