fabro/crates/arc-api
Bryan Helmkamp 7400a9d5a1 Make asset collection opt-in via [assets] config globs
Asset collection previously ran a full `find` scan before and after every
stage (~30s per scan), even when no assets were needed. This makes it
opt-in: only workflows with an `[assets] include = [...]` section in their
TOML config will run asset collection, and only with user-specified globs.

- Add AssetsConfig struct and wire through WorkflowRunConfig, RunDefaults,
  and RunConfig
- Remove baseline snapshot approach; single post-execution scan using
  user globs filtered by mtime and size budgets
- Delete hardcoded pattern constants, is_asset_candidate, matches_simple_glob,
  FileFingerprint, and snapshot() — replaced by configurable globs
- Skip all asset work when asset_globs is empty (zero overhead default)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:39:04 -04:00
..
src Make asset collection opt-in via [assets] config globs 2026-03-08 23:39:04 -04:00
tests Auto-PR on Successful Workflow Run (#3) 2026-03-08 16:32:55 -04:00
Cargo.toml Add conformance test to detect ServerConfig ↔ OpenAPI spec drift 2026-03-08 14:44:59 -04:00