Skip to content

fix: smoketest workflow workflow_call event checkout on caller repo#687

Merged
jason-rl merged 2 commits intomainfrom
jason/fix_smoke_test_workflow_call
Jan 22, 2026
Merged

fix: smoketest workflow workflow_call event checkout on caller repo#687
jason-rl merged 2 commits intomainfrom
jason/fix_smoke_test_workflow_call

Conversation

@jason-rl
Copy link
Copy Markdown
Contributor

@jason-rl jason-rl commented Jan 22, 2026

User description

Description

Self-explanatory

Motivation

Smoketest workflow ended up checking out calling repository's own codebase, not this one.

Changes

Self-explanatory

Testing

Breaking Changes

Checklist


CodeAnt-AI Description

Run smoke tests against calling repository when invoked via workflow_call

What Changed

  • When the workflow is triggered by workflow_call, the Checkout step now checks out the calling repository's api-client-ts instead of the workflow's own repository
  • Other steps (Node setup, install, test) run against that checked-out code, so smoke tests execute against the caller's code
  • No change to behavior when the workflow is triggered directly; it still checks out the current repository

Impact

✅ Runs smoke tests against caller repo when invoked via workflow_call
✅ Fewer false-positive failures from testing the wrong repository
✅ Smoke tests reflect caller's code changes during cross-repo calls

💡 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.

@jason-rl jason-rl requested a review from dines-rl January 22, 2026 01:20
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Jan 22, 2026

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Jan 22, 2026
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Jan 22, 2026

CodeAnt AI finished reviewing your PR.

@jason-rl jason-rl removed the request for review from dines-rl January 22, 2026 01:32
@jason-rl jason-rl marked this pull request as draft January 22, 2026 01:32
@jason-rl jason-rl force-pushed the jason/fix_smoke_test_workflow_call branch from be43a11 to af9ea42 Compare January 22, 2026 01:41
@jason-rl jason-rl force-pushed the jason/fix_smoke_test_workflow_call branch 2 times, most recently from 02142db to 5bc51a5 Compare January 22, 2026 01:44
@jason-rl jason-rl marked this pull request as ready for review January 22, 2026 01:44
@jason-rl jason-rl requested a review from dines-rl January 22, 2026 01:44
@jason-rl jason-rl merged commit 77d82a9 into main Jan 22, 2026
16 of 17 checks passed
@jason-rl jason-rl deleted the jason/fix_smoke_test_workflow_call branch January 22, 2026 01:47
@stainless-app stainless-app bot mentioned this pull request Jan 22, 2026
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