Skip to content

Fix: declare trust_probe capability to unbreak Inngest Cloud sync (v1.4.5)#11

Merged
jmarbutt merged 1 commit into
mainfrom
fix-missing-capabilities-on-register
May 23, 2026
Merged

Fix: declare trust_probe capability to unbreak Inngest Cloud sync (v1.4.5)#11
jmarbutt merged 1 commit into
mainfrom
fix-missing-capabilities-on-register

Conversation

@jmarbutt
Copy link
Copy Markdown
Owner

Summary

Inngest Cloud's `/fn/register` endpoint started returning `400 "Invalid response returned"` on 2026-05-22 for SDKs that don't advertise `capabilities.trust_probe = "v1"`. The TS SDK has always sent this; the .NET SDK was silently relying on legacy fallback behavior that Cloud has now removed. This broke every CoolFocus release pipeline run since 16:35 UTC — the sync step fails and cascades to skipping Linear/Sentry release tracking.

Changes

  • Out-of-band register payload (POST to `/fn/register`) now includes `capabilities = { trust_probe: "v1", in_band_sync: "v1" }`.
  • In-band sync inspection adds `trust_probe: "v1"` alongside the existing `in_band_sync: "v1"`.
  • Authenticated GET introspection response advertises the same capabilities block (mirrors TS SDK).
  • Regression test: captures the outbound `/fn/register` POST body via the mock HTTP handler and asserts `capabilities` is present with both keys.
  • Version bumped to 1.4.5.

Test plan

  • `dotnet test` — all 148 tests pass locally.
  • Merge → tag `v1.4.5` → `publish.yml` pushes to NuGet.
  • Bump `Inngest.NET` dep in CoolFocus to 1.4.5, deploy, confirm release workflow's `sync-inngest` step turns green.

🤖 Generated with Claude Code

Inngest Cloud's /fn/register endpoint started returning
400 "Invalid response returned" on 2026-05-22 for SDKs that don't
advertise the trust_probe capability. The TS SDK has always declared
this; the .NET SDK was silently relying on legacy fallback behavior
that has now been removed.

- Out-of-band register payload now includes capabilities.trust_probe=v1
  and in_band_sync=v1.
- In-band sync inspection adds trust_probe=v1 alongside the existing
  in_band_sync=v1.
- Authenticated GET introspection response includes the same
  capabilities block (mirrors the TS SDK).
- Added regression test that captures the outbound /fn/register POST
  body and asserts capabilities are present.
- Bumped version to 1.4.5.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jmarbutt jmarbutt merged commit 925d119 into main May 23, 2026
2 checks passed
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