Skip to content

feat(action-plugin): restore dynamic actions from the shared cache - #16380

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-vnruoowstqpv
Open

rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-vnruoowstqpv

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Sep 12, 2026

Copy link
Copy Markdown
Member

Allow unsandboxed dynamic actions to restore outputs from the shared cache in a fresh workspace, addressing the exclusion demonstrated by #16378.

Record dependency requests in a discovery trie and replay them before restoring artifacts. Each observation selects the next node, so changed inputs stop replay before obsolete later requests are evaluated. Shared hits retain the dependency stages for subsequent workspace-local validation.

@rgrinberg
rgrinberg force-pushed the push-vnruoowstqpv branch 5 times, most recently from 229a66d to d98935f Compare September 12, 2026 22:08
Replay recorded file and glob dependency requests before restoring outputs
in a fresh workspace. Key each next request by the facts observed so far,
so changed inputs stop replay before obsolete requests are evaluated.

Store discovery manifests using ordinary cache entries. Missing or corrupt
metadata is a miss. Keep sandboxed dynamic actions excluded and leave the
extended observation APIs and package-inference integration for follow-up.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant