Go agent suffix defaulting lives in pipeline config#580
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 45 minutes and 2 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughThe pull request refactors how Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR moves the defaulting of the -go_agent suffix out of the reusable Concourse task and into the pipeline configuration, so different pipelines/jobs can control whether the suffix is present.
Changes:
- Removes the
AGENT_SUFFIXdefault fromci/tasks/build.ymland fromci/tasks/build.sh. - Sets
AGENT_SUFFIXexplicitly inci/pipelines/builder.yml(currently to-go_agent). - Minor shell formatting/consistency updates in the build task (variable bracing in rake args, consistent hyphen-separated string interpolation).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
ci/tasks/build.yml |
Stops defaulting AGENT_SUFFIX in the shared task params. |
ci/tasks/build.sh |
Removes bash-level fallback default for AGENT_SUFFIX; keeps suffix usage in artifact naming. |
ci/pipelines/builder.yml |
Sets AGENT_SUFFIX at the pipeline/job level (now the source of truth for the default). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- set explicitly in pipeline config
344a78a to
ed73992
Compare
There was a problem hiding this comment.
Pull request overview
This PR moves the default “go agent” suffix configuration out of the build task/script and into the pipeline’s configurable vars, so the pipeline can centrally control whether (and how) the agent suffix is applied to produced stemcell artifacts and index/meta4 paths.
Changes:
- Remove the hard-coded
-go_agentdefault from the build task definition and the build task script. - Introduce
stemcell_details.agent_suffixin pipeline vars and thread it through pipeline places that previously hard-coded-go_agent. - Update meta4 naming, stemcell name used for BATS config, and publish copy key patterns to use the configured suffix.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
ci/tasks/build.yml |
Stops defaulting AGENT_SUFFIX in the task params to shift defaulting responsibility to the pipeline. |
ci/tasks/build.sh |
Removes script-side defaulting of AGENT_SUFFIX and keeps artifact/meta4 naming driven by the env value. |
ci/pipelines/vars.yml |
Adds stemcell_details.agent_suffix (default "-go_agent") as the single source of truth. |
ci/pipelines/builder.yml |
Replaces hard-coded -go_agent usage with data.values.stemcell_details.agent_suffix across build/upload/filter/publish/bats usage. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.