Skip to content

fix(mapbox): move every stored geocode to Geocoding v6 permanent - #1150

Merged
sydevs-bot merged 11 commits into
mainfrom
claude/fix-893-mapbox-permanent
Nov 14, 2026
Merged

sydevs-bot merged 11 commits into
mainfrom
claude/fix-893-mapbox-permanent

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Every Mapbox lookup whose answer is persisted now runs against Geocoding v6 with permanent=true. Search Box publishes no such parameter, so nothing it answered could legally be stored.
  • A venue has no v6 layer of its own, so it is placed by its postal address and keeps its legacy Atlas coordinates when the match is coarser than an address feature.
  • The Events address picker offers address,street where it offered address,poi. A manager can no longer pick a town there: populateAddress wrote that town into the sibling street, and the CSV importer fills the same column only for an address match.
  • Joined: a shared venue was being geocoded twice per import, and the contract and docs still described the old id space.
  • Review follow-up: the v6 feature shape is declared once for both readers, the manual sentinel once for both modules, and doorMapboxId is named addressFeatureMapboxId.

Change outline

Flow — how a region node reaches an id

The endpoint moves, and venue leaves the name-based path entirely.

 resolveRegionLocation(args)                      src/lib/mapbox/geocoder.ts
-  geocodeRegion(args)                            # every level, by name
-    forwardFeature → FORWARD_URL                 # searchbox/v1/forward, no permanent
+  args.level === 'venue'
+    ? geocodeVenue({ street, postCode, city, countryCode })
+        geocodeLocation({ kind: 'address' })     # geocode/v6, permanent=true
+        addressFeatureMapboxId(location)         # a street or town is not the venue
+    : geocodeRegion(args)
+        forwardFeature → GEOCODE_URL             # geocode/v6, permanent=true
   ↓ no id
   legacy coords → manual-<key> + those coords
   ↓ no coords
-  forwardFeature(FALLBACK_TYPES) → FORWARD_URL   # centroid, also stored
+  forwardFeature(FALLBACK_TYPES) → GEOCODE_URL   # centroid, also stored

Behaviour — where permanence is decided

Both builders target one endpoint now, so the invariant is structural rather than two copies of a literal: a lookup that does not start from baseParams cannot be built.

 src/lib/mapbox/geocoder.ts
+  baseParams(types, countryCode, token)          # types, limit, language, permanent, token, country
-  forwardParams(query, token)                    # …those six, spelled here
-    permanent: 'true'
+  forwardUrl(query, token)   → baseParams + q + proximity
   lookupUrl(args, token)     → baseParams + address_line1/postcode/place/region
-    permanent: 'true'                            # …and spelled again here

Types — the level vocabulary

v6 has no POI layer, so venue is no longer a level the types table can answer for. The type says so rather than a comment, and a new Region.level fails to compile here.

+type GeocodableLevel = Exclude<RegionLevel, 'venue'>
+
-const TYPES_BY_LEVEL: Record<RegionLevel, string> = {
+const TYPES_BY_LEVEL: Record<GeocodableLevel, string> = {
   country: 'country',
   region: 'region',
   city: 'place,locality',
-  venue: 'poi,address',
 }

Types — one v6 feature shape, beside the Mapbox code

Both readers of a v6 answer hand-wrote their own subset of the same feature, in two trees under two names. One declaration now, where the code that asks Mapbox for it lives.

+src/lib/mapbox/feature.ts                        # MapboxFeature, MapboxContextLayer
 src/lib/mapbox/geocoder.ts
-  interface ForwardFeature / ForwardContextEntry
+  import type { MapboxFeature, MapboxContextLayer } from './feature'
-  export const MANUAL_LOCATION = 'manual'        # and manualLocation.ts next door
+  export const MANUAL_LOCATION = MANUAL_PREFIX   # one literal, two names
 src/components/admin/AddressSearchField/pickedPlace.ts
-  interface MapboxGeocodingFeature / RegionContext
+  import type { MapboxFeature, MapboxContextLayer } from '@/lib/mapbox/feature'

The library's own GeocodingFeature cannot stand in, and feature.ts says why: @mapbox/search-js-core is not a dependency here and @mapbox/search-js-react re-exports none of its geocoding types; its GeocodingFeatureContextComponent declares neither region_code/region_code_full nor country_code, which the picker reads; and it declares every field required, which a raw fetch body is not. The picker's mount is what keeps the two compatible — onRetrieve is typed (res: GeocodingFeature) => void, so a shape MapboxFeature stops accepting fails to compile there.

Components — the admin location picker

<SearchBox> cannot be asked for a permanent answer, and <Geocoder> hands back one feature rather than a { features } envelope. Its props come from the library, so permanent is type-checked rather than declared locally.

 AddressSearchField                   src/components/admin/AddressSearchField/
-  <SearchBox options={{ types, language }} />
+  <Geocoder  options={{ types, language, permanent: true }} />
-  props: a hand-written MapboxGeocoderProps      # permanent unchecked
+  props: React.ComponentProps<typeof import(…).Geocoder>
-  handleRetrieve(res)  → res.features[0]
+  handleRetrieve(feature)
+    readPickedPlace(feature)          pickedPlace.ts   # new, not 'use client'
+      street ← context.address.name   # v6 has no properties.address
       …city, region, country, postCode, point

Types — what the Events picker may offer

readPickedPlace has no street above the address context layer, so it falls back to the feature's own name. Anything coarser than a street therefore lands in the sibling street.

 src/fields/addressFields.ts
-  searchTypes: 'address,poi'
+  searchTypes: 'address,street'                  # as the Regions venue row has
 AddressSearchField.tsx
-  config.searchTypes ?? 'address,street,place'   # the unreached fallback, same hazard
+  config.searchTypes ?? 'address,street'

Flow — one geocode per shared venue, not two

Both venue paths now build the same URL, so the events pass can be handed the region pass's answer. Before this branch they asked different questions and neither could reuse the other.

 importSharedVenues(venue)                        seeds/atlas/import.ts
   resolveRegionLocation({ level: 'venue', address: venueAddress(venue) })
+  venueMapbox.set(venueId, …)                    # the events pass reads this
 importEvent(event)
   resolveVenueMapbox(venue)
-    geocodeVenue(…)                              # same query, paid for twice
+    venueMapbox hit → no request

Contract — what a client's proposal ids must be

regions.mapboxId changes id space, which resolveProposalRegion matches against. Nothing in the hook changes; what a client may send does.

 docs/rules/api-clients.md § proposal placement
 proposed.address.mapboxId + location.{placeId,regionId,countryId} → regions.mapboxId
+a Search Box id matches nothing
+a venue carries the id of its address, so a POI id falls through to the city
+those ids are stored here, so the client owes a permanent lookup for them too

No client writes those ids today (SahajAtlasWeb's form submits no proposed patch), so nothing regresses now.

Preview

Data: CI fills every preview from seeds/preview-fixture/data.json. This session holds neither half of the Cloudflare Access service token (PREVIEW_ACCESS_CLIENT_ID and PREVIEW_ACCESS_CLIENT_SECRET are both unset), so it could not open the preview to confirm the fill or the row ids each link names.

Test results

  • Lean gate: ✓ lint, format, typecheck (src), typecheck (tests), 281 unit files / 3855 tests
  • Targeted specs: event-imports.int.spec.ts + regions.int.spec.ts, 47 passed, re-run after origin/main was merged in again
  • Build: N/A — CI builds on the Railway preview

Every new assertion was watched failing against its own defect first: the endpoint reverted to Search Box (2 cases), the featureType === 'address' rule dropped, the street guard dropped, the venue branch sent back through the name lookup (3 cases), the street read restored to Search Box's properties.address key, permanent: true removed from the picker's mount, and place restored to the Events picker's searchTypes.

The shared feature type carries no assertion of its own, so the coupling it claims was confirmed the same way: narrowing MapboxFeature's coordinates to [number, number] makes tsc refuse the picker's mount, naming GeocodingFeature as the shape it no longer accepts.

Manual verification

  1. A real venue resolves. pnpm seed atlas --dry-run against a local target, with seeds/atlas/data/ built. Confirm a country, a region and a city reach a real id, and read what each venue reports — a venue whose address Mapbox does not hold now goes manual with its legacy coordinates instead of matching on the building's name.
  2. The picker still works. On this preview, create a city region in the admin: results appear, the sibling name fills, and the saved mapboxId is not a manual- id. Then an Events address: street, city, region, country, postCode, latitude and longitude all fill — and the search offers no town.
  3. Count what is still on a Search Box id. GET /api/regions?where[mapboxId][not_like]=manual&limit=0 against production, against the region count the last refresh seeded (seeds/atlas/data/manifest.json), to decide whether a refresh is enough or a re-pick is owed for rows a manager picked by hand since.

Notes for reviewer

  • The inline event address keeps the bare manual sentinel, not a manual-<key> one, when a single-use venue's address misses. Events.address.mapboxId carries no unique constraint and isManualMapboxId recognises both; only Regions.mapboxId needs a unique value. The venue's own coordinates reach the event through venueToEventAddress either way.
  • venue searches address,street in the admin while the importer stores only a feature_type of address. A manager picking a street deliberately stores a coarser identity; the importer never guesses one. The Events address picker now offers the same two layers, for the same reason.
  • The picker's props come from @mapbox/search-js-react, so permanent is type-checked and a renamed option fails to compile. tests/unit/mapbox-permanent-mounts.spec.ts stays regardless: the option is optional, so a dropped line still compiles, and no type says which component was mounted.
  • The server fetch is ours on purpose, not for want of a client. GeocodingCore ships in @mapbox/search-js-core, and its forward takes free text only — forward(searchText: string, …), carrying its own // TODO: enable structured input alternative arguments. The structured query is the whole point of this branch, so the library's client cannot send it.
  • A third-party surface is named but not fixed here. user-submissions.location holds Mapbox ids the Atlas widget resolves and this repo stores, so the permanence rule binds them too. The code fix is SahajAtlasWeb's; the contract is stated here, on the field and in docs/rules/api-clients.md. Now tracked as fix(map): ask Mapbox for a permanent answer where the id is stored SahajAtlasWeb#404 — the widget's <Geocoder> and reverseGeocode both run without permanent, and so does the branch of feat(widget): submit or correct a class, and opt into a mailing list SahajAtlasWeb#318, the PR that starts sending those ids.
Review findings dismissed, with reasons

Four quality lenses ran (/simplify's reuse, simplification, efficiency and altitude passes). Most findings were applied — the shared baseParams, addressFeatureMapboxId, venueAddress, the venue-geocode cache, the export surface, and several over-long comments. These were not:

  • Replace the args.level === 'venue' branch with an exhaustive Record<RegionLevel, Lookup>. The stated motive was that a new Region.level would slip silently into geocodeRegion. It would not: TYPES_BY_LEVEL is Record<Exclude<RegionLevel,'venue'>, string>, so a new level fails to compile there. The table would trade one two-line branch for an abstraction over two differently-shaped lookups.
  • Narrow the venue lookup to types=address. It currently sends LOOKUP_TYPES.address, whose coarse layers are what let the caller tell "no such street number" from "no such town". Narrowing it would change the bulk event importer, which reads the coarse answer deliberately.
  • One exported SEARCH_TYPES_BY_LEVEL shared by the geocoder, Regions.ts and addressFields.ts. A real option — admin.custom ships the value, not the module, so no client import is involved — but it is a refactor of three files' public shape that this ticket did not ask for. The Regions.ts comment now names the importer's table and says where the venue row went instead.
  • Fold GeocodeVenueArgs into GeocodeLocationArgs. They are deliberately in different vocabularies: the venue type uses the Payload field names its callers hold (street, postCode), the location type the CSV import's (address, postcode).
  • readPickedPlace maps the address even in the Regions picker's id-only mode. One array scan per click, and only on the branch where Mapbox returned neither region_code nor region_code_full.
  • Retire tests/unit/mapbox-permanent-mounts.spec.ts now that the props are typed. The type closes the renamed-option half only. With permanent: true deleted from the mount, tsc still exits 0 and that spec goes red; its Search Box case is not a typing question at all.
Detail

Why the endpoint is the assertion, not the parameter. Mapbox ignores permanent on Search Box, so a spec that pinned the parameter alone would be green against an API that never honoured it. expectPermanentV6 pins both at every stored call path.

Why the centroid fallback moved too. Step 3 of resolveRegionLocation writes the coordinates it finds onto the region row, so it is a persisted answer like any other. FALLBACK_TYPES was already v6 vocabulary, so it carried over unchanged.

Why the mapping left the component. Every export of a 'use client' module reaches a server module as a client reference, so nothing declared in AddressSearchField.tsx can be read by a spec. tests/AGENTS.md says to extract the pure part before reaching for jsdom, so pickedPlace.ts is that part and there is no mounted-component spec. The v6 feature shape it reads is MapboxFeature (src/lib/mapbox/feature.ts), which the mount checks against the library's GeocodingFeature.

Why MANUAL_LOCATION keeps its name. The resolver answers the bare sentinel and its caller makes it unique with makeManualMapboxId, which is a distinction worth keeping at the call sites. Only the literal is shared now, so the answer and isManualMapboxId cannot drift apart. typeof MANUAL_LOCATION is still 'manual', so RegionLocation is unchanged.

No migration. Only admin.custom values changed; no column, no enum, no field shape.

Closes #893

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mg9rjUwvQcsEv52DC14hSY

Search Box publishes no `permanent` parameter, so nothing it answers may be
stored — and `Regions.mapboxId`, the admin picker's value and the Atlas
import's centroids all are. Every lookup whose answer is persisted now runs
against Geocoding v6 with `permanent=true`.

v6 carries no POI layer, so a venue is placed by its postal address through
the structured lookup the bulk event import already uses, and keeps its
legacy Atlas coordinates when the match is coarser than a door.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUwvQcsEv52DC14hSY
`AddressSearchField` is a `'use client'` module, so every export of it
reaches a server module as a client reference and nothing in it can be
unit-tested. The response mapping — the part that moved when the picker left
Search Box — now lives beside it as plain data.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUwvQcsEv52DC14hSY
`regions.mapboxId` is now written by Geocoding v6, so a client picking
through Search Box matches nothing — and a venue carries its address's id,
because v6 holds no POI layer.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUwvQcsEv52DC14hSY
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1150 November 13, 2026 16:57 Destroyed
@railway-app

railway-app Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-1150 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Nov 13, 2026 at 11:03 pm UTC
1 service not affected by this PR
  • mailpit

Both query builders now start from `baseParams`, so a lookup that does not
carry `permanent` is one that cannot be built — the file's headline claim was
otherwise enforced by two copies of a string literal. `doorMapboxId` does the
same for the rule that only a `feature_type` of `address` may be stored, which
the bulk importer spelled separately.

A shared venue was geocoded twice with what is now a byte-identical query: the
region pass never seeded `venueMapbox`, so the events pass paid for it again,
once per shared venue, each a billable permanent geocode.

A source-reading spec holds `permanent: true` on the admin picker. Nothing
type-checks it — `@mapbox/search-js-web` owns the props and is not a direct
dependency, so the mount is a hand-written interface behind a dynamic cast.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjUwvQcsEv52DC14hSY
@sydevs-bot

sydevs-bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 22:43Z address-review · attempt 1 · session · done
  • 22:43Z address-review · attempt 1 · session
  • 17:33Z address-review · attempt 1 · session · done
  • 17:33Z address-review · attempt 1 · session
  • 17:26Z review-pr · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 13, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 13, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🧐 Adversarial review

The diff is the size of #893 and no larger. Four Search Box writers move to v6 permanent, the venue behaviour change is the one the ticket predicted, and the three joined pieces — the double geocode, the contract line, the migration plan — are joins the rule allows. Record<GeocodableLevel, string> and the single baseParams are the right shape: the invariant is structural, not a literal spelled twice. Two things do not hold. The browser path's permanence is guaranteed by a hand-written interface and a source grep, when the library's own types would check it. And the Events picker quietly gained place, which #893 did not ask for and which the importer next door refuses.

Findings

  • should-fix — AddressSearchField.tsx:43: the props cast is why permanent: true is unverifiable; @mapbox/search-js-react types it.
  • should-fix — addressFields.ts:87: place is new scope, and stores an id doorMapboxId rejects.
  • consider — api-clients.md:94: the client obligation has no consumer-side ticket.

What was checked. Read whole on the branch: geocoder.ts, AddressSearchField.tsx, pickedPlace.ts, addressFields.ts, Regions.ts, import.ts, and the three specs. Ladder — pickedPlace.ts follows tests/AGENTS.md and src/components/admin/helpers/; venueAddress and doorMapboxId have two callers each; baseParams removes a duplicate. Unpacked @mapbox/[email protected] and @mapbox/[email protected] to confirm Geocoder's props and GeocodingOptions.permanent. Consumer side: SahajAtlasWeb MapSearch.tsx and lib/geocode.ts. Confirmed no types value still names poi, and venueMapbox is keyed on legacyId in both passes. Previews unreachable: seedsPreviews is false and both Access halves are unset here, as the body says.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread src/fields/addressFields.ts Resolved
Comment thread docs/rules/api-clients.md Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 13, 2026
sydevs-bot and others added 3 commits November 13, 2026 17:34
`permanent: true` is this PR's whole effect in the browser, and a
hand-written props interface behind the `next/dynamic` cast meant the
compiler never saw it: a renamed or dropped option shipped green.
`@mapbox/search-js-react` types the props already, so take them from
there. A renamed option now fails to compile.

A dropped one still does not — `permanent` is optional — and no type
says which component was mounted, so `mapbox-permanent-mounts.spec.ts`
stays and its docblock now states which half it still owns.

`MapboxGeocodingFeature` keeps its own shape so a spec can build one,
but the mount now checks it against the library's `GeocodingFeature`,
which carries GeoJSON's `number[]` position.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVkLvnvWuKip4Mp4Xj
#893 asked for `poi` to go; `place` arrived in its stead, and it is new
scope. `readPickedPlace` has no street above the `address` context layer,
so it falls back to the feature's own name — picking a town wrote that
town into `street`. The CSV importer fills the same column for a door
alone (`doorMapboxId`), so a town's id there is one column carrying two
identities.

The picker now offers `address,street`, matching the Regions venue row,
and the component's own fallback default follows. A new unit spec reads
the offered layers off the built group, so the next widening fails.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVkLvnvWuKip4Mp4Xj
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Three critic threads, all settled. origin/main merged in clean first, so each fix is built on it.

Gate: lint, format, both typechecks, 280 unit files / 3846 tests. event-imports + regions int specs, 47 passed.

Body refreshed: the Summary names the picker's narrowed scope as a second behaviour change.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 13, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 13, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 13, 2026 18:02
@sydevs-bot
sydevs-bot requested a review from Ardnived November 13, 2026 18:02
@sydevs-bot
sydevs-bot enabled auto-merge November 13, 2026 18:02
@sydevs-bot sydevs-bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 13, 2026
Comment thread src/lib/mapbox/geocoder.ts Resolved
Comment thread src/lib/mapbox/geocoder.ts Resolved
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 13, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 13, 2026
The server geocoder and the admin picker each hand-wrote a subset of the
same Geocoding v6 feature, in two trees, under two names. One lives in
src/lib/mapbox/feature.ts now, beside the code that asks Mapbox for it.

The library's own GeocodingFeature cannot replace it, and the new file
says why: @mapbox/search-js-core is not a dependency here and
search-js-react re-exports none of its geocoding types; its
GeocodingFeatureContextComponent declares neither region_code nor
country_code, which the picker reads; and it declares every field
required, which a raw fetch body is not.

What keeps ours compatible with theirs is the picker's own mount, where
onRetrieve is typed (feature: GeocodingFeature) => void. Verified by
narrowing coordinates to [number, number]: tsc then refuses the mount,
naming GeocodingFeature as the shape it no longer accepts.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVxY9Yi88gS5oyFRYu
doorMapboxId said "door" for what Mapbox calls an `address` feature, and
"door" already means an entry point in a dozen comments across this
repo — so the name read as being about a seam rather than about a street
number. It is addressFeatureMapboxId now, after the `feature_type` it is
the whole test for, and the same metaphor is gone from the prose that
explains the rule at the picker, the Events field and the two specs.

No behaviour changes: the guard still returns the id for an `address`
match and null for every coarser one.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVxY9Yi88gS5oyFRYu
geocoder.ts spelled the `manual` string itself and said in prose that it
"matches AddressSearchField", while manualLocation.ts next door declared
the same literal as MANUAL_PREFIX and owns the two spellings that count
as hand-entered. seeds/atlas/import.ts already imported one name from
each file. MANUAL_LOCATION now derives from MANUAL_PREFIX, so the
resolver's answer and the detector cannot drift apart.

The name stays: the resolver answers the bare sentinel and its caller
makes it unique, which is a distinction worth keeping at the call sites.
typeof MANUAL_LOCATION is still the 'manual' literal, so RegionLocation
is unchanged.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVxY9Yi88gS5oyFRYu
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1150 November 13, 2026 23:00 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Your four threads, all answered. origin/main merged in clean first (#1145).

  • The buried feature type — adopted, a08f282. All three readings held, and geocoder.ts hand-wrote the same subset. One src/lib/mapbox/feature.ts now.
  • pickedPlace.ts, whole — that type was its one duplicate.
  • doorMapboxId — renamed addressFeatureMapboxId, 16b612f. Resolved.
  • geocoder.ts, whole — second duplicate adopted, f82de02: MANUAL_LOCATION derives from manualLocation.ts.

Three stay open on one fact each, yours to settle: search-js-core is no dependency and omits region_code and country_code, and GeocodingCore.forward takes free text only.

Gate: lint, format, both typechecks, 281 unit files / 3855 tests. event-imports + regions, 47 passed.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 13, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 13, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Approved, but this thread still waits on you, and the ruleset will not merge until it is resolved: #1150 (comment). Reply there, or resolve it.

🤖 sydevs dispatcher

@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 14, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 14, 2026
Merged via the queue into main with commit 140ca86 Nov 14, 2026
65 of 69 checks passed
@sydevs-bot
sydevs-bot deleted the claude/fix-893-mapbox-permanent branch November 14, 2026 17:42
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 14, 2026

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1150 — f82de021 Deployed Nov 13, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

fix(mapbox): move every stored geocode to Geocoding v6 permanent

3 participants