-
Notifications
You must be signed in to change notification settings - Fork 368
Add OTel exception span events for individual agent errors #25914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
aeda08c
059c2cb
d96f92c
cfd8403
4afd5e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -525,10 +525,12 @@ jobs: | |
| `) | ||
|
|
||
| // Add validate_workflows job for workflow_dispatch with operation == 'validate' | ||
| // This job uses ubuntu-latest by default (needs full runner for CLI installation). | ||
| validateRunsOnValue := FormatRunsOn(configuredRunsOn, "ubuntu-latest") | ||
| yaml.WriteString(` | ||
| validate_workflows: | ||
| if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.operation == 'validate' && !github.event.repository.fork }} | ||
| runs-on: ` + runsOnValue + ` | ||
| runs-on: ` + validateRunsOnValue + ` | ||
| permissions: | ||
| contents: read | ||
| issues: write | ||
|
|
@@ -737,7 +739,7 @@ func buildNotDispatchOrEmptyOperation() ConditionNode { | |
|
|
||
| // buildNotForkAndScheduledOrOperation creates a condition for jobs that run on | ||
| // schedule (or empty operation) AND when a specific operation is selected. | ||
| // Condition: !fork && (not_dispatch || operation == '' || operation == op) | ||
| // Condition: !fork && (not_dispatch || operation == ” || operation == op) | ||
| func buildNotForkAndScheduledOrOperation(operation string) ConditionNode { | ||
|
Comment on lines
740
to
743
|
||
| return BuildAnd( | ||
| buildNotForkCondition(), | ||
|
|
@@ -753,7 +755,7 @@ func buildNotForkAndScheduledOrOperation(operation string) ConditionNode { | |
|
|
||
| // buildRunOperationCondition creates the condition for the unified run_operation | ||
| // job that handles all dispatch operations except the ones with dedicated jobs. | ||
| // Condition: dispatch && operation != '' && operation != each excluded && !fork. | ||
| // Condition: dispatch && operation != ” && operation != each excluded && !fork. | ||
| func buildRunOperationCondition(excludedOperations ...string) ConditionNode { | ||
| // Start with: event is workflow_dispatch AND operation is not empty | ||
| condition := BuildAnd( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The validate_workflows job runs
gh aw compile --validate --zizmor --actionlint --poutine(viarun_validate_workflows.cjs), and those scanners are executed via Docker (see e.g.pkg/cli/zizmor.go,pkg/cli/actionlint.go,pkg/cli/poutine.go). This PR removes the step that ensures the Docker daemon is running, which can cause validation to fail on runners where Docker isn’t started by default. Consider restoring the Docker start/check (e.g.docker infowith a fallback to start the service) before running validation.