fix(db): reset expanded linked issue claims - #1818
Conversation
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-06-30 09:46:33 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 4 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1818 +/- ##
==========================================
+ Coverage 95.67% 95.70% +0.03%
==========================================
Files 215 215
Lines 23402 23473 +71
Branches 8453 8479 +26
==========================================
+ Hits 22391 22466 +75
+ Misses 419 418 -1
+ Partials 592 589 -3
🚀 New features to boost your workflow:
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | f56170c | Commit Preview URL Branch Preview URL |
Jun 30 2026, 09:09 AM |
Motivation
Description
resolveLinkedIssueClaimedAtto only preserve the existinglinkedIssueClaimedAtwhen the storedlinkedIssuesJsonis identical to the incominglinkedIssuesJson, otherwise use the current observed claim time.test/unit/db-parsers.test.tsto assert that expanding a PR's linked-issue set resets the PR-levellinkedIssueClaimedAtto the current observed time while unchanged sets still preserve the original timestamp.Testing
npx vitest run test/unit/db-parsers.test.ts, and the updated tests in that file passed.npm run typecheckand TypeScript checks completed without errors.npm audit --audit-level=moderatewhich failed due to the npm registry audit endpoint returning403 Forbidden(external network/audit issue), so the dependency-review step could not be completed locally.npm run test:coverage -- --run test/unit/db-parsers.test.ts; tests executed, but the coverage job failed global thresholds because only the single test file was exercised (the repository-wide coverage thresholds remain unmet by that targeted run).Codex Task