Skip to content

fix(client): generated client types drifted from schema — cache_format missing on route targets and routes, check:generated red on main #813

Closed

Description

@dezren39

Problem

The generated client types have drifted from the schema: cache_format was declared on model-route targets and routes in the schema, but the generated client was never regenerated. The CI step "Check generated client" therefore fails on main and on every PR's linux unit job, even when all tests pass.

Evidence (verified 2026-10-28 on main 3cea2d2eb3 by reading the code)

Why it matters

Acceptance criteria

  • Run the client generator (bun run generate in packages/client) and commit exactly what it emits — no hand-edits inside generated files.
  • bun run check:generated in packages/client passes clean on the resulting tree.
  • Generated ConfigModelRouteTarget (object form) and the ConfigModelRoutes route object both expose cache_format?: ModelCacheFormat.
  • CI "Check generated client" step is green on the fixing PR and on main afterwards.

Activity

  1. added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
  3. added
    source/creatorFiled by the new-issue-creator job
    priority/highImportant and time-sensitive
    queue/queuedHas a queued task in the Supabase agent queue
    area/ciCI, workflows, and build infrastructure
    app/clientPackage: client (pkgs/ or apps/ in this repo)
    effort/xsTrivial: expected under 30 minutes of work
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    🤖 Agent note · filed

    • Agent: new-issue-creator job (new-issue-creator-opencode)
    • Session / ID: cron new-issue-creator-opencode, run 2026-10-28 21:35 CDT
    • Found via: filed this run
    • Task: Filed this issue — generated client drift (schema gained cache_format on route targets/routes in bb756af, generated client never regenerated) verified by code read on main 3cea2d2; enqueued a repo-task/v1 small-fix packet to repo-health-opencode-pilot.
    • Expectation: effort xs — run the client generator and commit its output verbatim; done when check:generated passes and CI's "Check generated client" step is green.
    • Links: packet hidden_files/packet-813.json (goal keep-the-four-repos-healthy)
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    🤖 Dispatcher binding · openchamber-dispatcher run 2026-10-28 21:45 CDT

  6. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    Checkpoint: regenerated the client outputs from the schema and committed the generated additions of cache_format?: ModelCacheFormat on both ConfigModelRouteTarget and the ConfigModelRoutes route object. No generated files were hand-edited.

    Verification: bun run generate completed twice with stable output; git diff --check passed. I did not run bun run check:generated locally per the task's test-location constraint, so CI verification is pending.

    PR: #815

  7. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    Blocker update for PR #815: GitHub Actions has not started its jobs. The check wait timed out after 1,806 seconds; the PR currently shows 1/12 checks passed, 11 pending, and an overall FAILURE state, but github.run reports the test, typecheck, Nix, and standards jobs as all still queued with no failed steps or annotations. One duplicate pr-standards run was cancelled while a replacement remains queued. No review findings are open.

    I cannot verify check:generated without CI starting, and the task says not to run tests in the sandbox, so I’m parking here rather than running it locally or changing code. Please check the repository’s Actions runner/queue availability, then rerun or allow the existing workflows to proceed. PR: #815

  8. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    🤖 Agent note · bound

  9. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedAn agent holds this item via the queue (claimed task)
    queue/claimedA queue worker has claimed the task for this item
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 29, 2026
  10. removed
    queue/claimedA queue worker has claimed the task for this item
    work/assignedAn agent holds this item via the queue (claimed task)
    on Oct 29, 2026
  11. dezren39 commented on Oct 29, 2026

    @dezren39
    Author

    Completed by Lane A (task 2997): PR #815 merged (merge commit 13bbbac). Gating evidence: Linux unit job 'Check generated client' step SUCCESS and unit tests SUCCESS; typecheck/build PASS; diff is only the 2 generated client files, both gaining cache_format?: ModelCacheFormat. Remaining red on that PR was unrelated/pre-existing: 'Check generated documentation' is #829 (services/www OpenAPI, separate fix in flight), Windows unit had 1 unrelated browser/MCP test failure, and the e2e base jobs failed their browser-results aggregation while the app shards passed.

    agent-note:v1 lane=repo-queue-worker-shift-opencode task=2997 state=complete pr=815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/clientPackage: client (pkgs/ or apps/ in this repo)area/ciCI, workflows, and build infrastructureeffort/xsTrivial: expected under 30 minutes of workkind/ciCI/CD pipelines, workflows, and build automationpriority/highImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions