You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything to the right of the "Search Connections" text input on the /communities/connections route flows into next column on desktop viewport and out of bounds on mobile viewport.
On community posts such as http://localhost:8081/communities/a0000000-0000-4000-8000-000000000002/post/baf29862-9905-40f3-b955-f19dd4828c26 the buttons are black on black.
I get an error on /workers/map:
Error fetching jobs: {
"code": "42704",
"details": null,
"hint": null,
"message": "type \"geometry\" does not exist"
}
On /jobs/applications/2df52dee-0309-4cf8-b0ec-ef2f3a66defb/inquiry I'm seeing an error "unable to load inquery"
All four reproduced or root-caused. One is considerably larger than reported, and one is not a bug but an unfinished migration. Splitting into four issues since they share no owner or fix.
1. /workers/map — type "geometry" does not exist → P0
Not a map bug. 308_function_search_path.sql blanket-runs ALTER FUNCTION ... SET search_path = <own schema> over every function it owns, discarding whatever search_path the function was written with. It clobbered 37 functions. PostGIS lives in public, so any function resolving geometry / ST_* / similarity() unqualified now fails.
The 5 that genuinely break (verified individually against a local DB; the other 32 fully-qualify their references and are unaffected):
Function
Declared
Now
Impact
core.get_jobs_with_coords
core, public
core
the reported error
core.get_organizations_with_coords
core, public
core
map org layer
core.check_site_overlaps
core, public
core
project site geo validation
core.validate_address_in_site
core
core
project address validation
onet.search_occupations
—
onet
similarity(), career-assessment search
ERROR: type "geometry" does not exist
LINE 9: ST_X(j.geo::geometry) AS longitude,
Two wrinkles for whoever fixes it: 309tries to move PostGIS to extensions and silently no-op'd locally (extension ownership), so the repair must list public, extensions to survive both states. And 308 will re-clobber any fix if it ever re-runs, so 308 itself needs to append rather than overwrite.
Prod status unverified — worth confirming whether 308 ran there before sizing the blast radius.
getByApplication does not exist on the SDK. inquiries-sdk-hooks.ts:190 does (client.inquiries as unknown as InquiryCapabilityClient).getByApplication(...) — the cast suppresses the type error, so it fails at runtime and the route's error || !data branch renders the red message.
Wider than one route. Of the 19 methods on InquiryCapabilityClient, the SDK implements 3 — 16 are missing, all reached through the same unsafe cast (16 occurrences). Server-side, api/routes/inquiries.ts exposes only GET /v1/inquiries and POST /v1/inquiries, so 7 of the SDK's own 9 paths (getById, respond, templates, bulk/*, history) 404 as well. The type file says as much: "tRPC migration - methods may not exist on SDK yet". Only the legacy tRPC router has the real implementation.
Separately, the route conflates three states into one red error — fetch failure, no inquiry exists, and nonexistent application. There are zero rows in core.application_inquiries locally, so every application currently shows the error even once the method exists.
A lint rule banning as unknown as on SDK clients would be worth it — that cast is what let this ship silently.
3. Black-on-black buttons on community posts → P1
Typography/Text.tsx is not theme-aware at all — no useThemeContext, and resolveColor(undefined) returns colors.text.light.primary (#16110d) unconditionally.
Button correctly sets color: colors.white on its own wrapper Text, but UpvoteButton and BookmarkButton nest a bare <Text> inside it, which re-emits #16110d over the gray[900] filled background.
Cheap fix at the two call sites; the systemic half is that ~1,860 of ~3,880 <Text> usages in scf-core/features carry a manual colors.text[t] override. That workaround density is the bug report.
4. /communities/connections overflow → P2
Input.styles.ts sets minWidth: '100%'andflexShrink: 0 on the input root. So in ConnectionsList.tsx:118 the style={{ flex: 1 }} is powerless — the input claims the full row width and refuses to shrink, shoving "Export CSV" past the edge. Affects 13 call sites authored with flex: 1, including OfficePageHeader (every office page header) and OccupationSearch.
Logistics: #3 and #4 both live in packages/ui, which is a submodule — those need their own PR plus a pointer bump here.
✅ symptom fixed; #443 stays open for the rest of the migration
None of the four was what it looked like. The map error was a migration that clobbered search_path on 37 functions. The black-on-black buttons needed both a theme fix and an inherit fix, because filled/gray is gray[900] in light mode too. The overflow was a minWidth floor no caller could override. The inquiry page was calling an SDK method that never existed, hidden by an as unknown as cast.
Fixing them surfaced 7 further problems, each filed with a reproduction:
Two caveats on verification. CI on main was already red across all six workflows, so every claim above rests on targeted before/after baselines rather than green CI — 31 new tests, with pre-existing failure counts diffed by name. And none of the three UI-visible fixes was confirmed in a browser: the dev server and edge runtime both serve the primary working tree, which held an unrelated in-progress changeset throughout. The fixes are structural and unit-tested, but nobody has watched them render.
Activity
[-]UI Bug on Connections[/-][+]UI Bugs[/+][-]UI Bugs[/-][+]Bugs[/+]thinkclay commentedon Jul 30, 2026
Triage
All four reproduced or root-caused. One is considerably larger than reported, and one is not a bug but an unfinished migration. Splitting into four issues since they share no owner or fix.
1.
/workers/map—type "geometry" does not exist→ P0Not a map bug.
308_function_search_path.sqlblanket-runsALTER FUNCTION ... SET search_path = <own schema>over every function it owns, discarding whatever search_path the function was written with. It clobbered 37 functions. PostGIS lives inpublic, so any function resolvinggeometry/ST_*/similarity()unqualified now fails.The 5 that genuinely break (verified individually against a local DB; the other 32 fully-qualify their references and are unaffected):
core.get_jobs_with_coordscore, publiccorecore.get_organizations_with_coordscore, publiccorecore.check_site_overlapscore, publiccorecore.validate_address_in_sitecorecoreonet.search_occupationsonetsimilarity(), career-assessment searchTwo wrinkles for whoever fixes it:
309tries to move PostGIS toextensionsand silently no-op'd locally (extension ownership), so the repair must listpublic, extensionsto survive both states. And 308 will re-clobber any fix if it ever re-runs, so 308 itself needs to append rather than overwrite.Prod status unverified — worth confirming whether 308 ran there before sizing the blast radius.
2.
/jobs/applications/.../inquiry— "Unable to load inquiry" → P1, unfinished tRPC→SDK migrationgetByApplicationdoes not exist on the SDK.inquiries-sdk-hooks.ts:190does(client.inquiries as unknown as InquiryCapabilityClient).getByApplication(...)— the cast suppresses the type error, so it fails at runtime and the route'serror || !databranch renders the red message.Wider than one route. Of the 19 methods on
InquiryCapabilityClient, the SDK implements 3 — 16 are missing, all reached through the same unsafe cast (16 occurrences). Server-side,api/routes/inquiries.tsexposes onlyGET /v1/inquiriesandPOST /v1/inquiries, so 7 of the SDK's own 9 paths (getById,respond,templates,bulk/*,history) 404 as well. The type file says as much: "tRPC migration - methods may not exist on SDK yet". Only the legacy tRPC router has the real implementation.Separately, the route conflates three states into one red error — fetch failure, no inquiry exists, and nonexistent application. There are zero rows in
core.application_inquirieslocally, so every application currently shows the error even once the method exists.A lint rule banning
as unknown ason SDK clients would be worth it — that cast is what let this ship silently.3. Black-on-black buttons on community posts → P1
Typography/Text.tsxis not theme-aware at all — nouseThemeContext, andresolveColor(undefined)returnscolors.text.light.primary(#16110d) unconditionally.Buttoncorrectly setscolor: colors.whiteon its own wrapper Text, butUpvoteButtonandBookmarkButtonnest a bare<Text>inside it, which re-emits#16110dover thegray[900]filled background.Cheap fix at the two call sites; the systemic half is that ~1,860 of ~3,880
<Text>usages inscf-core/featurescarry a manualcolors.text[t]override. That workaround density is the bug report.4.
/communities/connectionsoverflow → P2Input.styles.tssetsminWidth: '100%'andflexShrink: 0on the input root. So inConnectionsList.tsx:118thestyle={{ flex: 1 }}is powerless — the input claims the full row width and refuses to shrink, shoving "Export CSV" past the edge. Affects 13 call sites authored withflex: 1, includingOfficePageHeader(every office page header) andOccupationSearch.Logistics: #3 and #4 both live in
packages/ui, which is a submodule — those need their own PR plus a pointer bump here.fix(db): repair search_path clobbered by migration 308 (#448)
fix(ui): theme-aware Typography, shrinkable Input, legible community …
fix(inquiries): make the application inquiry page actually load (#475)
thinkclay commentedon Jul 30, 2026
All four triaged, fixed and merged. Details in the triage comment above.
/workers/maptype "geometry" does not exist/communities/connectionsoverflowNone of the four was what it looked like. The map error was a migration that clobbered
search_pathon 37 functions. The black-on-black buttons needed both a theme fix and aninheritfix, becausefilled/grayisgray[900]in light mode too. The overflow was aminWidthfloor no caller could override. The inquiry page was calling an SDK method that never existed, hidden by anas unknown ascast.Fixing them surfaced 7 further problems, each filed with a reproduction:
search_pathat allpackages/ui's vitest config points at a path that doesn't exist, so ~460 tests never runagent-readyuisubmodule on a pointer bump, blocking every bump<Text>agent-readycore.inquiriesdoes not exist, so the pre-existingGET/POST /v1/inquiriesalways 500needs-designauthMiddleware's context is untyped, soc.get()isneverandtest:deno:typescan't passagent-readyTwo caveats on verification. CI on
mainwas already red across all six workflows, so every claim above rests on targeted before/after baselines rather than green CI — 31 new tests, with pre-existing failure counts diffed by name. And none of the three UI-visible fixes was confirmed in a browser: the dev server and edge runtime both serve the primary working tree, which held an unrelated in-progress changeset throughout. The fixes are structural and unit-tested, but nobody has watched them render.Closing this in favour of the split issues.