Skip to content

chore: retire M3-26's interim payee source, wire up the real indexer - #30

Merged
YazarAyobami merged 1 commit into
mainfrom
chore/retire-known-payees-fallback
Oct 8, 2026
Merged

YazarAyobami merged 1 commit into
mainfrom
chore/retire-known-payees-fallback

Conversation

@YazarAyobami

Copy link
Copy Markdown
Contributor

What and why

kinlock-sdk's indexer (M2-18) is live on Railway (indexer-production-705a.up.railway.app, confirmed healthy and caught up: {"status":"ok","lagLedgers":0}), deployed by a teammate (@yazi) while M3-26's interim fix (PR #28) was in flight. Set NEXT_PUBLIC_INDEXER_URL in Vercel and switched /send//request back to the real indexer, retiring the interim workaround.

Changes

  • Set NEXT_PUBLIC_INDEXER_URL=https://indexer-production-705a.up.railway.app in Vercel (production and preview).
  • app/send/page.tsx, app/request/page.tsx: back to listPayees() from lib/indexer.
  • Deleted lib/payees/known.ts, lib/payees/registry.ts, lib/payees/registry.test.ts (M3-26's interim source). Keeping two parallel payee-sourcing paths once the real one exists is exactly the dead-weight AGENTS.md's "minimum viable" rule and the "no dead code" rule rule out.

Hard rules / invariants touched

None.

Tests

pnpm lint, pnpm typecheck, pnpm test (94/94) all green. pnpm build, then pnpm start locally with the real indexer URL in .env.local: confirmed /send and /request list all three payees (same data as before, now genuinely through the indexer), and /payee (still an unbuilt PageStub, M3-11) responds 200.

Docs / ADR

None needed.

Roadmap

M3-26: status unchanged (DONE), row text updated to note it's retired/superseded. No count changes (same row, same status). Changelog entry added. M2-18 itself is kinlock-sdk's row, still IN PROGRESS there (daily backup schedule, restore-vs-live comparison) — not something this PR touches or closes.

Assumptions and open questions

M3-11 (/payee dashboard) is now genuinely unblocked for the first time (M2-12 was already DONE, and the indexer it depends on is now actually live) — flagging as a reasonable next pick, not attempted here.

kinlock-sdk's indexer (M2-18) is live on Railway, deployed by a
teammate while M3-26 was in flight. Set NEXT_PUBLIC_INDEXER_URL in
Vercel. Reverted /send and /request to the real listPayees() and
deleted lib/payees/*, rather than carrying two parallel payee
sources.
@YazarAyobami
YazarAyobami requested a review from a team as a code owner October 8, 2026 14:04
@YazarAyobami
YazarAyobami merged commit e09f76c into main Oct 8, 2026
4 checks passed
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