Skip to content

Commit 1e34942

Browse files
docs: remove duplicated code block and redundant paragraphs in concurrency reference (#28194)
1 parent b6ef1c9 commit 1e34942

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

docs/src/content/docs/reference/concurrency.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ Workflow-level concurrency groups include the workflow name plus context-specifi
2323

2424
This ensures workflows on different issues, PRs, or branches run concurrently without interference.
2525

26-
For label-triggered workflows, the concurrency group includes `github.event.label.name` as an additional segment. This prevents cross-label cancellation when multiple labels are added to the same PR or issue simultaneously: each label event gets its own distinct group, so workflows triggered by different labels do not cancel each other.
27-
2826
## Per-Engine Concurrency
2927

30-
The default per-engine pattern `gh-aw-{engine-id}` ensures only one agent job runs per engine across all workflows, preventing AI resource exhaustion. The group includes only the engine ID and `gh-aw-` prefix - workflow name, issue/PR numbers, and branches are excluded.
28+
The default per-engine pattern `gh-aw-{engine-id}` ensures only one agent job runs per engine across all workflows, preventing AI resource exhaustion. The group includes only the engine ID and `gh-aw-` prefix workflow name, issue/PR numbers, and branches are excluded.
3129

3230
```yaml wrap
3331
jobs:
@@ -107,13 +105,6 @@ concurrency:
107105

108106
This generates a unique job-level concurrency group per dispatched run, preventing fan-out cancellations while preserving the per-workflow concurrency group at the workflow level.
109107

110-
Example usage:
111-
112-
```yaml wrap
113-
concurrency:
114-
job-discriminator: ${{ inputs.finding_id }}
115-
```
116-
117108
Common expressions:
118109

119110
| Scenario | Expression |
@@ -132,7 +123,5 @@ Common expressions:
132123

133124
## Related Documentation
134125

135-
- [AI Engines](/gh-aw/reference/engines/) - Engine configuration and capabilities
136126
- [Frontmatter](/gh-aw/reference/frontmatter/) - Complete frontmatter reference
137-
- [Workflow Structure](/gh-aw/reference/workflow-structure/) - Overall workflow organization
138127
- [Safe Outputs](/gh-aw/reference/safe-outputs/) - Safe output processing and job configuration

0 commit comments

Comments
 (0)