Commit 0c8e5e9
feat(compile): add Tier 3 PR filters (time-window, change-count, build-reason, expression)
Add advanced pre-activation gate filters:
- time-window: only run during a UTC time range (handles overnight windows)
- min-changes / max-changes: gate on number of changed files
- build-reason: include/exclude by Build.Reason (PullRequest, Manual, etc.)
- expression: raw ADO condition expression escape hatch, ANDed into Agent
job condition at compile time
Types added to PrFilters: TimeWindowFilter, min_changes, max_changes,
build_reason, expression. Shell escape updated to allow colon for time
format. generate_agentic_depends_on now accepts optional expression.
13 new tests (40 total in pr_filters module).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent de4c9c3 commit 0c8e5e9
3 files changed
Lines changed: 423 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1257 | 1257 | | |
1258 | 1258 | | |
1259 | 1259 | | |
| 1260 | + | |
1260 | 1261 | | |
1261 | 1262 | | |
1262 | 1263 | | |
| 1264 | + | |
1263 | 1265 | | |
1264 | 1266 | | |
1265 | 1267 | | |
1266 | | - | |
| 1268 | + | |
1267 | 1269 | | |
1268 | 1270 | | |
1269 | 1271 | | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
1276 | | - | |
1277 | | - | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
1281 | 1303 | | |
1282 | 1304 | | |
1283 | 1305 | | |
| |||
1820 | 1842 | | |
1821 | 1843 | | |
1822 | 1844 | | |
1823 | | - | |
| 1845 | + | |
| 1846 | + | |
1824 | 1847 | | |
1825 | 1848 | | |
1826 | 1849 | | |
| |||
0 commit comments