Skip to content

fix(ci): pass unique artifact-name per matrix job to prevent 409 collision#21977

Open
Fletch153 wants to merge 2 commits intodevelopfrom
fix/CORE-2418-artifact-name-collision
Open

fix(ci): pass unique artifact-name per matrix job to prevent 409 collision#21977
Fletch153 wants to merge 2 commits intodevelopfrom
fix/CORE-2418-artifact-name-collision

Conversation

@Fletch153
Copy link
Copy Markdown
Collaborator

Summary

  • Passes artifact-name: ${{ matrix.type.cmd }}_test_logs to branch-out-upload so each matrix job uploads a uniquely named artifact

Problem

go_core_tests, go_core_tests_integration, and go_core_ccip_deployment_tests all have trunk-auto-quarantine: true and call branch-out-upload in the same workflow run. The action hardcodes the artifact name individual_test_logs, causing a deterministic 409 conflict — the second job to upload always fails, even when tests pass. This affects every PR touching core Go code.

Dependency

Requires smartcontractkit/.github#1512 to be merged and the branch-out-upload/v1 tag updated first. Until then, the artifact-name input is silently ignored (composite actions don't fail on unknown inputs), so this PR is safe to merge in any order.

Test plan

Fixes: CORE-2418

…ision

Multiple matrix jobs with trunk-auto-quarantine enabled (go_core_tests,
go_core_tests_integration, go_core_ccip_deployment_tests) all upload an
artifact named 'individual_test_logs' in the same workflow run, causing a
deterministic 409 conflict that fails CI even when tests pass.

Pass artifact-name: ${{ matrix.type.cmd }}_test_logs so each job gets a
unique artifact name. Depends on smartcontractkit/.github#1512.

Fixes: CORE-2418
@github-actions
Copy link
Copy Markdown
Contributor

👋 Fletch153, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

✅ No conflicts with other open PRs targeting develop

Prevents 409 conflict when multiple matrix jobs fail simultaneously and
attempt to upload artifacts with the same hardcoded name.

Fixes: smartcontractkit/.github/actions/branch-out-upload (artifact-name input)
@Fletch153
Copy link
Copy Markdown
Collaborator Author

⛔ Do Not Merge Yet — Waiting on Dependency

This PR depends on smartcontractkit/.github#1512 which adds the artifact-name input to the branch-out-upload composite action.

Merge order:

  1. Merge smartcontractkit/.github#1512 first
  2. Manually move the branch-out-upload/v1 tag to the new commit in smartcontractkit/.github
  3. Then merge this PR

Until step 2 is complete, the artifact-name input passed here will be silently ignored and artifacts will still collide with the default name.

@trunk-io
Copy link
Copy Markdown

trunk-io bot commented Apr 10, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@mchain0 mchain0 requested a review from Tofel April 13, 2026 07:46
@Tofel Tofel added this pull request to the merge queue Apr 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 13, 2026
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.

4 participants