Skip to content

Conversation

@vedant-jaiswal
Copy link
Contributor

Issue #, if available:

Description of changes:
Add versioned user-agent to AWS API calls

  • Add getUserAgent() function that returns github-action/v{version} format
  • Update SecretsManagerClient to use versioned user-agent
  • Version automatically syncs with package.json
  • Update package.json version to match latest release (2.0.10)
  • Add unit tests for version format validation

Testing

  • Added unit test.
  • Runtime Validation
    node -e "const { getUserAgent } = require('./dist/constants.js'); console.log('User-Agent:', getUserAgent());"
    Output: User-Agent: github-action/v2.0.10

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vedant-jaiswal vedant-jaiswal requested a review from a team as a code owner October 16, 2025 20:15
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (aa511bf) to head (65aaecb).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #272   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          160       164    +4     
  Branches        40        40           
=========================================
+ Hits           160       164    +4     

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

simonmarty
simonmarty previously approved these changes Oct 22, 2025
@simonmarty simonmarty enabled auto-merge (squash) October 23, 2025 20:08
@simonmarty simonmarty dismissed stale reviews from ThirdEyeSqueegee and themself via dee59ff October 24, 2025 22:50
@simonmarty simonmarty disabled auto-merge October 28, 2025 20:02
@simonmarty simonmarty merged commit 8d2df8d into aws-actions:main Oct 28, 2025
4 of 10 checks passed
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.

3 participants