fix(review): avoid overlapping screenshot table extraction - #4993
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | efeaa55 | Commit Preview URL Branch Preview URL |
Jul 12 2026, 08:31 AM |
|
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 #4993 +/- ##
==========================================
- Coverage 94.34% 94.34% -0.01%
==========================================
Files 473 473
Lines 39928 39930 +2
Branches 14557 14557
==========================================
+ Hits 37670 37671 +1
Misses 1583 1583
- Partials 675 676 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-12 08:38:49 UTC
⏸️ Suggested Action - Manual Review
Review summary Blockers
Nits — 4 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory 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://gittensory.aethereal.dev/docs/gittensory-commands 🟩 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.
|
f9d9dd8 to
efeaa55
Compare
Motivation
Description
extractTableRows()so each table region is processed once instead of being re-scanned from every matching header line; implemented insrc/review/screenshot-table-gate.ts.packages/gittensory-engine/src/review/screenshot-table-gate.tsfor parity.test/unit/screenshot-table-gate.test.tsandtest/unit/screenshot-table-gate-engine.test.ts).worker-configuration.d.ts) to satisfy thecf-typegendrift check.Testing
npm test -- --run test/unit/screenshot-table-gate.test.ts test/unit/screenshot-table-gate-engine.test.ts, and the two test files passed (all included assertions succeeded).npm run test:coverage -- --run test/unit/screenshot-table-gate.test.ts test/unit/screenshot-table-gate-engine.test.ts, where the focused tests passed but the global coverage threshold check failed when v8 reported repository-wide coverage below the required threshold.npm run test:ci; the run exercised many checks but did not complete cleanly in this environment due to external/tooling fallbacks and unrelated suite failures (network/DNS and environment-driven failures outside the scope of this patch).npm audit --audit-level=moderate, which failed due to the registry audit endpoint returning403 Forbiddenin the environment; no package changes were made by this PR.Codex Task