feat: bump Woodpecker agent parallel workflows 1→4 (#194) #195
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "194-bump-max-workflows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
WOODPECKER_MAX_WORKFLOWSfrom default 1 to 4Changes
terraform/main.tf: AddedWOODPECKER_MAX_WORKFLOWS = "4"to k8s agent Helm valuesTest Plan
tofu fmt -check main.tfpassestofu validatepassestofu plan -lock=falsein CI shows single Helm release changeReview Checklist
Related Notes
project-pal-e-platformPR #195 Review
DOMAIN REVIEW
Tech stack: Terraform (Helm provider) -- k8s Woodpecker CI agent configuration.
Terraform/Helm analysis:
WOODPECKER_MAX_WORKFLOWS = "4"to the agent env block in the existinghelm_release "woodpecker"resource. This is a single env var addition to an existing Helm values structure -- clean, minimal.tofu fmtcompliant."4"is a string as expected by Helm env vars. Correct type.tofu applywill trigger a Helm upgrade with the new env var. Safe, idempotent operation.Resource concern (informational, not blocking): The agent pod has
limits = { memory = "256Mi" }. The agent itself is the gRPC client that spawns pipeline step pods -- it does NOT run the actual builds in-process. The 4 concurrent workflows spawn separate k8s pods, each with their own resource requests. So the agent memory limit is unaffected by this change. The PR body correctly notes archbox has 12 CPU / 128GB at 15% utilization, which is more than sufficient headroom for 4 concurrent pipeline pods.Placement: The new env var is inserted alphabetically between
WOODPECKER_CONNECT_RETRY_COUNTandHARBOR_REGISTRY_INTERNAL. WhileHARBOR_REGISTRY_INTERNALbreaks the WOODPECKER_ prefix alphabetical ordering, the new line itself is correctly placed among the WOODPECKER_ entries.BLOCKERS
None.
This is a 1-line configuration change with no test coverage requirement (infrastructure env var tuning, not new functionality with codepaths to test). No user input involved. No secrets. No DRY violations.
NITS
Hardcoded value: The value
"4"is reasonable as a direct setting rather than a variable, given this is agent-specific tuning tied to the archbox hardware profile. If multi-agent or multi-node becomes relevant, extracting to a variable would make sense, but for now this is fine.Test plan gap: The PR body has unchecked items for
tofu plan -lock=falsein CI, concurrent pipeline verification, and resource monitoring. These are post-merge validation items, not pre-merge blockers for a config change of this scope.SOP COMPLIANCE
194-bump-max-workflowsreferences issue #194project-pal-e-platformincluded, cross-references #191 and #184feat: bump Woodpecker agent parallel workflows 1->4 (#194)PROCESS OBSERVATIONS
VERDICT: APPROVED