Skip to content

mesh: degraded remote steps (503 at runtime, not a boot failure) #96

Done

Description

@chrnx-dev

Replaces #56 (expects). Mesh exports steps only, and a step that cannot run answers 503 whether it is local or remote.

Owner decision (2026-11-24):

  • A remote step whose teapot is away is degraded: not executed, the request gets 503 + retry-after, no retry loop per request. It fails at runtime, not at boot.
  • The link keeps reconnecting in the background; on reconnect the step serves again.
  • A teapot absent at boot sent no manifest, so nobody knows which tokens it exports. When a local @needs token has no producer and at least one teapot is absent, register a degraded placeholder instead of failing the boot, and log a warn naming the token, the absent teapots and the did-you-mean hint, so developers see it.
  • With every teapot connected, an unknown token still fails the boot (typos stay boot errors).
  • One log line per state change, not per request; a mesh:* event the metrics plugin can count.

Open: placeholder is request-scope; if the arriving manifest says app-scope, adopting it changes the node kind at runtime.

Out of scope: app.degraded() / /health integration (hardening, after this batch).

Scope: @experimental exports, MeshConfig, mesh:* events and the /__mesh__ prefix only (D19).

Activity

  1. added
    enhancement
    area: mesh
    on Nov 24, 2026
  2. added this to the Mesh: resilience milestone on Nov 24, 2026
  3. chrnx-dev commented on Nov 30, 2026

    @chrnx-dev
    ContributorAuthor

    Regression benchmark (2026-11-30)

    Full method, tables and bisect: https://github.com/Expressive-Tea/green-tea/blob/develop/bench/results/mesh-week1-46e0bc9-20f5094/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: meshenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions