Skip to contents

Construct a deterministic Phase 9 cache decision

Usage

new_phase9_cache_decision(
  adapter_fingerprint,
  cache_key_fingerprint,
  action,
  publish_intent = identical(action, "miss"),
  manifest_fingerprint = NA_character_,
  reason
)

Arguments

adapter_fingerprint

Runtime adapter fingerprint.

cache_key_fingerprint

Cache-key fingerprint.

action

One of `hit`, `miss`, `bypass`, or `reject`.

publish_intent

Whether successful runtime output may be published to the cache.

manifest_fingerprint

Existing cache-manifest fingerprint for a hit, otherwise `NA_character_`.

reason

Stable machine-readable decision reason.

Value

A validated `popgen_phase9_cache_decision`.