feat: add runs dashboard list and detail views#14
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| export async function launchRun(payload: Record<string, unknown> = {}): Promise<RunDetail> { | ||
| if (isMockEnabled()) return (await axios.get("/mock-data/run_detail.json")).data; | ||
| const response = await axios.post(`${baseUrl()}/runs`, payload, authHeaders()); |
There was a problem hiding this comment.
Launch button posts to wrong runs endpoint
The new launchRun helper posts to ${baseUrl()}/runs, while the existing API client’s startRun function targets /runs/start. If the backend has not changed, the Start Run button in RunsList will hit a non-existent route and silently log an error without launching anything. Please align the endpoint with /runs/start (or update the backend) so the launch control actually creates a run.
Useful? React with 👍 / 👎.
Summary
Testing
https://chatgpt.com/codex/tasks/task_e_6907d529d3848328b1748d5e87aa9a22