Provide easier way to find logs of imagebuild
Open
Nobody has claimed this yet.
aspect: tech-debt
meta: never-stale
team: workspace
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Now we need to exec SQL below to get the correct imagebuild id, so that we can search it in logs.
It would be great to have an easier way to reduce the steps we need to do
SELECT imageBuildInfo->>'$.log.url' FROM d_b_workspace_instance WHERE id='<instance_id>';
Using same instance_id or workspace_id like other components can make debugging and log searching easier too
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how d_b_workspace_instance stores imageBuildInfo and how the value from imageBuildInfo->>'$.log.url' is currently used to find logs. Define the supported instance_id or workspace_id lookup path, then verify that imagebuild logs can be found without manually running the SQL query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql, typescript
- Domain
- backend, databases, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100