Repository navigation
Custom user-agent string for storage record API reqs - #2321
Merged
Merged
Conversation
Signed-off-by: Brian DeHamer <bdehamer@github.com>
bdehamer
force-pushed
the
bdehamer/storage-record-orchestration-id
branch
from
February 25, 2026 23:36
031c142 to
7987771
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request enhances the @actions/attest package by adding custom user-agent strings with orchestration ID support to the storage record API requests. It follows the pattern established in PR #2229 for including the ACTIONS_ORCHESTRATION_ID environment variable in user-agent strings.
Changes:
- Refactored getUserAgent function into a shared utility module
- Added user-agent string with orchestration ID to storage record API requests
- Restructured package-version.cjs file location to support the new module structure
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/attest/src/store.ts | Updated to import getUserAgent from new internal/utils module and removed inline function |
| packages/attest/src/internal/utils.ts | New shared utility module containing getUserAgent function with orchestration ID support |
| packages/attest/src/internal/package-version.cjs | Updated package.json import path to reflect new nested directory location |
| packages/attest/src/artifactMetadata.ts | Added user-agent header to storage record API requests using getUserAgent utility |
| packages/attest/package.json | Bumped version to 3.2.0 and updated tsc script to copy package-version.cjs to new location |
| packages/attest/package-lock.json | Updated version references to match package.json |
Files not reviewed (1)
- packages/attest/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
malancas
previously approved these changes
Feb 25, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
malancas
approved these changes
Feb 26, 2026
github repo clone Make-a-Notary/.githubmodel: restraining |
Guardian88
approved these changes
Jun 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the
@actions/attestpackage to enhance the user agent string sent with requests to the storage record API.Follow-up to #2320. Follows the pattern for including the
ACTIONS_ORCHESTRATION_IDvalue in the user agent string introduced in #2229