You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Link to the gh-aw PR: github/gh-aw#43300 — Add maintenance.disabled_jobs to selectively omit agentics-maintenance jobs and permissions
The compiler gained support for a maintenance.disabled_jobs key in aw.json that lets repos omit specific generated maintenance jobs (e.g. close-expired-entities, apply_safe_outputs). When all label-triggered jobs are disabled the issues:labeled trigger is also suppressed. There is no E2E test verifying that a workflow compiled from a source that declares maintenance.disabled_jobs actually omits those jobs at runtime.
Safe output: noop (the test validates compiler output shape, not a safe-output action)
Variant: standard
Minimal test prompt sketch
The workflow is triggered via workflow_dispatch. The agent reads the generated agentics-maintenance.yml (via a gh-steps or command safe output) and asserts that the job(s) listed in maintenance.disabled_jobs are absent from the compiled lockfile. Alternatively, this could be a compile-time assertion baked into the test via a custom samples: block that the harness validates structurally.
New fixtures or secrets needed
This test requires an aw.json fixture with maintenance.disabled_jobs configured, or a way to pass that configuration at compile time in the test source. Open question: should the test live in a subdirectory fixture or use an inline config: frontmatter block if gh-aw supports that? Needs triage before implementation.
Notes
This is primarily a compiler correctness test rather than a runtime agent test. If the E2E harness cannot easily assert lockfile shape, it may be better as a unit test in github/gh-aw itself rather than an integration test here.
The issues:labeled trigger suppression when all label-jobs are disabled is the most observable runtime effect.
Overlap: test-copilot-dispatch-workflow.md and test-copilot-call-workflow.md cover workflow dispatch, but nothing covers selective maintenance job omission.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
Motivation
Link to the gh-aw PR: github/gh-aw#43300 — Add
maintenance.disabled_jobsto selectively omit agentics-maintenance jobs and permissionsThe compiler gained support for a
maintenance.disabled_jobskey inaw.jsonthat lets repos omit specific generated maintenance jobs (e.g.close-expired-entities,apply_safe_outputs). When all label-triggered jobs are disabled theissues:labeledtrigger is also suppressed. There is no E2E test verifying that a workflow compiled from a source that declaresmaintenance.disabled_jobsactually omits those jobs at runtime.Proposed test
test-copilot-maintenance-disabled-jobs.mdworkflow_dispatchnoop(the test validates compiler output shape, not a safe-output action)Minimal test prompt sketch
The workflow is triggered via
workflow_dispatch. The agent reads the generatedagentics-maintenance.yml(via agh-stepsorcommandsafe output) and asserts that the job(s) listed inmaintenance.disabled_jobsare absent from the compiled lockfile. Alternatively, this could be a compile-time assertion baked into the test via a customsamples:block that the harness validates structurally.New fixtures or secrets needed
This test requires an
aw.jsonfixture withmaintenance.disabled_jobsconfigured, or a way to pass that configuration at compile time in the test source. Open question: should the test live in a subdirectory fixture or use an inlineconfig:frontmatter block if gh-aw supports that? Needs triage before implementation.Notes
github/gh-awitself rather than an integration test here.issues:labeledtrigger suppression when all label-jobs are disabled is the most observable runtime effect.test-copilot-dispatch-workflow.mdandtest-copilot-call-workflow.mdcover workflow dispatch, but nothing covers selective maintenance job omission.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.