The getUserAgent function and the orchestration ID feature lack test coverage. Consider adding tests to verify that the function correctly includes the orchestration ID when ACTIONS_ORCHESTRATION_ID is set and that it properly sanitizes invalid characters. The existing tests in store.test.ts and artifactMetadata.test.ts should also verify that the user-agent header is included in API requests.
Ursprünglich gepostet von @Copilot in actions/toolkit#2321 (comment)
The getUserAgent function and the orchestration ID feature lack test coverage. Consider adding tests to verify that the function correctly includes the orchestration ID when ACTIONS_ORCHESTRATION_ID is set and that it properly sanitizes invalid characters. The existing tests in store.test.ts and artifactMetadata.test.ts should also verify that the user-agent header is included in API requests.
Ursprünglich gepostet von @Copilot in actions/toolkit#2321 (comment)