Skip to content

[TAS-6933] 🔧 Add bookmatter publisher subdomain - #1706

Merged
nwingt merged 2 commits into
likecoin:developfrom
nwingt:tas-6933
Nov 5, 2026
Merged

nwingt merged 2 commits into
likecoin:developfrom
nwingt:tas-6933

Conversation

@nwingt

@nwingt nwingt commented Nov 5, 2026

Copy link
Copy Markdown
Member

No description provided.

@nwingt
nwingt requested a balanced review from Copilot November 5, 2026 02:02
@notion-workspace

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟡 Changes recommended

The change expands approved publisher hosts to include bookmatter.<apex> but lacks corresponding unit test coverage beyond ckxpress, leaving a moderate risk of regression without an added test case.

1 open issue
What changed in this PR

This pull request adds bookmatter as an approved publisher storefront subdomain label so bookmatter.<apex> is treated as an allowed/recognized publisher host, alongside the existing allowlisted publishers.

Changes:

  • Add bookmatter to the approved publisher subdomain allowlist.
  • Clarify via comment that upstream handle resolution may allow renamed handles (not strictly Liker IDs).
File Summary
shared/​constants/​publisher-subdomain.ts Extends the approved publisher subdomain allowlist to include bookmatter and updates/clarifies inline documentation about IDs vs handles.

Review effort: Balanced

// leading/trailing `-`, none of which are legal DNS labels.
export const PUBLISHER_SUBDOMAIN_LIKER_IDS: readonly string[] = ['ckxpress']
// A renamed handle works as well, since the API resolves handles like Liker IDs.
export const PUBLISHER_SUBDOMAIN_LIKER_IDS: readonly string[] = ['ckxpress', 'bookmatter']

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change is a straightforward allowlist update accompanied by expanded parameterized unit tests that validate getPublisherSubdomainHost() for every approved publisher subdomain label, with no outstanding issues noted in the review evidence.

1 open issue

Review effort: Balanced

@nwingt
nwingt merged commit 2728d2b into likecoin:develop Nov 5, 2026
1 check passed
@nwingt
nwingt deleted the tas-6933 branch November 5, 2026 02:25
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.

2 participants