feat(core): builder fluente, pipeline tipado, resiliência e DI - #7
Merged
Conversation
- ReportBuilder<TRow> (From/Filter/Columns/Column/To/UploadTo/Retry/OnFailure); mapping via From(source, map) keeps the builder single-generic (ADR D12) - IReportRegistry + AddReport<TRow>/AddNeoReports DI registration - ReportRunner pipeline: batch loop, TypedBatchReader (streaming->batch), projection T -> object?[] at the writer edge, temp-file staging + upload - Polly v8 retry on batch reads; IFailureStrategy Abort/SkipAndLog with consecutive/total/ratio thresholds (ADR D11) - 13 unit tests (registration, retry, abort, skip, threshold, multi-output, streaming, filter, mapping) green on net8
feat(core): builder fluente, pipeline tipado, resiliência e DI
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.
PR 2 (re-aberto) — NeoReports.Core
O que entra
ReportBuilder<TRow>fluente (From/Filter/Columns/Column/To/UploadTo/Retry/OnFailure). Mapeamento viaFrom(source, map)mantém o builder mono-genérico (ADR D12).IReportRegistry+AddReport<TRow>/AddNeoReports(DI).ReportRunner: loop de batches,TypedBatchReader(streaming → batch), projeçãoT → object?[]na borda do writer, staging em arquivo temporário + upload no fim.IFailureStrategyAbortReport/SkipBatchAndLogcom thresholds consecutivas/total/razão (ADR D11).Testes — CA-1, CA-11, CA-12, CA-13, CA-14
13 testes xUnit verdes (registro, retry, abort, skip→parcial, threshold, multi-output single-pass, streaming, filtro, mapping).