fix(orb): align neverClosed with closeOwnerAuthors and admin authors - #8743
fix(orb): align neverClosed with closeOwnerAuthors and admin authors#8743joaovictor91123 wants to merge 2 commits into
Conversation
Make derivePublicCommentMergeFacts match the planner closeEligible formula so owner/admin opt-in closes and admin protection are reflected in the public comment. Closes JSONbored#8683
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (88.88%) is below the target coverage (99.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #8743 +/- ##
==========================================
- Coverage 93.80% 91.19% -2.62%
==========================================
Files 797 97 -700
Lines 79491 25681 -53810
Branches 24085 5018 -19067
==========================================
- Hits 74565 23419 -51146
+ Misses 3555 1993 -1562
+ Partials 1371 269 -1102
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-26 02:09:22 UTC
Review summary Nits — 5 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Ignore publish-path admin wiring and expand unit tests so every neverClosed branch is hit.
|
This repository reviews pull requests one-shot: the PR must be correct as originally opened. Pushing an additional commit closes it automatically instead of restarting review — open a fresh pull request with every fix included. |
Summary
derivePublicCommentMergeFacts'sneverClosedwith the plannercloseEligibleformula: respectcloseOwnerAuthors, and treat per-repo admin authors like owners.authorIsAdminfrom the public-comment publish path viaisPerTenantAdmin.closeOwnerAuthors: trueand admin (non-owner) cases.Closes #8683
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) - a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ?99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
test/unit/processors-public-comment-merge-facts.test.tsand will run under CI. No UI/MCP surface in this change.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.UI Evidence
N/A - no visible UI changes.
Notes
closeOwnerAuthorsis not set.