-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
Description
Objective
Implement logic to update cache directly in the agentic job when detection is disabled in the workflow configuration.
Context
When a workflow has detection disabled, there's no detection job to conditionally update the cache. In this case, the agentic job should update cache directly.
Approach
- Check workflow configuration to determine if detection is enabled
- If detection is disabled:
- Update cache directly at the end of agentic job
- Skip artifact upload for memory (not needed without detection)
- If detection is enabled:
- Use artifact upload approach (from sub-issue rejig docs #1)
Files to Modify
- Workflow compiler logic that generates job steps based on configuration
- Cache handling code in agentic job implementation
- Configuration parser that reads detection settings
Acceptance Criteria
- When detection is disabled, cache is updated directly in agentic job
- When detection is enabled, artifact approach is used
- Configuration is checked correctly to determine behavior
- Both paths are tested and working
- No unnecessary artifacts created when detection is disabled
Related to [plan] Update cache memory handling for detection workflow #5762
AI generated by Plan Command for #5760
Copilot