Payload
{
"action": "created",
"comment": {
"url": "https://api.github.com/repos/voytravel/voy/pulls/comments/3612279319",
"pull_request_review_id": 4732461194,
"id": 3612279319,
"node_id": "PRRC_kwDOPLnB3s7XTwIX",
"diff_hunk": "@@ -0,0 +1,660 @@\n+import {\n+ canonicalPlaceEditorialLinks,\n+ canonicalPlaces,\n+} from \"@voytravel/db/schema\";\n+import { and, eq, inArray, sql } from \"drizzle-orm\";\n+import type { PlacesEnrichmentDb } from \"./db.js\";\n+\n+export type CanonicalPlaceUpsertInput = {\n+ googlePayload: Record<string, unknown>;\n+ fetchedAt: Date;\n+ matchedEditorialPlaceId?: string | null;\n+ matchMethod?: \"google_place_id\" | \"normalized_name_geo\" | \"manual\";\n+ matchConfidence?: number;\n+};\n+\n+export type CanonicalPlaceRecord = {\n+ id: string;\n+ primaryName: string;\n+ formattedAddress: string | null;\n+ city: string | null;\n+ region: string | null;\n+ countryCode: string | null;\n+ lat: number | null;\n+ lng: number | null;\n+ googlePlaceId: string | null;\n+ googleMapsUri: string | null;\n+ websiteUri: string | null;\n+ rating: number | null;\n+ reviewCount: number | null;\n+ placeTypes: string[];\n+ googleRaw: Record<string, unknown> | null;\n+ lastGoogleSyncAt?: Date | null;\n+ lastFetchedAt?: Date | null;\n+};\n+\n+export interface CanonicalPlaceRepository {\n+ upsertGooglePlace(input: CanonicalPlaceUpsertInput): Promise<string | null>;\n+ listByGooglePlaceIds(placeIds: string[]): Promise<CanonicalPlaceRecord[]>;\n+ getByGooglePlaceId(placeId: string): Promise<CanonicalPlaceRecord | null>;\n+ getLinkedEditorialPlaceIdsByGooglePlaceIds(\n+ placeIds: string[],\n+ ): Promise<Map<string, string>>;\n+ searchText(options: {\n+ textQuery: string;\n+ maxResults: number;\n+ }): Promise<CanonicalPlaceRecord[]>;\n+ searchNearby(options: {\n+ lat: number;\n+ lng: number;\n+ radiusMeters: number;\n+ maxResults: number;\n+ includedTypes?: string[];\n+ excludedTypes?: string[];\n+ }): Promise<CanonicalPlaceRecord[]>;\n+}\n+\n+export class DrizzleCanonicalPlaceRepository\n+ implements CanonicalPlaceRepository\n+{\n+ constructor(private readonly db: PlacesEnrichmentDb) {}\n+\n+ async searchText(options: {\n+ textQuery: string;\n+ maxResults: number;\n+ }): Promise<CanonicalPlaceRecord[]> {\n+ const textQuery = cleanStringValue(options.textQuery);\n+ if (!textQuery) {\n+ return [];\n+ }\n+\n+ const tokenClauses = buildCanonicalSearchTokenClauses(textQuery);\n+ if (tokenClauses.length === 0) {\n+ return [];\n+ }\n+\n+ const rows = await this.db\n+ .select()\n+ .from(canonicalPlaces)\n+ .where(and(...tokenClauses))\n+ .limit(Math.max(options.maxResults * 4, 12));\n+\n+ return rows\n+ .map(mapCanonicalPlaceRow)\n+ .sort((left, right) => {\n+ const leftRating = left.rating ?? 0;\n+ const rightRating = right.rating ?? 0;\n+ if (rightRating !== leftRating) {\n+ return rightRating - leftRating;\n+ }\n+ return (right.reviewCount ?? 0) - (left.reviewCount ?? 0);\n+ })\n+ .slice(0, options.maxResults);\n+ }\n+\n+ async getByGooglePlaceId(\n+ placeId: string,\n+ ): Promise<CanonicalPlaceRecord | null> {\n+ const row = await this.db.query.canonicalPlaces.findFirst({\n+ where: eq(canonicalPlaces.googlePlaceId, placeId),\n+ });\n+ return row ? mapCanonicalPlaceRow(row) : null;\n+ }\n+\n+ async getLinkedEditorialPlaceIdsByGooglePlaceIds(\n+ placeIds: string[],\n+ ): Promise<Map<string, string>> {\n+ if (placeIds.length === 0) {\n+ return new Map();\n+ }\n+\n+ const rows = await this.db\n+ .select({\n+ googlePlaceId: canonicalPlaces.googlePlaceId,\n+ recommendationPlaceId:\n+ canonicalPlaceEditorialLinks.recommendationPlaceId,\n+ })\n+ .from(canonicalPlaces)\n+ .innerJoin(\n+ canonicalPlaceEditorialLinks,\n+ eq(canonicalPlaceEditorialLinks.canonicalPlaceId, canonicalPlaces.id),\n+ )\n+ .where(inArray(canonicalPlaces.googlePlaceId, placeIds));\n+\n+ const result = new Map<string, string>();\n+ for (const row of rows) {\n+ if (!row.googlePlaceId) continue;\n+ result.set(row.googlePlaceId, row.recommendationPlaceId);\n+ }\n+ return result;\n+ }\n+\n+ async searchNearby(options: {\n+ lat: number;\n+ lng: number;\n+ radiusMeters: number;\n+ maxResults: number;\n+ includedTypes?: string[];\n+ excludedTypes?: string[];\n+ }): Promise<CanonicalPlaceRecord[]> {\n+ const { minLat, maxLat, minLng, maxLng } = computeBoundingBox({\n+ lat: options.lat,\n+ lng: options.lng,\n+ radiusMeters: options.radiusMeters,\n+ });\n+ const distanceSquared = sql<number>`(${canonicalPlaces.lat}::float - ${options.lat})^2 + (${canonicalPlaces.lng}::float - ${options.lng})^2`;\n+ const rows = await this.db\n+ .select()\n+ .from(canonicalPlaces)\n+ .where(\n+ and(\n+ sql`${canonicalPlaces.lat} is not null and ${canonicalPlaces.lng} is not null`,\n+ sql`${canonicalPlaces.lat} between ${minLat} and ${maxLat}`,\n+ sql`${canonicalPlaces.lng} between ${minLng} and ${maxLng}`,\n+ ),\n+ )\n+ .orderBy(distanceSquared)\n+ .limit(Math.max(options.maxResults * 8, 60));\n+\n+ const radiusKm = options.radiusMeters / 1000;\n+ return rows\n+ .map(mapCanonicalPlaceRow)\n+ .filter((row) =>\n+ matchesTypeFilters({\n+ placeTypes: row.placeTypes,\n+ includedTypes: options.includedTypes,\n+ excludedTypes: options.excludedTypes,\n+ }),\n+ )\n+ .map((row) => ({\n+ row,\n+ distanceKm:\n+ row.lat !== null && row.lng !== null\n+ ? haversineKm(options.lat, options.lng, row.lat, row.lng)\n+ : Number.POSITIVE_INFINITY,\n+ }))\n+ .filter((entry) => entry.distanceKm <= radiusKm)\n+ .sort((left, right) => left.distanceKm - right.distanceKm)\n+ .slice(0, options.maxResults)\n+ .map((entry) => entry.row);\n+ }\n+\n+ async listByGooglePlaceIds(\n+ placeIds: string[],\n+ ): Promise<CanonicalPlaceRecord[]> {\n+ if (placeIds.length === 0) {\n+ return [];\n+ }\n+\n+ const rows = await this.db\n+ .select()\n+ .from(canonicalPlaces)\n+ .where(inArray(canonicalPlaces.googlePlaceId, placeIds));\n+\n+ return rows.map(mapCanonicalPlaceRow);\n+ }\n+\n+ async upsertGooglePlace(\n+ input: CanonicalPlaceUpsertInput,\n+ ): Promise<string | null> {\n+ const primaryName = readDisplayName(input.googlePayload);\n+ const googlePlaceId = cleanStringValue(input.googlePayload.id);\n+ const location = readLocation(input.googlePayload);\n+ const city = readCity(input.googlePayload);\n+ const countryCode = readCountryCode(input.googlePayload);\n+ const normalizedPrimaryName = normalizeLookupText(primaryName);\n+\n+ if (!primaryName || !normalizedPrimaryName) {\n+ return null;\n+ }\n+\n+ const matchedCanonicalPlace = googlePlaceId\n+ ? await this.db.query.canonicalPlaces.findFirst({\n+ where: eq(canonicalPlaces.googlePlaceId, googlePlaceId),\n+ })\n+ : await findCanonicalByNormalizedNameAndGeo(this.db, {",
"path": "apps/places-enrichment/src/canonical-place-repository.ts",
"commit_id": "c774ec1fac64d3caa00e009fd7c7395042b1f542",
"original_commit_id": "c774ec1fac64d3caa00e009fd7c7395042b1f542",
"user": {
"login": "chatgpt-codex-connector[bot]",
"id": 199175422,
"node_id": "BOT_kgDOC98s_g",
"avatar_url": "https://avatars.githubusercontent.com/in/1144995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D",
"html_url": "https://github.com/apps/chatgpt-codex-connector",
"followers_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
"body": "**<sub><sub></sub></sub> Fall back to geo matching before inserting Google rows**\n\nWhen an editorial reconciliation seeded a canonical row without `google_place_id` and a later Google enrichment finds the same place, this branch only searches by the new Google id and never tries the normalized-name/geo match. That inserts a second canonical row and moves the editorial link to it, leaving the original editorial canonical row orphaned and eligible to show up as a duplicate in canonical nearby results; fall back to `findCanonicalByNormalizedNameAndGeo` when the place-id lookup misses.\n\nUseful? React with 👍 / 👎.",
"created_at": "2026-07-20T05:59:44Z",
"updated_at": "2026-07-20T05:59:44Z",
"html_url": "https://github.com/voytravel/voy/pull/1144#discussion_r3612279319",
"pull_request_url": "https://api.github.com/repos/voytravel/voy/pulls/1144",
"_links": {
"self": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/comments/3612279319"
},
"html": {
"href": "https://github.com/voytravel/voy/pull/1144#discussion_r3612279319"
},
"pull_request": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/1144"
}
},
"reactions": {
"url": "https://api.github.com/repos/voytravel/voy/pulls/comments/3612279319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"start_line": 211,
"original_start_line": 211,
"start_side": "RIGHT",
"line": 215,
"original_line": 215,
"side": "RIGHT",
"author_association": "NONE",
"original_position": 215,
"position": 215,
"subject_type": "line"
},
"pull_request": {
"url": "https://api.github.com/repos/voytravel/voy/pulls/1144",
"id": 4073379586,
"node_id": "PR_kwDOPLnB3s7yytcC",
"html_url": "https://github.com/voytravel/voy/pull/1144",
"diff_url": "https://github.com/voytravel/voy/pull/1144.diff",
"patch_url": "https://github.com/voytravel/voy/pull/1144.patch",
"issue_url": "https://api.github.com/repos/voytravel/voy/issues/1144",
"number": 1144,
"state": "open",
"locked": false,
"title": "Preserve cached place detail richness",
"user": {
"login": "blazezhenli-sys",
"id": 256320923,
"node_id": "U_kgDOD0clmw",
"avatar_url": "https://avatars.githubusercontent.com/u/256320923?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blazezhenli-sys",
"html_url": "https://github.com/blazezhenli-sys",
"followers_url": "https://api.github.com/users/blazezhenli-sys/followers",
"following_url": "https://api.github.com/users/blazezhenli-sys/following{/other_user}",
"gists_url": "https://api.github.com/users/blazezhenli-sys/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blazezhenli-sys/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blazezhenli-sys/subscriptions",
"organizations_url": "https://api.github.com/users/blazezhenli-sys/orgs",
"repos_url": "https://api.github.com/users/blazezhenli-sys/repos",
"events_url": "https://api.github.com/users/blazezhenli-sys/events{/privacy}",
"received_events_url": "https://api.github.com/users/blazezhenli-sys/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"body": "## Summary\n- preserve previously stored `place_details` JSON fields when later writes for the same place/language/profile are thinner\n- mirror that behavior in the in-memory test repository used by places-enrichment tests\n- add regression coverage for repeated core and rich detail writes\n\n## Testing\n- pnpm --filter @voytravel/places-enrichment test\n- pnpm --filter @voytravel/places-enrichment typecheck\n",
"created_at": "2026-07-17T03:02:22Z",
"updated_at": "2026-07-20T05:52:09Z",
"closed_at": null,
"merged_at": null,
"merge_commit_sha": null,
"assignees": [],
"requested_reviewers": [
{
"login": "michaelmwu",
"id": 421504,
"node_id": "MDQ6VXNlcjQyMTUwNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/421504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelmwu",
"html_url": "https://github.com/michaelmwu",
"followers_url": "https://api.github.com/users/michaelmwu/followers",
"following_url": "https://api.github.com/users/michaelmwu/following{/other_user}",
"gists_url": "https://api.github.com/users/michaelmwu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michaelmwu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michaelmwu/subscriptions",
"organizations_url": "https://api.github.com/users/michaelmwu/orgs",
"repos_url": "https://api.github.com/users/michaelmwu/repos",
"events_url": "https://api.github.com/users/michaelmwu/events{/privacy}",
"received_events_url": "https://api.github.com/users/michaelmwu/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "nickick",
"id": 1316662,
"node_id": "MDQ6VXNlcjEzMTY2NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1316662?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickick",
"html_url": "https://github.com/nickick",
"followers_url": "https://api.github.com/users/nickick/followers",
"following_url": "https://api.github.com/users/nickick/following{/other_user}",
"gists_url": "https://api.github.com/users/nickick/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nickick/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickick/subscriptions",
"organizations_url": "https://api.github.com/users/nickick/orgs",
"repos_url": "https://api.github.com/users/nickick/repos",
"events_url": "https://api.github.com/users/nickick/events{/privacy}",
"received_events_url": "https://api.github.com/users/nickick/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "mylordkaz",
"id": 128312170,
"node_id": "U_kgDOB6Xjag",
"avatar_url": "https://avatars.githubusercontent.com/u/128312170?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mylordkaz",
"html_url": "https://github.com/mylordkaz",
"followers_url": "https://api.github.com/users/mylordkaz/followers",
"following_url": "https://api.github.com/users/mylordkaz/following{/other_user}",
"gists_url": "https://api.github.com/users/mylordkaz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mylordkaz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mylordkaz/subscriptions",
"organizations_url": "https://api.github.com/users/mylordkaz/orgs",
"repos_url": "https://api.github.com/users/mylordkaz/repos",
"events_url": "https://api.github.com/users/mylordkaz/events{/privacy}",
"received_events_url": "https://api.github.com/users/mylordkaz/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
],
"requested_teams": [],
"labels": [],
"milestone": null,
"draft": false,
"commits_url": "https://api.github.com/repos/voytravel/voy/pulls/1144/commits",
"review_comments_url": "https://api.github.com/repos/voytravel/voy/pulls/1144/comments",
"review_comment_url": "https://api.github.com/repos/voytravel/voy/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/voytravel/voy/issues/1144/comments",
"statuses_url": "https://api.github.com/repos/voytravel/voy/statuses/c774ec1fac64d3caa00e009fd7c7395042b1f542",
"head": {
"label": "voytravel:blaze/location-discovery-service-followup",
"ref": "blaze/location-discovery-service-followup",
"sha": "c774ec1fac64d3caa00e009fd7c7395042b1f542",
"user": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voytravel",
"html_url": "https://github.com/voytravel",
"followers_url": "https://api.github.com/users/voytravel/followers",
"following_url": "https://api.github.com/users/voytravel/following{/other_user}",
"gists_url": "https://api.github.com/users/voytravel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voytravel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voytravel/subscriptions",
"organizations_url": "https://api.github.com/users/voytravel/orgs",
"repos_url": "https://api.github.com/users/voytravel/repos",
"events_url": "https://api.github.com/users/voytravel/events{/privacy}",
"received_events_url": "https://api.github.com/users/voytravel/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 1018806750,
"node_id": "R_kgDOPLnB3g",
"name": "voy",
"full_name": "voytravel/voy",
"private": true,
"owner": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voytravel",
"html_url": "https://github.com/voytravel",
"followers_url": "https://api.github.com/users/voytravel/followers",
"following_url": "https://api.github.com/users/voytravel/following{/other_user}",
"gists_url": "https://api.github.com/users/voytravel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voytravel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voytravel/subscriptions",
"organizations_url": "https://api.github.com/users/voytravel/orgs",
"repos_url": "https://api.github.com/users/voytravel/repos",
"events_url": "https://api.github.com/users/voytravel/events{/privacy}",
"received_events_url": "https://api.github.com/users/voytravel/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/voytravel/voy",
"description": "Voy Monorepo",
"fork": false,
"url": "https://api.github.com/repos/voytravel/voy",
"forks_url": "https://api.github.com/repos/voytravel/voy/forks",
"keys_url": "https://api.github.com/repos/voytravel/voy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/voytravel/voy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/voytravel/voy/teams",
"hooks_url": "https://api.github.com/repos/voytravel/voy/hooks",
"issue_events_url": "https://api.github.com/repos/voytravel/voy/issues/events{/number}",
"events_url": "https://api.github.com/repos/voytravel/voy/events",
"assignees_url": "https://api.github.com/repos/voytravel/voy/assignees{/user}",
"branches_url": "https://api.github.com/repos/voytravel/voy/branches{/branch}",
"tags_url": "https://api.github.com/repos/voytravel/voy/tags",
"blobs_url": "https://api.github.com/repos/voytravel/voy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/voytravel/voy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/voytravel/voy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/voytravel/voy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/voytravel/voy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/voytravel/voy/languages",
"stargazers_url": "https://api.github.com/repos/voytravel/voy/stargazers",
"contributors_url": "https://api.github.com/repos/voytravel/voy/contributors",
"subscribers_url": "https://api.github.com/repos/voytravel/voy/subscribers",
"subscription_url": "https://api.github.com/repos/voytravel/voy/subscription",
"commits_url": "https://api.github.com/repos/voytravel/voy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/voytravel/voy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/voytravel/voy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/voytravel/voy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/voytravel/voy/contents/{+path}",
"compare_url": "https://api.github.com/repos/voytravel/voy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/voytravel/voy/merges",
"archive_url": "https://api.github.com/repos/voytravel/voy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/voytravel/voy/downloads",
"issues_url": "https://api.github.com/repos/voytravel/voy/issues{/number}",
"pulls_url": "https://api.github.com/repos/voytravel/voy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/voytravel/voy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/voytravel/voy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/voytravel/voy/labels{/name}",
"releases_url": "https://api.github.com/repos/voytravel/voy/releases{/id}",
"deployments_url": "https://api.github.com/repos/voytravel/voy/deployments",
"created_at": "2025-07-13T04:51:01Z",
"updated_at": "2026-07-18T15:45:05Z",
"pushed_at": "2026-07-20T05:52:08Z",
"git_url": "git://github.com/voytravel/voy.git",
"ssh_url": "org-213144510@github.com:voytravel/voy.git",
"clone_url": "https://github.com/voytravel/voy.git",
"svn_url": "https://github.com/voytravel/voy",
"homepage": null,
"size": 67885,
"stargazers_count": 1,
"watchers_count": 1,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": false,
"has_pages": false,
"has_discussions": true,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 36,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 36,
"watchers": 1,
"default_branch": "develop",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": true,
"delete_branch_on_merge": true,
"allow_update_branch": true,
"use_squash_pr_title_as_default": false,
"squash_merge_commit_message": "COMMIT_MESSAGES",
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
"merge_commit_message": "PR_TITLE",
"merge_commit_title": "MERGE_MESSAGE"
}
},
"base": {
"label": "voytravel:develop",
"ref": "develop",
"sha": "3518ba3516cab8544a1295282500e44b9fc76981",
"user": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voytravel",
"html_url": "https://github.com/voytravel",
"followers_url": "https://api.github.com/users/voytravel/followers",
"following_url": "https://api.github.com/users/voytravel/following{/other_user}",
"gists_url": "https://api.github.com/users/voytravel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voytravel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voytravel/subscriptions",
"organizations_url": "https://api.github.com/users/voytravel/orgs",
"repos_url": "https://api.github.com/users/voytravel/repos",
"events_url": "https://api.github.com/users/voytravel/events{/privacy}",
"received_events_url": "https://api.github.com/users/voytravel/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"repo": {
"id": 1018806750,
"node_id": "R_kgDOPLnB3g",
"name": "voy",
"full_name": "voytravel/voy",
"private": true,
"owner": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voytravel",
"html_url": "https://github.com/voytravel",
"followers_url": "https://api.github.com/users/voytravel/followers",
"following_url": "https://api.github.com/users/voytravel/following{/other_user}",
"gists_url": "https://api.github.com/users/voytravel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voytravel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voytravel/subscriptions",
"organizations_url": "https://api.github.com/users/voytravel/orgs",
"repos_url": "https://api.github.com/users/voytravel/repos",
"events_url": "https://api.github.com/users/voytravel/events{/privacy}",
"received_events_url": "https://api.github.com/users/voytravel/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/voytravel/voy",
"description": "Voy Monorepo",
"fork": false,
"url": "https://api.github.com/repos/voytravel/voy",
"forks_url": "https://api.github.com/repos/voytravel/voy/forks",
"keys_url": "https://api.github.com/repos/voytravel/voy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/voytravel/voy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/voytravel/voy/teams",
"hooks_url": "https://api.github.com/repos/voytravel/voy/hooks",
"issue_events_url": "https://api.github.com/repos/voytravel/voy/issues/events{/number}",
"events_url": "https://api.github.com/repos/voytravel/voy/events",
"assignees_url": "https://api.github.com/repos/voytravel/voy/assignees{/user}",
"branches_url": "https://api.github.com/repos/voytravel/voy/branches{/branch}",
"tags_url": "https://api.github.com/repos/voytravel/voy/tags",
"blobs_url": "https://api.github.com/repos/voytravel/voy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/voytravel/voy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/voytravel/voy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/voytravel/voy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/voytravel/voy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/voytravel/voy/languages",
"stargazers_url": "https://api.github.com/repos/voytravel/voy/stargazers",
"contributors_url": "https://api.github.com/repos/voytravel/voy/contributors",
"subscribers_url": "https://api.github.com/repos/voytravel/voy/subscribers",
"subscription_url": "https://api.github.com/repos/voytravel/voy/subscription",
"commits_url": "https://api.github.com/repos/voytravel/voy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/voytravel/voy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/voytravel/voy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/voytravel/voy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/voytravel/voy/contents/{+path}",
"compare_url": "https://api.github.com/repos/voytravel/voy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/voytravel/voy/merges",
"archive_url": "https://api.github.com/repos/voytravel/voy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/voytravel/voy/downloads",
"issues_url": "https://api.github.com/repos/voytravel/voy/issues{/number}",
"pulls_url": "https://api.github.com/repos/voytravel/voy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/voytravel/voy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/voytravel/voy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/voytravel/voy/labels{/name}",
"releases_url": "https://api.github.com/repos/voytravel/voy/releases{/id}",
"deployments_url": "https://api.github.com/repos/voytravel/voy/deployments",
"created_at": "2025-07-13T04:51:01Z",
"updated_at": "2026-07-18T15:45:05Z",
"pushed_at": "2026-07-20T05:52:08Z",
"git_url": "git://github.com/voytravel/voy.git",
"ssh_url": "org-213144510@github.com:voytravel/voy.git",
"clone_url": "https://github.com/voytravel/voy.git",
"svn_url": "https://github.com/voytravel/voy",
"homepage": null,
"size": 67885,
"stargazers_count": 1,
"watchers_count": 1,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": false,
"has_pages": false,
"has_discussions": true,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 36,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 36,
"watchers": 1,
"default_branch": "develop",
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"allow_auto_merge": true,
"delete_branch_on_merge": true,
"allow_update_branch": true,
"use_squash_pr_title_as_default": false,
"squash_merge_commit_message": "COMMIT_MESSAGES",
"squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
"merge_commit_message": "PR_TITLE",
"merge_commit_title": "MERGE_MESSAGE"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/1144"
},
"html": {
"href": "https://github.com/voytravel/voy/pull/1144"
},
"issue": {
"href": "https://api.github.com/repos/voytravel/voy/issues/1144"
},
"comments": {
"href": "https://api.github.com/repos/voytravel/voy/issues/1144/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/1144/comments"
},
"review_comment": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/comments{/number}"
},
"commits": {
"href": "https://api.github.com/repos/voytravel/voy/pulls/1144/commits"
},
"statuses": {
"href": "https://api.github.com/repos/voytravel/voy/statuses/c774ec1fac64d3caa00e009fd7c7395042b1f542"
}
},
"author_association": "CONTRIBUTOR",
"auto_merge": null,
"assignee": null,
"active_lock_reason": null
},
"repository": {
"id": 1018806750,
"node_id": "R_kgDOPLnB3g",
"name": "voy",
"full_name": "voytravel/voy",
"private": true,
"owner": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/voytravel",
"html_url": "https://github.com/voytravel",
"followers_url": "https://api.github.com/users/voytravel/followers",
"following_url": "https://api.github.com/users/voytravel/following{/other_user}",
"gists_url": "https://api.github.com/users/voytravel/gists{/gist_id}",
"starred_url": "https://api.github.com/users/voytravel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/voytravel/subscriptions",
"organizations_url": "https://api.github.com/users/voytravel/orgs",
"repos_url": "https://api.github.com/users/voytravel/repos",
"events_url": "https://api.github.com/users/voytravel/events{/privacy}",
"received_events_url": "https://api.github.com/users/voytravel/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/voytravel/voy",
"description": "Voy Monorepo",
"fork": false,
"url": "https://api.github.com/repos/voytravel/voy",
"forks_url": "https://api.github.com/repos/voytravel/voy/forks",
"keys_url": "https://api.github.com/repos/voytravel/voy/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/voytravel/voy/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/voytravel/voy/teams",
"hooks_url": "https://api.github.com/repos/voytravel/voy/hooks",
"issue_events_url": "https://api.github.com/repos/voytravel/voy/issues/events{/number}",
"events_url": "https://api.github.com/repos/voytravel/voy/events",
"assignees_url": "https://api.github.com/repos/voytravel/voy/assignees{/user}",
"branches_url": "https://api.github.com/repos/voytravel/voy/branches{/branch}",
"tags_url": "https://api.github.com/repos/voytravel/voy/tags",
"blobs_url": "https://api.github.com/repos/voytravel/voy/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/voytravel/voy/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/voytravel/voy/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/voytravel/voy/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/voytravel/voy/statuses/{sha}",
"languages_url": "https://api.github.com/repos/voytravel/voy/languages",
"stargazers_url": "https://api.github.com/repos/voytravel/voy/stargazers",
"contributors_url": "https://api.github.com/repos/voytravel/voy/contributors",
"subscribers_url": "https://api.github.com/repos/voytravel/voy/subscribers",
"subscription_url": "https://api.github.com/repos/voytravel/voy/subscription",
"commits_url": "https://api.github.com/repos/voytravel/voy/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/voytravel/voy/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/voytravel/voy/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/voytravel/voy/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/voytravel/voy/contents/{+path}",
"compare_url": "https://api.github.com/repos/voytravel/voy/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/voytravel/voy/merges",
"archive_url": "https://api.github.com/repos/voytravel/voy/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/voytravel/voy/downloads",
"issues_url": "https://api.github.com/repos/voytravel/voy/issues{/number}",
"pulls_url": "https://api.github.com/repos/voytravel/voy/pulls{/number}",
"milestones_url": "https://api.github.com/repos/voytravel/voy/milestones{/number}",
"notifications_url": "https://api.github.com/repos/voytravel/voy/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/voytravel/voy/labels{/name}",
"releases_url": "https://api.github.com/repos/voytravel/voy/releases{/id}",
"deployments_url": "https://api.github.com/repos/voytravel/voy/deployments",
"created_at": "2025-07-13T04:51:01Z",
"updated_at": "2026-07-18T15:45:05Z",
"pushed_at": "2026-07-20T05:52:08Z",
"git_url": "git://github.com/voytravel/voy.git",
"ssh_url": "org-213144510@github.com:voytravel/voy.git",
"clone_url": "https://github.com/voytravel/voy.git",
"svn_url": "https://github.com/voytravel/voy",
"homepage": null,
"size": 67885,
"stargazers_count": 1,
"watchers_count": 1,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": false,
"has_pages": false,
"has_discussions": true,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 36,
"license": {
"key": "mit",
"name": "MIT License",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit",
"node_id": "MDc6TGljZW5zZTEz"
},
"allow_forking": false,
"is_template": false,
"web_commit_signoff_required": false,
"has_pull_requests": true,
"pull_request_creation_policy": "all",
"topics": [],
"visibility": "private",
"forks": 0,
"open_issues": 36,
"watchers": 1,
"default_branch": "develop",
"custom_properties": {}
},
"organization": {
"login": "voytravel",
"id": 213144510,
"node_id": "O_kgDODLRTvg",
"url": "https://api.github.com/orgs/voytravel",
"repos_url": "https://api.github.com/orgs/voytravel/repos",
"events_url": "https://api.github.com/orgs/voytravel/events",
"hooks_url": "https://api.github.com/orgs/voytravel/hooks",
"issues_url": "https://api.github.com/orgs/voytravel/issues",
"members_url": "https://api.github.com/orgs/voytravel/members{/member}",
"public_members_url": "https://api.github.com/orgs/voytravel/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/213144510?v=4",
"description": ""
},
"enterprise": {
"id": 469843,
"slug": "darkmatter",
"name": "darkmatter",
"node_id": "E_kgDOAAcrUw",
"avatar_url": "https://avatars.githubusercontent.com/b/469843?v=4",
"description": "",
"website_url": "darkmatter.io",
"html_url": "https://github.com/enterprises/darkmatter",
"created_at": "2025-09-07T16:01:00Z",
"updated_at": "2026-07-07T15:59:26Z"
},
"sender": {
"login": "chatgpt-codex-connector[bot]",
"id": 199175422,
"node_id": "BOT_kgDOC98s_g",
"avatar_url": "https://avatars.githubusercontent.com/in/1144995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D",
"html_url": "https://github.com/apps/chatgpt-codex-connector",
"followers_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/chatgpt-codex-connector%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
},
"installation": {
"id": 143976268,
"node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTQzOTc2MjY4"
}
}