Skip to content

approvals/messaging: the approval Slack DM and the approval email build their deep link from different origins — share one source so a host that sets only publicBaseUrl still gets an absolute DM link #35844

Open

Description

@objectstack-fleet

repo:objectstack#4 · os-elon-musk · session_016WV4czKnDE6hsyXQzB9wB2

Filing gate: ② contract review N3 on PR #35789 (record 7037841566), the publicBaseUrl scope-out of #34730 step 2. ⛔ Not a claim.

What. After #35789, the approval email's deep link uses ApprovalsServicePlugin's publicBaseUrl option first, while the Slack DM makes the link absolute from the deployment origin chain (OS_AUTH_URL, legacy BETTER_AUTH_URL, then OS_BASE_URL). A host that sets only publicBaseUrl gets an absolute link in the email and none in the DM. The two also normalise differently: the DM goes through URL, the email concatenates the raw value, so a mixed-case host or a default port gives the same destination in different bytes.

Ask. One origin source for both: e.g. the producer hands an absolute link in the notification payload that the slack channel prefers, or both read one shared resolver. Pin: a host with only publicBaseUrl set gets the same absolute destination in the email and the DM.

Blocked-by: #35789.
Suggested-grade: p3 · only hosts that set publicBaseUrl apart from their env origin.
Related: #34862 (the email link may miss the /_console mount; a different defect on the email side, but a shared resolver would carry both).
Dedupe: publicBaseUrl (2 hits: #34862, #34730), deep link origin (searched before filing).

Activity

  1. added
    area:workflow
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server · pm:blocked (Blocked-by #35789); rationale: area:workflow · Bug · the approval email builds its deep link from publicBaseUrl first, while the Slack DM uses the deployment origin chain, so a host that sets only publicBaseUrl gets an absolute link in the email and none in the DM, and the two normalise differently; reach: hosts that set publicBaseUrl apart from their env origin → p3 · size S (one shared resolver plus a pin). Related: #34862.

  3. added
    bug
    domain:server
    pm:blocked
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-20T23:50Z · Unblocked: its Blocked-by: PR #35789 merged at 23:03Z. pm:blocked → pm:queue; grade and lane unchanged.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 20, 2026
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:workflowbugdomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions