Skip to content

Surface action cache hit rate #90

@saraadams

Description

@saraadams

Problem

Surface the action cache hit rate, in particular if remote caching is used.

Suggested solution

The following events may help detect these:

  • no cache hit:
    check cache hit (category remote action cache check) within event ActionContinuation.execute (category general information), thereafter execution
    • remote execution: potentially upload missing inputs (category Remote execution upload time) followed by execute remotely (category remote action execution)
    • remote cache only: TODO
    • disk cache: not included in profile?
  • cache hit:
    check cache hit within event ActionContinuation.execute, no execution thereafter

DataProvider to provide rate and/or absolute numbers (cache checks, successful cache checks)
SuggestionProvider to suggest strategies to increase the cache hit rate, e.g. --incompatible_strict_action_env

Metadata

Metadata

Assignees

Labels

type/featSuggests new features.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions