Skip to content

feat: add TYSM hook activation / deactivation tasks#167

Open
mattevans wants to merge 1 commit intomasterfrom
feat/tysm-hook-tasks
Open

feat: add TYSM hook activation / deactivation tasks#167
mattevans wants to merge 1 commit intomasterfrom
feat/tysm-hook-tasks

Conversation

@mattevans
Copy link
Copy Markdown
Member

@mattevans mattevans commented May 6, 2026

Adds two new tasks under pkg/tasks/ for driving the runtime hook-control API in TYSM (patched Prysm with an Observe/Validate/Mutate hook system):

  • tysm_hook_activation — POSTs to /tysm/v1/activations to overlay (enabled, configPatch) on a hook's baseline state for a bounded TTL. Exposes activation_id / expires_at / hook as task outputs.
  • tysm_hook_deactivation — DELETEs the activation by id. Defaults to ignoreNotFound: true so it's safe to use in cleanupTasks (the server-side TTL is the safety net).

Together these unlock chaos-style flows where assertoor flips a hook to a non-default state (e.g. activate data-column-mutator with KZG-corruption at p=1.0 for 5m), exercises the network, and then cleans up. Pairs with the new HTTP API in ethpandaops/tysm.

Screenshot 2026-05-06 at 10 38 57

@mattevans mattevans requested a review from pk910 May 6, 2026 00:37
@mattevans mattevans self-assigned this May 6, 2026
@mattevans mattevans marked this pull request as draft May 6, 2026 00:37
@mattevans mattevans marked this pull request as ready for review May 6, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants