Skip to content

Conversation

@tjb9dc
Copy link
Collaborator

@tjb9dc tjb9dc commented Dec 9, 2025

Description

Refs: Slack thread from @tjb9dc about Docker Hub rate limits when pulling wiremock containers in tests

Adds Docker Hub login to the internal seed workflow for SDKs that use WireMock containers in tests. This addresses Docker Hub rate limiting issues by authenticating pulls, which have significantly higher rate limits.

Link to Devin run: https://app.devin.ai/sessions/aabcda0166c84b42b4b34327323276e5
Requested by: [email protected] (@tjb9dc)

Changes Made

  • Added Docker Hub login step to seed.yml workflow for wiremock-using SDK jobs:
    • python-sdk
    • go-sdk
    • csharp-sdk
    • php-sdk
    • rust-sdk

This approach keeps the change scoped to internal seed tests without modifying user-facing generator CI templates.

Human Review Checklist

  • Verify FERN_API_DOCKERHUB_PASSWORD secret exists in the repo (used by other workflows)
  • Confirm these are the correct SDK jobs that use WireMock containers
  • Verify the login step is placed before the Run All Seed Tests step in each job

Testing

  • Lint checks pass (pnpm run check)
  • CI seed tests pass with the new Docker login step

@devin-ai-integration
Copy link
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@tjb9dc tjb9dc changed the title feat(generators): Add docker login step to CI workflows for wiremock chore(ci): add docker login step to CI workflows for wiremock Dec 9, 2025
Comment on lines 26 to 34
- name: Log in to Docker Hub
if: ${{ env.DOCKER_USERNAME != '' && env.DOCKER_PASSWORD != '' }}
uses: docker/login-action@v3
with:
username: ${{ env.DOCKER_USERNAME }}
password: ${{ env.DOCKER_PASSWORD }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'd like to avoid touching the user-facing ci.yml files for this one. Too big of a change.

Can we address the change with how we run seed instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it—I've reverted the generator CI template and versions.yml changes, and instead added a Docker Hub login step to the seed.yml workflow for the wiremock-using SDKs (go-sdk, python-sdk, php-sdk, rust-sdk, csharp-sdk). This keeps the change scoped to how we run seed internally, without modifying user-facing CI templates.

Reverts generator CI template changes and instead adds Docker Hub login
to the seed.yml workflow for SDKs that use WireMock containers in tests
(go-sdk, python-sdk, php-sdk, rust-sdk, csharp-sdk).

This addresses Docker Hub rate limiting issues by authenticating pulls
in our internal seed tests, without modifying user-facing CI templates.

Co-Authored-By: [email protected] <[email protected]>
@devin-ai-integration devin-ai-integration bot changed the title chore(ci): add docker login step to CI workflows for wiremock chore(ci): add docker login to seed workflow for wiremock-using SDKs Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants