feat(miner-extension): add read-only issue-page opportunity badge - #4559
feat(miner-extension): add read-only issue-page opportunity badge#4559RealDiligent wants to merge 3 commits into
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4559 +/- ##
=======================================
Coverage 94.08% 94.08%
=======================================
Files 427 427
Lines 37961 37961
Branches 13864 13864
=======================================
Hits 35715 35715
Misses 1586 1586
Partials 660 660 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-10 02:53:17 UTC
🛑 Suggested Action - Reject/Close
Review summary Blockers
Nits — 5 non-blocking
Why this is blocked
Linked issue satisfactionPartially addressed Review context
Contributor next steps
Signal definitions
Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
14ee740 to
8c9aec9
Compare
Surface pre-ranked miner opportunity signals on GitHub issue pages via cached ranked candidates, with tier/score/why formatting and graceful omission when no signal is available. Builds on the miner extension scaffold. Co-authored-by: Cursor <cursoragent@cursor.com>
… tests Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Gittensory is closing this pull request on the maintainer's behalf (AI reviewers agree on a likely critical defect: apps/gittensory-miner-extension/opportunity-badge.js uses top-level `export function ...` (lines 1-91) but is registered in manifest.json's content_scripts `js` array alongside content.js; MV3 content scripts injected via manifest are classic (non-module) scripts, so Chrome will throw a SyntaxError on `export` and the whole content-script bundle (opportunity-badge.js + content.js) will fail to load on every GitHub issue page, silently breaking the badge feature end-to-end.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
apps/gittensory-miner-extension/, mounting score/tier plus a short why on watched repositories.chrome.storage.local.rankedCandidates(populated via options or future miner sync) using the same repo#issue key asopportunity-ranker.js, without duplicating ranking math in extension code.rankCandidateIssuesoutput.Stacks on #4557 (scaffold for #4307). Merge #4557 first, or this PR can land both together.
Closes #4308
Test plan
npx vitest run test/unit/miner-extension-content.test.ts