Skip to content

fix(ci): Avoid argument size limit for PR test verify-all gate - #2265

Closed
jefchien wants to merge 1 commit into
mainfrom
fix-verify-all-arg-limit
Closed

fix(ci): Avoid argument size limit for PR test verify-all gate#2265
jefchien wants to merge 1 commit into
mainfrom
fix-verify-all-arg-limit

Conversation

@jefchien

@jefchien jefchien commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Description of the issue

The PR-test workflow's Verify All PR Test Jobs job is consistently failing (https://github.com/aws/amazon-cloudwatch-agent/actions/runs/33211930467/job/99653605070) due to the argument list being too long.

Error: An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/amazon-cloudwatch-agent/amazon-cloudwatch-agent'. Argument list too long

This is because the needs context (https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#needs-context) carries all the outputs of every job in the list including the GenerateTestMatrix.

Description of changes

Changed the job to only look at the results of the jobs in the needs context.

License

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

Tests

https://github.com/aws/amazon-cloudwatch-agent/actions/runs/33535514408?pr=2265

Requirements

Before commiting your code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

Integration Tests

To run integration tests against this PR, add the ready for testing label.

@jefchien
jefchien requested a review from a team as a code owner September 1, 2026 17:03
@jefchien jefchien added the ready for testing Indicates this PR is ready for integration tests to run label Sep 1, 2026
@jefchien

jefchien commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Closed. Similar change included in #2268.

@jefchien jefchien closed this Sep 3, 2026
@jefchien
jefchien deleted the fix-verify-all-arg-limit branch September 4, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for testing Indicates this PR is ready for integration tests to run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant