Repository navigation
fix: corrigir relações de PBIs e proteger ingestão após expurgo - #58
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Corrige o isolamento entre projetos nas relações de PBIs, bloqueia alterações em itens arquivados e impede dependências circulares em cadeias longas e solicitações simultâneas. Relações repetidas retornam a mensagem correta de conflito.
O callback de ingestão autentica o serviço sem exigir sessão de usuário e valida a reserva antes de gravar. Resultados cancelados pelo expurgo, expirados ou de execuções anteriores são recusados; repetir uma entrega concluída não reescreve os chunks.
O contrato exige processamento_lease_id emitido pelo backend. Integrações que usam esse callback precisam encaminhar a reserva; o worker interno mantém seu contrato. OpenAPI e testes de regressão atualizados.
Validação local: builds do backend e frontend, 24 testes do backend, 20 da interface, 56 integrados com PostgreSQL e quatro testes de navegador autenticado. Também passaram a integração do harness/copiloto com Ollama simulado, scripts Windows, Compose, workflows n8n e compilação Python. Um teste integrado que exige IA real foi ignorado.
Evidências: docs/QA-MAIN-2026-10-22.md
Commit: 8243325.