Repository navigation
ci: pin workflow-metrics to the devtools commit that runs on ubuntu-latest - #2904
Conversation
…atest The pinned devtools workflow-metrics.yml hardcoded the codebuild-agentcore-e2e label, so Workflow Metrics stayed queued. aws/agentcore-devx-devtools#27 moved it to ubuntu-latest.
Package TarballHow to installgh release download pr-2904-tarball --repo aws/agentcore-cli --pattern "*.tgz" --dir /tmp/pr-tarball
npm install -g /tmp/pr-tarball/aws-agentcore-1.2.0.tgz |
|
Claude Security Review: no high-confidence findings. (run) |
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Single-line pin bump for .github/workflows/workflow-metrics.yml; I verified it against the v1.x base branch.
28f401925cbdd8900e468d10ed950b48fd2cde1aexists inaws/agentcore-devx-devtoolsand is the merge commit ofaws/agentcore-devx-devtools#27(currently the tip ofmain), so the pin resolves to a real, immutable commit.- Diffing the reusable workflow between
c2106996and28f40192, the only change isruns-on: codebuild-agentcore-e2e-…→runs-on: ubuntu-latest, which matches the PR description and explains the stuck-in-queue symptom. - The
workflow_callinput/secret contract is unchanged (namespace,os,role-secret-name, optionalaws-region, requiredWORKFLOW_SECRETS_READER_ROLE_ARN), so the caller block at lines 13–18 still satisfies it; no caller-side updates needed. - The nested
fetch-secrets@e68d09b0…pin inside the reusable workflow is identical at both commits, so there is no transitive pin drift, and the reference remains SHA-pinned in line with the rest of this repo's workflows. - The remaining devtools references still on
c2106996(pr-automation.yml,slack-issue-notification.yml) already use theinputs.runner == 'codebuild' && … || 'ubuntu-latest'conditional, so they aren't affected by this bug and correctly stay out of scope here.
No changes required.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v1.x #2904 +/- ##
=======================================
Coverage 96.57% 96.57%
=======================================
Files 734 734
Lines 60950 60950
=======================================
+ Hits 58862 58863 +1
+ Misses 2088 2087 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for the report, @codecov-commenter — feedback like this is exactly Would you mind opening a new issue so we can track it properly? If this is a security issue, please report it privately via |
Workflow Metrics runs stay queued because the pinned
aws/agentcore-devx-devtoolsworkflow-metrics.yml(c2106996) hardcodes thecodebuild-agentcore-e2erunner. This bumps the pin to28f40192, the merge of aws/agentcore-devx-devtools#27, which runs it onubuntu-latest.