Repository navigation
fix(cline): preserve only client-supplied task IDs - #10279
diegosouzapw merged 1 commit into
Conversation
|
@diegosouzapw This is Ara from the Cline team . This PR will fix task-id joining issues on our end can you please merge this trivial fix? |
|
Deferido para revalidação do head atual. A rodada anterior registrou um hold de ownership, mas a inspeção atual não confirmou esse worktree; por favor, reconfirme o head e os checks antes da decisão final. |
342b4c3 to
2e47413
Compare
|
Revalidei o head atual e atualizei a branch.
O head e os checks estão reconfirmados para a decisão final. |
|
Oi, @diegosouzapw! |
d815a6e to
fdc6d93
Compare
|
Oi, @diegosouzapw! Fiz o rebase e corrigi os conflitos. Pode dar uma olhada e fazer o merge, por favor? |
fdc6d93 to
d01764c
Compare
967b56a
into
diegosouzapw:release/v3.8.50
Validado no worktree combinado do lote: typecheck:core, lint, gates de qualidade e os 13 testes unitários + 1 de integração (cline-task-id-propagation) todos verdes. Correção legítima de identidade de tarefa fabricada. CI vermelho neste PR é o base-red já rastreado em diegosouzapw#9985. Obrigado!
What changed
X-Task-IDfor Cline and ClinePass requestsX-Task-IDwhen the client did not supply oneWhy
OmniRoute currently falls back to
randomUUID()when a client does not sendX-Task-ID. Because the fallback is generated once per upstream request, downstream systems can mistake independent requests for durable client tasks.The proxy cannot infer a real task boundary for arbitrary clients. Preserving a client-provided ID and otherwise omitting the optional header keeps task identity truthful.
Impact
Validation
client-task-123value was preservednpm run typecheck:corenpm run check:changelog-integrityThe integration test exercises the complete request handler, provider routing, authentication-header construction, executor, and mocked upstream boundary without using a live account or incurring model usage.
Base status
Full-repository
npm run lintalso reaches two unrelated errors already present outside this diff (@omniroute/opencode-plugin/src/index.ts:5481andtests/unit/cli-env-inline-comment-10100.test.ts:35). Focused lint for every changed TypeScript file passes.Test files
tests/unit/cline-workos-auth-token-shape.test.tstests/integration/cline-task-id-propagation.test.ts