Skip to content

[plan] Handle cache updates when detection is disabled #5765

@github-actions

Description

@github-actions

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

  1. Check workflow configuration to determine if detection is enabled
  2. If detection is disabled:
    • Update cache directly at the end of agentic job
    • Skip artifact upload for memory (not needed without detection)
  3. If detection is enabled:

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions