Skip to content

feat(webhooks): docs + benchmark + finish package wiring (#190)#193

Closed
tonydspaniard wants to merge 1 commit into
feat/189-webhook-roundtripfrom
feat/190-webhooks-docs
Closed

feat(webhooks): docs + benchmark + finish package wiring (#190)#193
tonydspaniard wants to merge 1 commit into
feat/189-webhook-roundtripfrom
feat/190-webhooks-docs

Conversation

@tonydspaniard
Copy link
Copy Markdown
Member

@tonydspaniard tonydspaniard commented Jun 1, 2026

No description provided.

Wrap the webhook epic with the consumer-facing surfaces, and finish the
runtime wiring the prior sub-issues left incomplete.

Wiring gaps fixed (surfaced while documenting the package):
- Added WebhooksConfiguration mirroring IdempotencyConfiguration — binds the
  in-memory dedupe + delivery-store adapters, EnvSecretResolver, and a shared
  SignerRegistry::default(). Hosts swap to the Redis adapters by re-binding.
- Ported WebhookReplayCommand + WebhookShowFailedCommand from Symfony Console
  to the Altair #[Command]/#[Argument]/#[Option] convention (the Symfony-style
  classes were undiscoverable by AttributeCommandDiscoverer — dead code) and
  registered src/Altair/Webhooks/Cli in bin/altair. `webhook:replay` /
  `webhook:show-failed` now appear in `bin/altair list`.

Docs:
- docs/packages/webhooks.md — full reference mirroring idempotency.md.
- src/Altair/Webhooks/README.md — slim package README pointing at the doc.
- docs/README.md — indexed Webhooks (and the previously-missing Idempotency)
  under the HTTP stack section.

Benchmark:
- benchmarks/tokens-to-ship/task-webhooks.md — inbound + outbound variant.
- fixtures/posts-webhook-in.openapi.yaml + posts-webhook-out.openapi.yaml —
  both round-trip clean and scaffold a working project (verified).

Tests: WebhooksConfigurationTest + rewritten CLI command tests. PHPStan L8 /
CS / Rector clean cache-free; .agent webhooks manifest regenerated.

Closes #190
@tonydspaniard tonydspaniard force-pushed the feat/189-webhook-roundtrip branch from 2ce0b9c to 2d47ecb Compare June 1, 2026 07:36
@tonydspaniard tonydspaniard force-pushed the feat/190-webhooks-docs branch from a2561d0 to fcd14b7 Compare June 1, 2026 07:36
@tonydspaniard tonydspaniard deleted the branch feat/189-webhook-roundtrip June 1, 2026 07:41
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.

1 participant