aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/cache.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/aflow/action/crash: use object cachingDmitry Vyukov2026-01-211-0/+9
| | | | | | | | | | | Use object caching instead of file caching. This removes the need for explicit file writing/reading, and reduces amount of error handling. Also any future changes should be easier to do. Add support for flow temp dirs to implement this (repro needs temp manager workdir). Previously repro abused the cache dir for that.
* pkg/aflow: add helper for caching of objectsDmitry Vyukov2026-01-211-0/+17
| | | | | | | For things like kernel build, we want to cache an actual file system dir, but in some cases we want to cache some in-memory object. Using file system dir interface is inconvinient in these cases. Add a helper that allows to cache an object directly (via json serialization).
* pkg/aflow: cache disk usage in CacheDmitry Vyukov2026-01-201-10/+36
| | | | | | Calculating total disk usage of all cache entries can take very long time for large caches (needs to stat all files). This is especially problematic for tools/syz-aflow. Cache disk usage in the meta file.
* pkg/aflow: add package for agentic workflowsDmitry Vyukov2026-01-091-0/+201