Skip to content

MF White List: ship it (packaging, icon and READMEs) - #358

Merged
milten89 merged 2 commits into
developfrom
feature/264-white-list-ship
Nov 22, 2026
Merged

milten89 merged 2 commits into
developfrom
feature/264-white-list-ship

Conversation

@milten89

Copy link
Copy Markdown
Owner

Closes #264

What

  • Packaging: both packages are packable now:
    • OpenUrzednik.MF.WhiteList and OpenUrzednik.MF.WhiteList.DependencyInjection, each with its README.md packed and a proper description and tags;
    • the empty PackageValidationBaselineVersion stays until the first release.
  • Icon icon-mf (label MF, the maintainer's decision): an entry in branding.toml, generated by generate.py; a row in BRANDING.md; the PNG added to version.json pathFilters, the nuget-pre-release.yml paths filter and RELEASE-PROCESS.md.
  • READMEs:
    • Base package: quick start, API limits and quota, the date rule, the legal meaning of requestId (linking the acts as ADR-0023 does, with no legal advice), the host change, errors, personal data, the telemetry reference (spans, log events, the metric), the url.full note and the DateOnly overloads.
    • DI package: registration, keyed registration, display-path logging and resilience. Resilience covers:
    • Polish READMEs: the informational parts only.
    • Prose passes: /stop-slop and /humanizer on the English, /miodkuj on the Polish.
  • Repository-wide: root and Core READMEs, the CLAUDE.md rows, the package dropdowns in the three issue forms, and the "missing data" hint in SUPPORT.md and 0-question.yml. check_nuget.py lists both ids.
  • Tests:
    • MetricsReferenceTest compares the metric a White List client records with its README row. The shared-meter test on every target already existed.
    • A new net472 test runs the README's .NET Framework resilience handler through the DI package and checks that no NIP reaches the logs.
  • ADR-0023, corrected in place (2026-11-22, MF White List: ship it (packaging and docs) #264): QueryRejected is WL2's I, D and X; a batch's failed entries are counted in one NotOnList entry (MF White List: batch search (up to 30 NIPs, REGONs or accounts) #260). WhiteListLogEvents.NotOnList now documents that too.

Skipped by the maintainer's decision

The issue's provider:mf label and its docs/GITHUB-SETUP.md row. Provider labels are created when work on a provider starts, and provider:white-list already exists.

Review

The reviewer agent's first pass found a blocking problem: the .NET Framework handler in the DI README sent each attempt as a new request without the original's properties. Those properties carry the display path, so the DI package's HTTP logger would have logged the real NIP path (ADR-0017). The snippet now copies them, and the new net472 test failed without that copy.

The pass also found two should-fix items, both fixed:

  • the 2002/2004 rows didn't match the code;
  • the IWhiteListErrorCode scope was too broad.

Its nits are fixed too. The follow-up review found nothing blocking.

Checks run locally

Check Result
dotnet build OpenUrzednik.slnx -p:TreatWarningsAsErrors=true 0 errors
Tests, net10.0 WhiteList 959, DI 67, Diagnostics 82, Architecture 58, Integration 267 (+42 explicit skipped)
Tests, net472 WhiteList 934, DI 59, Diagnostics 77
dotnet format --verify-no-changes Clean
dotnet pack OpenUrzednik.Packages.slnf -c Release Both .nupkg contain README.md and an icon.png identical to icon-mf.png; the nuspec has the right icon, readme and description
package_guard.py, generate.py --check OK
AotSmoke All checks passed

No library code changed apart from one XML doc comment, so I didn't re-run the mutation shards. They were last at 100% on the same code (#263), and CI runs them again.

Once this merges, previews of both packages publish to nuget.org.

🤖 Generated with Claude Code

Both packages become packable with the new icon-mf (generated from
branding.toml), their READMEs (English and Polish) and the publish
filters, check_nuget.py, issue forms, SUPPORT.md and the root and Core
READMEs. The DI README shows the tested WhiteListRetry snippet for
AddStandardResilienceHandler and a .NET Framework Polly handler that
copies the request's properties, so the display path survives each
attempt; a net472 test runs that handler and checks the logs carry no
identifier. The metrics reference test covers the White List README.

ADR-0023 is corrected in place: QueryRejected is WL2's I, D and X; a
batch's failed entries are counted in one NotOnList entry.

Closes #264

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@milten89 milten89 added enhancement New feature or request provider:white-list Affects OpenUrzednik.MF.WhiteList (and its variants) labels Nov 22, 2026
@milten89
milten89 merged commit dc045d8 into develop Nov 22, 2026
21 checks passed
@milten89
milten89 deleted the feature/264-white-list-ship branch November 22, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request provider:white-list Affects OpenUrzednik.MF.WhiteList (and its variants)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

MF White List: ship it (packaging and docs)

1 participant