device-add: a failed landing reports back — ReportLandingFailed sibling to ConfirmEnrolled, the operator's strip shows the device's sentence in seconds (ADR 0214 d.6) #965

Closed
opened 2026-08-28 21:49:21 +00:00 by ben · 3 comments
Owner

Parent

Spec #960 (child of device-add spec #13) · ADR 0214 · surfaced by #956 (Ben ruled BUILD). Glossary: mesh plane, setup key (CONTEXT.md).

What to build

When a device's landing fails after approval (mesh, certificates, link), the device tells the control plane why, and the operator's pending-devices strip shows that sentence as an error on the row within seconds — instead of "approved — joining now" for five minutes. The request stays Approved: the grant is still the device's to retry. This is independent of the plane and can land first; it turns the next mesh red into seconds rather than the 300 s ceiling and a stood-up droplet.

Acceptance criteria

  • The join orchestrator's control-plane port gains ReportLandingFailed(ctx, requestID, err); the landing calls it on any post-approval failure (mesh, certs, up) and does not call ConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests).
  • A control-API verb carries it; the ledger stores LandingError (sentence + time) on the Approved view; status stays Approved; idempotent; a later successful ConfirmEnrolled clears it (offline ledger tests).
  • PendingDevicesSurface renders data-status="pending-device-error" with the sentence in [data-field="error-message"] from the read (not only the Approve verb's own error); component test.
  • The e2e fixture's existing race resolves on the error in seconds when a landing fails (fixture unchanged or a one-line assertion on the sentence).
  • The p3-device-add-app wireframe gains the ✎ pending-device-error state on the dashboard strip (annotated with the domain field names).
  • go build/vet/lint/dashboard tests green; STATUS updated.

Blocked by

  • None — can start immediately (depends on landed slices approve-enroll-land, transport-pending-strip-live #184).

Task manifest

task: landing-failure-report
implements_flow: p3-device-add-app
implements_edge: "P3-S4 — landing failed — the operator's strip shows the device's own sentence (new error branch)"
wireframe:
  - docs/ux/wireframes/p3-device-add-app/p3-s4-joining.html
interface: join ControlPlane port ReportLandingFailed(ctx, requestID, err); RequestView.LandingError
seam: internal/join + internal/enroll offline tests; dashboard component test on data-status="pending-device-error"
acceptance:
  - given: an Approved request whose device failed to land
    when: the device reports the failure
    then: the row shows pending-device-error with the device's sentence; status stays Approved
  - given: the same device later lands
    when: ConfirmEnrolled arrives
    then: the error clears and the row shows connected
depends_on: [approve-enroll-land, transport-pending-strip-live]
out_of_scope: [retry-from-dashboard, device removal]
needs_human_decision: []
## Parent Spec #960 (child of device-add spec #13) · ADR 0214 · surfaced by #956 (Ben ruled BUILD). Glossary: **mesh plane**, **setup key** (CONTEXT.md). ## What to build When a device's landing fails after approval (mesh, certificates, link), the device tells the control plane why, and the operator's pending-devices strip shows that sentence as an error on the row within seconds — instead of "approved — joining now" for five minutes. The request stays Approved: the grant is still the device's to retry. This is independent of the plane and can land first; it turns the next mesh red into seconds rather than the 300 s ceiling and a stood-up droplet. ## Acceptance criteria - [ ] The join orchestrator's control-plane port gains `ReportLandingFailed(ctx, requestID, err)`; the landing calls it on any post-approval failure (mesh, certs, up) and does not call `ConfirmEnrolled`; a failed report is logged, never masks the original error (offline join tests). - [ ] A control-API verb carries it; the ledger stores `LandingError` (sentence + time) on the Approved view; status stays Approved; idempotent; a later successful `ConfirmEnrolled` clears it (offline ledger tests). - [ ] `PendingDevicesSurface` renders `data-status="pending-device-error"` with the sentence in `[data-field="error-message"]` from the **read** (not only the Approve verb's own error); component test. - [ ] The e2e fixture's existing race resolves on the error in seconds when a landing fails (fixture unchanged or a one-line assertion on the sentence). - [ ] The `p3-device-add-app` wireframe gains the ✎ pending-device-error state on the dashboard strip (annotated with the domain field names). - [ ] `go build`/`vet`/lint/dashboard tests green; STATUS updated. ## Blocked by - None — can start immediately (depends on landed slices `approve-enroll-land`, `transport-pending-strip-live` #184). ## Task manifest ```yaml task: landing-failure-report implements_flow: p3-device-add-app implements_edge: "P3-S4 — landing failed — the operator's strip shows the device's own sentence (new error branch)" wireframe: - docs/ux/wireframes/p3-device-add-app/p3-s4-joining.html interface: join ControlPlane port ReportLandingFailed(ctx, requestID, err); RequestView.LandingError seam: internal/join + internal/enroll offline tests; dashboard component test on data-status="pending-device-error" acceptance: - given: an Approved request whose device failed to land when: the device reports the failure then: the row shows pending-device-error with the device's sentence; status stays Approved - given: the same device later lands when: ConfirmEnrolled arrives then: the error clears and the row shows connected depends_on: [approve-enroll-land, transport-pending-strip-live] out_of_scope: [retry-from-dashboard, device removal] needs_human_decision: [] ```

swarm-claim host=elitebook-distributed-server-03 run=13454
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=13454 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #965 — status success

⛔ close-report gates REFUSED this close — the following claims did not verify:

  • commit f24a38aec is not a valid commit object (fabricated, or never pushed)
  • changed_files: 'STATUS.md' is not in the diff of the claimed commits
  • changed_files: 'app/helper/cmd/helper/enrollpersist.go' is not in the diff of the claimed commits
  • changed_files: 'app/tests/e2e/fixtures/deviceAdd.ts' is not in the diff of the claimed commits
  • changed_files: 'control-plane/cmd/control-plane/resting_composition.go' is not in the diff of the claimed commits
  • changed_files: 'dashboard/src/components/device-add/PendingDevicesSurface.vue' is not in the diff of the claimed commits
  • changed_files: 'dashboard/src/lib/api/enrollClient.ts' is not in the diff of the claimed commits
  • changed_files: 'dashboard/src/lib/pending.ts' is not in the diff of the claimed commits
  • changed_files: 'dashboard/tests/fakes/pending.ts' is not in the diff of the claimed commits
  • changed_files: 'dashboard/tests/unit/pendingDevices.test.ts' is not in the diff of the claimed commits
  • changed_files: 'docs/ux/wireframes/README.md' is not in the diff of the claimed commits
  • changed_files: 'docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html' is not in the diff of the claimed commits
  • changed_files: 'internal/enroll/enroll.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enroll/enroll_test.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enroll/ledger.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enrollwire/client.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enrollwire/device_transport_integration_test.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enrollwire/enrollwire.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enrollwire/server.go' is not in the diff of the claimed commits
  • changed_files: 'internal/enrollwire/taxonomy_test.go' is not in the diff of the claimed commits
  • changed_files: 'internal/join/land.go' is not in the diff of the claimed commits
  • changed_files: 'internal/join/land_test.go' is not in the diff of the claimed commits
  • changed_files: 'packages/openapi-spec/openapi.yaml' is not in the diff of the claimed commits
envelope
{
  "issue": 965,
  "status": "success",
  "commits": [
    "f24a38aec"
  ],
  "changed_files": [
    "STATUS.md",
    "app/helper/cmd/helper/enrollpersist.go",
    "app/tests/e2e/fixtures/deviceAdd.ts",
    "control-plane/cmd/control-plane/resting_composition.go",
    "dashboard/src/components/device-add/PendingDevicesSurface.vue",
    "dashboard/src/lib/api/enrollClient.ts",
    "dashboard/src/lib/pending.ts",
    "dashboard/tests/fakes/pending.ts",
    "dashboard/tests/unit/pendingDevices.test.ts",
    "docs/ux/wireframes/README.md",
    "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html",
    "internal/enroll/enroll.go",
    "internal/enroll/enroll_test.go",
    "internal/enroll/ledger.go",
    "internal/enrollwire/client.go",
    "internal/enrollwire/device_transport_integration_test.go",
    "internal/enrollwire/enrollwire.go",
    "internal/enrollwire/server.go",
    "internal/enrollwire/taxonomy_test.go",
    "internal/join/land.go",
    "internal/join/land_test.go",
    "packages/openapi-spec/openapi.yaml"
  ],
  "tests": [
    {
      "command": "go test ./internal/enroll/... ./internal/join/... ./internal/enrollwire/...",
      "exit_code": 0
    },
    {
      "command": "go build ./... && go vet ./...",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vitest run (dashboard, 1274 tests)",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit (dashboard)",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci: gofmt/build/vet/test/golangci-lint (pre-push gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "join ControlPlane port gains ReportLandingFailed; landing calls it on any post-approval failure and does not call ConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests)": "internal/enroll/enroll.go (interface), internal/join/land.go (Enroll calls reportLandingFailed on mesh/certs/up/takeover-stage, returns original cause), internal/join/land_test.go TestEnroll_ReportsLandingFailure + TestEnroll_FailedReportNeverMasksCause",
    "a control-API verb carries it; the ledger stores LandingError (sentence + time) on the Approved view; status stays Approved; idempotent; a later ConfirmEnrolled clears it (offline ledger tests)": "internal/enroll/ledger.go ReportLandingFailed + ConfirmEnrolled clears LandingError; internal/enrollwire (POST /enroll/requests/{id}/landing-failed, client+server); internal/enroll/enroll_test.go TestReportLandingFailed; internal/enrollwire/device_transport_integration_test.go TestDeviceTransport_ReportLandingFailedOverHTTP",
    "PendingDevicesSurface renders data-status=pending-device-error with the sentence in [data-field=error-message] from the read; component test": "dashboard/src/components/device-add/PendingDevicesSurface.vue (per-row OcErrorState on approved+landingError), dashboard/src/lib/pending.ts + enrollClient.ts (landing_error mapped from projection), dashboard/tests/unit/pendingDevices.test.ts landing-fails-after-approval test",
    "the e2e fixture's existing race resolves on the error in seconds when a landing fails": "app/tests/e2e/fixtures/deviceAdd.ts approvePending already races connected vs data-status=pending-device-error; attribution message broadened to name the landing-failure cause (ADR 0214 d.6)",
    "the p3-device-add-app wireframe gains the pending-device-error state on the dashboard strip (annotated with the domain field names)": "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html (DASHBOARD strip, data-status=pending-device-error, data-field=error-message, LandingError annotations) + docs/ux/wireframes/README.md row",
    "go build/vet/lint/dashboard tests green; STATUS updated": "pre-push nix go-ci gate green (build/vet/test/golangci-lint/gofmt); eslint+vue-tsc+vitest(1274) green; STATUS.md #965 lead added"
  },
  "summary": "A failed post-approval landing reports its own sentence back so the operator's pending strip shows pending-device-error in seconds instead of holding 'approved — joining now' for the full landing ceiling.",
  "blockers": []
}
**close-report** for #965 — status `success` :no_entry: **close-report gates REFUSED this close** — the following claims did not verify: - commit f24a38aec is not a valid commit object (fabricated, or never pushed) - changed_files: 'STATUS.md' is not in the diff of the claimed commits - changed_files: 'app/helper/cmd/helper/enrollpersist.go' is not in the diff of the claimed commits - changed_files: 'app/tests/e2e/fixtures/deviceAdd.ts' is not in the diff of the claimed commits - changed_files: 'control-plane/cmd/control-plane/resting_composition.go' is not in the diff of the claimed commits - changed_files: 'dashboard/src/components/device-add/PendingDevicesSurface.vue' is not in the diff of the claimed commits - changed_files: 'dashboard/src/lib/api/enrollClient.ts' is not in the diff of the claimed commits - changed_files: 'dashboard/src/lib/pending.ts' is not in the diff of the claimed commits - changed_files: 'dashboard/tests/fakes/pending.ts' is not in the diff of the claimed commits - changed_files: 'dashboard/tests/unit/pendingDevices.test.ts' is not in the diff of the claimed commits - changed_files: 'docs/ux/wireframes/README.md' is not in the diff of the claimed commits - changed_files: 'docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html' is not in the diff of the claimed commits - changed_files: 'internal/enroll/enroll.go' is not in the diff of the claimed commits - changed_files: 'internal/enroll/enroll_test.go' is not in the diff of the claimed commits - changed_files: 'internal/enroll/ledger.go' is not in the diff of the claimed commits - changed_files: 'internal/enrollwire/client.go' is not in the diff of the claimed commits - changed_files: 'internal/enrollwire/device_transport_integration_test.go' is not in the diff of the claimed commits - changed_files: 'internal/enrollwire/enrollwire.go' is not in the diff of the claimed commits - changed_files: 'internal/enrollwire/server.go' is not in the diff of the claimed commits - changed_files: 'internal/enrollwire/taxonomy_test.go' is not in the diff of the claimed commits - changed_files: 'internal/join/land.go' is not in the diff of the claimed commits - changed_files: 'internal/join/land_test.go' is not in the diff of the claimed commits - changed_files: 'packages/openapi-spec/openapi.yaml' is not in the diff of the claimed commits <details><summary>envelope</summary> ```json { "issue": 965, "status": "success", "commits": [ "f24a38aec" ], "changed_files": [ "STATUS.md", "app/helper/cmd/helper/enrollpersist.go", "app/tests/e2e/fixtures/deviceAdd.ts", "control-plane/cmd/control-plane/resting_composition.go", "dashboard/src/components/device-add/PendingDevicesSurface.vue", "dashboard/src/lib/api/enrollClient.ts", "dashboard/src/lib/pending.ts", "dashboard/tests/fakes/pending.ts", "dashboard/tests/unit/pendingDevices.test.ts", "docs/ux/wireframes/README.md", "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html", "internal/enroll/enroll.go", "internal/enroll/enroll_test.go", "internal/enroll/ledger.go", "internal/enrollwire/client.go", "internal/enrollwire/device_transport_integration_test.go", "internal/enrollwire/enrollwire.go", "internal/enrollwire/server.go", "internal/enrollwire/taxonomy_test.go", "internal/join/land.go", "internal/join/land_test.go", "packages/openapi-spec/openapi.yaml" ], "tests": [ { "command": "go test ./internal/enroll/... ./internal/join/... ./internal/enrollwire/...", "exit_code": 0 }, { "command": "go build ./... && go vet ./...", "exit_code": 0 }, { "command": "CI=true pnpm exec vitest run (dashboard, 1274 tests)", "exit_code": 0 }, { "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit (dashboard)", "exit_code": 0 }, { "command": "nix develop .#go-ci: gofmt/build/vet/test/golangci-lint (pre-push gate)", "exit_code": 0 } ], "criteria": { "join ControlPlane port gains ReportLandingFailed; landing calls it on any post-approval failure and does not call ConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests)": "internal/enroll/enroll.go (interface), internal/join/land.go (Enroll calls reportLandingFailed on mesh/certs/up/takeover-stage, returns original cause), internal/join/land_test.go TestEnroll_ReportsLandingFailure + TestEnroll_FailedReportNeverMasksCause", "a control-API verb carries it; the ledger stores LandingError (sentence + time) on the Approved view; status stays Approved; idempotent; a later ConfirmEnrolled clears it (offline ledger tests)": "internal/enroll/ledger.go ReportLandingFailed + ConfirmEnrolled clears LandingError; internal/enrollwire (POST /enroll/requests/{id}/landing-failed, client+server); internal/enroll/enroll_test.go TestReportLandingFailed; internal/enrollwire/device_transport_integration_test.go TestDeviceTransport_ReportLandingFailedOverHTTP", "PendingDevicesSurface renders data-status=pending-device-error with the sentence in [data-field=error-message] from the read; component test": "dashboard/src/components/device-add/PendingDevicesSurface.vue (per-row OcErrorState on approved+landingError), dashboard/src/lib/pending.ts + enrollClient.ts (landing_error mapped from projection), dashboard/tests/unit/pendingDevices.test.ts landing-fails-after-approval test", "the e2e fixture's existing race resolves on the error in seconds when a landing fails": "app/tests/e2e/fixtures/deviceAdd.ts approvePending already races connected vs data-status=pending-device-error; attribution message broadened to name the landing-failure cause (ADR 0214 d.6)", "the p3-device-add-app wireframe gains the pending-device-error state on the dashboard strip (annotated with the domain field names)": "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html (DASHBOARD strip, data-status=pending-device-error, data-field=error-message, LandingError annotations) + docs/ux/wireframes/README.md row", "go build/vet/lint/dashboard tests green; STATUS updated": "pre-push nix go-ci gate green (build/vet/test/golangci-lint/gofmt); eslint+vue-tsc+vitest(1274) green; STATUS.md #965 lead added" }, "summary": "A failed post-approval landing reports its own sentence back so the operator's pending strip shows pending-device-error in seconds instead of holding 'approved — joining now' for the full landing ceiling.", "blockers": [] } ``` </details>

close-report for #965 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 965,
  "status": "success",
  "commits": [
    "f24a38a75a92f7049dee5ebd9758ff49969258f1"
  ],
  "changed_files": [
    "STATUS.md",
    "app/helper/cmd/helper/enrollpersist.go",
    "app/tests/e2e/fixtures/deviceAdd.ts",
    "control-plane/cmd/control-plane/resting_composition.go",
    "dashboard/src/components/device-add/PendingDevicesSurface.vue",
    "dashboard/src/lib/api/enrollClient.ts",
    "dashboard/src/lib/pending.ts",
    "dashboard/tests/fakes/pending.ts",
    "dashboard/tests/unit/pendingDevices.test.ts",
    "docs/ux/wireframes/README.md",
    "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html",
    "internal/enroll/enroll.go",
    "internal/enroll/enroll_test.go",
    "internal/enroll/ledger.go",
    "internal/enrollwire/client.go",
    "internal/enrollwire/device_transport_integration_test.go",
    "internal/enrollwire/enrollwire.go",
    "internal/enrollwire/server.go",
    "internal/enrollwire/taxonomy_test.go",
    "internal/join/land.go",
    "internal/join/land_test.go",
    "packages/openapi-spec/openapi.yaml"
  ],
  "tests": [
    {
      "command": "go test ./internal/enroll/... ./internal/join/... ./internal/enrollwire/...",
      "exit_code": 0
    },
    {
      "command": "go build ./... && go vet ./...",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vitest run (dashboard, 1274 tests)",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit (dashboard)",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci: gofmt/build/vet/test/golangci-lint (pre-push gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "join ControlPlane port gains ReportLandingFailed; landing calls it on any post-approval failure and does not call ConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests)": "internal/enroll/enroll.go (interface), internal/join/land.go (Enroll calls reportLandingFailed on mesh/certs/up/takeover-stage, returns original cause), internal/join/land_test.go TestEnroll_ReportsLandingFailure + TestEnroll_FailedReportNeverMasksCause",
    "a control-API verb carries it; the ledger stores LandingError (sentence + time) on the Approved view; status stays Approved; idempotent; a later ConfirmEnrolled clears it (offline ledger tests)": "internal/enroll/ledger.go ReportLandingFailed + ConfirmEnrolled clears LandingError; internal/enrollwire (POST /enroll/requests/{id}/landing-failed, client+server); internal/enroll/enroll_test.go TestReportLandingFailed; internal/enrollwire/device_transport_integration_test.go TestDeviceTransport_ReportLandingFailedOverHTTP",
    "PendingDevicesSurface renders data-status=pending-device-error with the sentence in [data-field=error-message] from the read; component test": "dashboard/src/components/device-add/PendingDevicesSurface.vue (per-row OcErrorState on approved+landingError), dashboard/src/lib/pending.ts + enrollClient.ts (landing_error mapped from projection), dashboard/tests/unit/pendingDevices.test.ts landing-fails-after-approval test",
    "the e2e fixture's existing race resolves on the error in seconds when a landing fails": "app/tests/e2e/fixtures/deviceAdd.ts approvePending already races connected vs data-status=pending-device-error; attribution message broadened to name the landing-failure cause (ADR 0214 d.6)",
    "the p3-device-add-app wireframe gains the pending-device-error state on the dashboard strip (annotated with the domain field names)": "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html (DASHBOARD strip, data-status=pending-device-error, data-field=error-message, LandingError annotations) + docs/ux/wireframes/README.md row",
    "go build/vet/lint/dashboard tests green; STATUS updated": "pre-push nix go-ci gate green (build/vet/test/golangci-lint/gofmt); eslint+vue-tsc+vitest(1274) green; STATUS.md #965 lead added"
  },
  "summary": "A failed post-approval landing reports its own sentence back so the operator's pending strip shows pending-device-error in seconds instead of holding 'approved — joining now' for the full landing ceiling.",
  "blockers": []
}
**close-report** for #965 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 965, "status": "success", "commits": [ "f24a38a75a92f7049dee5ebd9758ff49969258f1" ], "changed_files": [ "STATUS.md", "app/helper/cmd/helper/enrollpersist.go", "app/tests/e2e/fixtures/deviceAdd.ts", "control-plane/cmd/control-plane/resting_composition.go", "dashboard/src/components/device-add/PendingDevicesSurface.vue", "dashboard/src/lib/api/enrollClient.ts", "dashboard/src/lib/pending.ts", "dashboard/tests/fakes/pending.ts", "dashboard/tests/unit/pendingDevices.test.ts", "docs/ux/wireframes/README.md", "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html", "internal/enroll/enroll.go", "internal/enroll/enroll_test.go", "internal/enroll/ledger.go", "internal/enrollwire/client.go", "internal/enrollwire/device_transport_integration_test.go", "internal/enrollwire/enrollwire.go", "internal/enrollwire/server.go", "internal/enrollwire/taxonomy_test.go", "internal/join/land.go", "internal/join/land_test.go", "packages/openapi-spec/openapi.yaml" ], "tests": [ { "command": "go test ./internal/enroll/... ./internal/join/... ./internal/enrollwire/...", "exit_code": 0 }, { "command": "go build ./... && go vet ./...", "exit_code": 0 }, { "command": "CI=true pnpm exec vitest run (dashboard, 1274 tests)", "exit_code": 0 }, { "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit (dashboard)", "exit_code": 0 }, { "command": "nix develop .#go-ci: gofmt/build/vet/test/golangci-lint (pre-push gate)", "exit_code": 0 } ], "criteria": { "join ControlPlane port gains ReportLandingFailed; landing calls it on any post-approval failure and does not call ConfirmEnrolled; a failed report is logged, never masks the original error (offline join tests)": "internal/enroll/enroll.go (interface), internal/join/land.go (Enroll calls reportLandingFailed on mesh/certs/up/takeover-stage, returns original cause), internal/join/land_test.go TestEnroll_ReportsLandingFailure + TestEnroll_FailedReportNeverMasksCause", "a control-API verb carries it; the ledger stores LandingError (sentence + time) on the Approved view; status stays Approved; idempotent; a later ConfirmEnrolled clears it (offline ledger tests)": "internal/enroll/ledger.go ReportLandingFailed + ConfirmEnrolled clears LandingError; internal/enrollwire (POST /enroll/requests/{id}/landing-failed, client+server); internal/enroll/enroll_test.go TestReportLandingFailed; internal/enrollwire/device_transport_integration_test.go TestDeviceTransport_ReportLandingFailedOverHTTP", "PendingDevicesSurface renders data-status=pending-device-error with the sentence in [data-field=error-message] from the read; component test": "dashboard/src/components/device-add/PendingDevicesSurface.vue (per-row OcErrorState on approved+landingError), dashboard/src/lib/pending.ts + enrollClient.ts (landing_error mapped from projection), dashboard/tests/unit/pendingDevices.test.ts landing-fails-after-approval test", "the e2e fixture's existing race resolves on the error in seconds when a landing fails": "app/tests/e2e/fixtures/deviceAdd.ts approvePending already races connected vs data-status=pending-device-error; attribution message broadened to name the landing-failure cause (ADR 0214 d.6)", "the p3-device-add-app wireframe gains the pending-device-error state on the dashboard strip (annotated with the domain field names)": "docs/ux/wireframes/p3-device-add-app/p3-s4x-landing-failed.html (DASHBOARD strip, data-status=pending-device-error, data-field=error-message, LandingError annotations) + docs/ux/wireframes/README.md row", "go build/vet/lint/dashboard tests green; STATUS updated": "pre-push nix go-ci gate green (build/vet/test/golangci-lint/gofmt); eslint+vue-tsc+vitest(1274) green; STATUS.md #965 lead added" }, "summary": "A failed post-approval landing reports its own sentence back so the operator's pending strip shows pending-device-error in seconds instead of holding 'approved — joining now' for the full landing ceiling.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#965
No description provided.