HOMELAB-1531: fix(plane): add SEND (Sendrast) to PROJECT_MAP #11

Merged
aaron merged 1 commit from plane/HOMELAB-1531-send-project-map into main 2026-09-10 18:46:07 +00:00
Owner

What

Adds the missing SEND entry to PROJECT_MAP in plane/api.ts. One line.

   APEX: "7c09567f-5cbe-4c51-a49b-1d8eea2b918b",
+  SEND: "a0c84b81-9b77-4ef5-bf7f-94c068da065b",
 };

Why

PROJECT_MAP covered HOMELAB, INTL, GIQ, APEX — but not SEND. Failure modes:

  • parseTicketIdentifier("SEND-49")PROJECT_MAP["SEND"] is undefined → returns null (unknown prefix), so plane_get_item / plane_update_item / plane_comment fail on all SEND tickets.
  • resolveProjectId("SEND") silently falls back to HOMELAB — a worse failure mode: wrong project, no error.

The entry only ever existed as uncommitted working-tree drift on two machines (the mgmt VM and aaron-Mac), so it was one git checkout away from being lost. It was in fact wiped on aaron-Mac during the HOMELAB-1519 main reconciliation and recovered only from a pre-reset drift patch.

Verification

UUID confirmed independently against the Plane API rather than copied from the drift:

GET /api/v1/workspaces/homelab/projects/

SEND       a0c84b81-9b77-4ef5-bf7f-94c068da065b   Sendrast
HOMELAB    205a933f-aab9-41a8-a439-c487059aa36d   Homelab
INTL       d251c4c3-9192-4f4d-8240-fe5f75daa604   INT
GIQ        db542ffc-fd82-4838-8980-0a2c32882149   GalponIQ
APEX       7c09567f-5cbe-4c51-a49b-1d8eea2b918b   Apex Director

All four pre-existing entries match the API, and the new SEND value matches both the API and the drift.

The diff hunk is byte-identical to the mgmt VM's uncommitted drift (index 1279a67..650ec14), so landing this also clears mgmt's last dirty file.

Out of scope (follow-up noted on HOMELAB-1531)

resolveProjectId() silently defaulting to HOMELAB on an unknown prefix deserves its own decision — arguably it should return undefined/throw rather than silently mis-target a project. Not changed here to keep this PR to the one-line data fix.

## What Adds the missing `SEND` entry to `PROJECT_MAP` in `plane/api.ts`. One line. ```diff APEX: "7c09567f-5cbe-4c51-a49b-1d8eea2b918b", + SEND: "a0c84b81-9b77-4ef5-bf7f-94c068da065b", }; ``` ## Why `PROJECT_MAP` covered `HOMELAB`, `INTL`, `GIQ`, `APEX` — but not `SEND`. Failure modes: - `parseTicketIdentifier("SEND-49")` → `PROJECT_MAP["SEND"]` is `undefined` → returns `null` (unknown prefix), so `plane_get_item` / `plane_update_item` / `plane_comment` fail on all SEND tickets. - `resolveProjectId("SEND")` silently falls back to `HOMELAB` — a worse failure mode: wrong project, no error. The entry only ever existed as **uncommitted working-tree drift** on two machines (the mgmt VM and aaron-Mac), so it was one `git checkout` away from being lost. It was in fact wiped on aaron-Mac during the HOMELAB-1519 main reconciliation and recovered only from a pre-reset drift patch. ## Verification UUID confirmed independently against the Plane API rather than copied from the drift: ``` GET /api/v1/workspaces/homelab/projects/ SEND a0c84b81-9b77-4ef5-bf7f-94c068da065b Sendrast HOMELAB 205a933f-aab9-41a8-a439-c487059aa36d Homelab INTL d251c4c3-9192-4f4d-8240-fe5f75daa604 INT GIQ db542ffc-fd82-4838-8980-0a2c32882149 GalponIQ APEX 7c09567f-5cbe-4c51-a49b-1d8eea2b918b Apex Director ``` All four pre-existing entries match the API, and the new `SEND` value matches both the API and the drift. The diff hunk is byte-identical to the mgmt VM's uncommitted drift (`index 1279a67..650ec14`), so landing this also clears mgmt's last dirty file. ## Out of scope (follow-up noted on HOMELAB-1531) `resolveProjectId()` silently defaulting to `HOMELAB` on an unknown prefix deserves its own decision — arguably it should return `undefined`/throw rather than silently mis-target a project. Not changed here to keep this PR to the one-line data fix.
SEND was missing from PROJECT_MAP, so parseTicketIdentifier('SEND-49')
returned null (unknown prefix) and resolveProjectId('SEND') silently fell
back to HOMELAB. The entry only ever existed as uncommitted working-tree
drift on the mgmt VM and aaron-Mac, and was wiped on aaron-Mac during the
HOMELAB-1519 main reconciliation.

UUID verified against the Plane API:
  GET /api/v1/workspaces/homelab/projects/ -> SEND = a0c84b81-... (Sendrast)
aaron merged commit 16e0ec81a6 into main 2026-09-10 18:46:07 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
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
Homelab/pi-extensions!11
No description provided.