Stadia Request Log Display #66

Closed
opened 2026-07-08 15:29:05 +00:00 by eliribble · 0 comments
Owner

Currently nidus-sync has an integration with Stadia for making geocoding requests. These requests end up the database under the stadia schema as api_request table rows. We've been seeing issues where our algorithm for selecting the best match on a structured geocode is choosing the entire street rather than a house on the street. I recently added a query to the platform layer, platform.StadiaQueryList which gets a list of all of the stadia query logs, sorted by creation date.

I need some way to view these logs. This feature request is to add a new area to the "sudo" UI which is used for internal-only tools in the system. Currently the UI is mostly for testing communications channels. This feature request is to create a new sub-area at /_/sudo/stadia which is linked via a button on the main /_/sudo page. The new area should show a table of all of the stadia api request logs. It should allow for selecting a query and showing everything about the query. Special attention should be paid to how to display the response because it can be quite large. From the API it will just be a string that should be valid JSON. Ideally we should show the JSON by parsing it and having a tree view with collapsible nodes. If there is an existing library we can leverage to do that in VueJS, that'd be ideal.

I'll then use this new feature to inspect the queries that were made recently and develop a test suite for our feature selection algorithm to ensure we select specific addresses when available and fall back to an entire street when nothing else better can be found.

Currently nidus-sync has an integration with Stadia for making geocoding requests. These requests end up the database under the `stadia` schema as `api_request` table rows. We've been seeing issues where our algorithm for selecting the best match on a structured geocode is choosing the entire street rather than a house on the street. I recently added a query to the platform layer, `platform.StadiaQueryList` which gets a list of all of the stadia query logs, sorted by creation date. I need some way to view these logs. This feature request is to add a new area to the "sudo" UI which is used for internal-only tools in the system. Currently the UI is mostly for testing communications channels. This feature request is to create a new sub-area at `/_/sudo/stadia` which is linked via a button on the main `/_/sudo` page. The new area should show a table of all of the stadia api request logs. It should allow for selecting a query and showing everything about the query. Special attention should be paid to how to display the response because it can be quite large. From the API it will just be a string that should be valid JSON. Ideally we should show the JSON by parsing it and having a tree view with collapsible nodes. If there is an existing library we can leverage to do that in VueJS, that'd be ideal. I'll then use this new feature to inspect the queries that were made recently and develop a test suite for our feature selection algorithm to ensure we select specific addresses when available and fall back to an entire street when nothing else better can be found.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Gleipnir/nidus-sync#66
No description provided.