Skip to content

fix: correct R2 bucket name and install AWS CLI in publish-manifest - #656

Merged
shivasurya merged 1 commit into
mainfrom
fix/publish-manifest-r2
Apr 12, 2026
Merged

shivasurya merged 1 commit into
mainfrom
fix/publish-manifest-r2

Conversation

@shivasurya

Copy link
Copy Markdown
Owner

Summary

Fixes two bugs in .github/workflows/publish-manifest.yml found by comparing against the working R2 upload workflows (stdlib-r2-upload.yml, go-stdlib-r2-upload.yml, go-thirdparty-r2-upload.yml):

  • Wrong bucket name: codepathfinder-assets → code-pathfinder-assets — this caused AccessDenied on the first workflow run after merge
  • Missing AWS CLI install: all other R2 workflows explicitly curl + install the latest AWS CLI before use; relying on the pre-installed runner version is inconsistent and fragile

Root cause

The bucket name typo in the original PR (#655) was not caught because the workflow only runs on push to main (no PR-level test path existed).

🤖 Generated with Claude Code

Two bugs vs the working R2 workflows:
- Bucket was codepathfinder-assets, must be code-pathfinder-assets
  (matches stdlib-r2-upload.yml, go-stdlib-r2-upload.yml, etc.)
- AWS CLI was not installed before use; all other R2 workflows
  explicitly curl + install the latest version for consistency

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@shivasurya shivasurya added bug Something isn't working github_actions Pull requests that update GitHub Actions code labels Apr 12, 2026
@shivasurya shivasurya self-assigned this Apr 12, 2026
@safedep

safedep Bot commented Apr 12, 2026 •

Copy link
Copy Markdown

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

View complete scan results →

This report is generated by SafeDep Github App

@github-actions

Copy link
Copy Markdown

Code Pathfinder Security Scan

Pass Critical High Medium Low Info

No security issues detected.

Metric Value
Files Scanned 1
Rules 205

Powered by Code Pathfinder

@codecov

codecov Bot commented Apr 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.91%. Comparing base (c8de7ed) to head (97769c2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #656   +/-   ##
=======================================
  Coverage   84.90%   84.91%           
=======================================
  Files         172      172           
  Lines       24879    24879           
=======================================
+ Hits        21124    21126    +2     
+ Misses       2965     2964    -1     
+ Partials      790      789    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivasurya
shivasurya merged commit e1d7f65 into main Apr 12, 2026
8 checks passed
@shivasurya
shivasurya deleted the fix/publish-manifest-r2 branch April 12, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant