Skip to content

refactor: reuse duplicate checks for End User members - #1785

Merged
mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:copilot/p3-1774-20261022
Oct 22, 2026
Merged

mrbobbytables merged 1 commit into
cncf:mainfrom
mrbobbytables:copilot/p3-1774-20261022

Conversation

@mrbobbytables

Copy link
Copy Markdown
Member

Summary

Reuse the duplicate-only helper merged by #1767 for the two
remaining checks in validate-enduser-members.mjs.

  • Keep all existing source-ID presence checks in their current order.
  • Keep source-ID deduplication unconditional, including recording a missing
    value exactly as before; do not introduce missing-ID helper semantics.
  • Reuse the same helper for owned-asset deduplication without a presence
    check or a second helper.
  • Preserve paths, severity, message text and error ordering.

The prerequisite is merged; this is the dependent follow-up, not a competing
implementation. Only the validator changes. All 15 existing focused member
and helper cases, the full required coverage gate, all six lint gates and
production build pass.

Maintainer authorization

The maintainer explicitly approved this bounded issue1774 follow-up after
PR1767, and delegated its exact-head protected merge once fresh required
checks pass. Agent inspection is not independent human approval; no
protection, validation, mutation or advisory policy is changed.

Closes #1774.

Preserve source-ID presence checks, unconditional seen-value tracking, owned-asset diagnostics and validation order using the merged duplicate-only helper.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for endusers ready!

Name Link
🔨 Latest commit 565cef6
🔍 Latest deploy log https://app.netlify.com/projects/endusers/deploys/6ada4157c26d1377a0664f70
😎 Deploy Preview https://deploy-preview-1785--endusers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mrbobbytables

Copy link
Copy Markdown
Member Author

Maintainer-delegated P3 queue disposition: exact head 565cef6 is the explicitly approved issue1774 follow-up after merged PR1767. Reviewed both helper calls: existing source-ID presence checks, unconditional seen-value recording, paths/messages and ordering are preserved. Local focused, full required coverage, all six lint gates and build pass. Fresh required checks, CodeQL, DCO and end-to-end tests pass; the additional browser-coverage job is still running. In accordance with the maintainer instruction to queue ready work independently, submitting this exact head through the normal protected queue without waiting for unrelated PRs. Agent inspection is not independent human approval; no policy or protection bypass.

@mrbobbytables
mrbobbytables added this pull request to the merge queue Oct 22, 2026
Merged via the queue into cncf:main with commit 5c1ceff Oct 22, 2026
14 checks 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.

[architect] duplicate Set-based dedup checks in validate-enduser-members.mjs not using shared helper

1 participant