Skip to content

Diagnose unsupported Portal components without exposing values - #2

Merged
ancongui merged 1 commit into
mainfrom
codex/sonatype-component-diagnostics-20261031
Oct 31, 2026
Merged

ancongui merged 1 commit into
mainfrom
codex/sonatype-component-diagnostics-20261031

Conversation

@ancongui

Copy link
Copy Markdown
Contributor

The read-only release preflight correctly refused an unsupported Sonatype component, but its fixed PURL_MISSING reason did not expose enough structural information to diagnose the format safely.

Retain the incomplete/refused result and add only fixed known-field type labels, field counts and at most eight SHA-256 hashes of unknown field names. No component values, raw body, names, paths, errors or credentials are emitted. This does not infer coordinates, accept a new format or authorize version allocation. Fetch/authentication/redirect/proxy/two-sweep/worker behavior, workflows, POM and release policy remain unchanged. Correct the README's stale claim that the reviewed signing fingerprint is absent.

Validation: original production genuinely fails the new diagnostic expectations; candidate and restored source archive pass all 76 parent tests. Independent review repeats all 76 plus six additional privacy/bounds/refusal controls. All 71 prior test methods are retained. No Maven, authenticated Portal request, release or version allocation occurred in source qualification; actual hosted validation and one default-branch read-only observation follow normal integration.

@ancongui
ancongui merged commit 84a5c4d into main Oct 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant