Title: consolidate(id-web): PR #930 deletes the cursor debug-log block that PR #922 guards — one set with #952, merge in one order · Issue #956 · developing-today/code · GitHub
Open Graph Title: consolidate(id-web): PR #930 deletes the cursor debug-log block that PR #922 guards — one set with #952, merge in one order · Issue #956 · developing-today/code
X Title: consolidate(id-web): PR #930 deletes the cursor debug-log block that PR #922 guards — one set with #952, merge in one order · Issue #956 · developing-today/code
Description: Finding — consolidation: open PRs #930 and #922 directly conflict in the same cursors.ts debug-log block; shepherd them as one set with #952 Reviewing PR #930 (this pr-diff-review run) against the still-open PR #922 shows the pair is on ...
Open Graph Description: Finding — consolidation: open PRs #930 and #922 directly conflict in the same cursors.ts debug-log block; shepherd them as one set with #952 Reviewing PR #930 (this pr-diff-review run) against the ...
X Description: Finding — consolidation: open PRs #930 and #922 directly conflict in the same cursors.ts debug-log block; shepherd them as one set with #952 Reviewing PR #930 (this pr-diff-review run) against the ...
Opengraph URL: https://github.com/developing-today/code/issues/956
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"consolidate(id-web): PR #930 deletes the cursor debug-log block that PR #922 guards — one set with #952, merge in one order","articleBody":"## Finding — consolidation: open PRs #930 and #922 directly conflict in the same `cursors.ts` debug-log block; shepherd them as one set with #952\n\nReviewing PR #930 (this pr-diff-review run) against the still-open PR #922 shows the pair is on a collision course in `pkgs/id/web/src/cursors.ts`, inside `createCursorDecorations`:\n\n- **PR #922** (OPEN, head `b3e24417`) — the coordsAtPos cache PR (fixes #831). It *keeps and modifies* the `[cursor-debug]` clustering log block: its diff (hunk at `cursors.ts` ~line 647 in its numbering) wraps the block's `getLeftCoord(g.position)` call in a try/catch so \"Debug logging must never throw on a failed coord lookup (#831)\", alongside the cache rewiring around it.\n- **PR #930** (OPEN draft, Jules/Bolt, head `42748555`, commits `14f02fe5`, `42748555`) — \"clean up hot-path debug logging in cursor decorations\". It *deletes that entire block* (the positionGroups/clusters `[cursor-debug]` logs), plus the `apply()` UPDATE log and the `decorations()` cursor-count log in the same file.\n\nWhichever PR merges second cannot apply cleanly: if #930 lands first, #922's guard hunk has no context left to patch; if #922 lands first, #930's deletion hunk conflicts with the guarded version of the block. They also embody opposite decisions about the same lines (guard-and-keep vs delete), and the deletion makes the #831 guard moot — that decision should be made once, in one PR, not by merge order.\n\n### Relationship to the existing set\n\nIssue #952 (OPEN) already shepherds the #922 + #824 coordsAtPos set (close #824 as superseded, port its cleanup, merge #922). This finding extends that same set with #930 — please handle all of it as one shepherding pass rather than letting #930 merge independently. Do not file or work a separate per-PR fix for #930's log removal.\n\nOut-of-scope-looking hunk to check during consolidation: #930 also touches `pkgs/id/web/src/cursor-utils.ts` `getColorForClient` (`String(clientID)` → a `typeof` ternary). It appears behaviour-neutral, but it is unrelated to the stated log-cleanup purpose — confirm it is intentional before it rides along.\n\n## Acceptance criteria\n\n- [ ] One decision recorded on this issue / #952: the `[cursor-debug]` block is either deleted (per #930) or guarded-and-kept (per #922) — not both patches applied in sequence.\n- [ ] The surviving PR branch applies cleanly on current main with no conflict in `createCursorDecorations`, and the other PR is closed as superseded with a pointer here (or rebased to contain only its remaining unique change).\n- [ ] If the block is deleted, #922's #831 throw-contract fix for `getLeftCoord` / `clusterOverlappingGroups` is verified intact without the guard hunk (the guard only existed for the log block).\n- [ ] The `cursor-utils.ts` `getColorForClient` hunk from #930 is either confirmed intentional and kept, or dropped from the consolidated PR.\n- [ ] #952's set (#922 + #824) and this pair are merged/closed in one coordinated order, with cross-references on all three PRs.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-26T08:43:57Z","url":"https://github.com/developing-today/code/issues/956"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0e37b6f1-a9ca-5027-91e6-74446524b0ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFFE:1B5128:621B57:8479A9:6B062C29 |
| html-safe-nonce | 02da972d4ccade9077823bb20e93eaa5f9cdd772a77ca925652328c85d0d7417 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkZFOjFCNTEyODo2MjFCNTc6ODQ3OUE5OjZCMDYyQzI5IiwidmlzaXRvcl9pZCI6IjE4NDA2NTg2NTA4MjI0ODcwODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 979cc17af35744c014e8f4e01d9127e4c49f72a88d1db70c9d3c9d599839ddaa |
| hovercard-subject-tag | issue:6036305103 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/956/issue_layout |
| twitter:image | https://opengraph.githubassets.com/692028293356c360147d9f8028d17a816366726947b07dfec9833cfbb79ea134/developing-today/code/issues/956 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/692028293356c360147d9f8028d17a816366726947b07dfec9833cfbb79ea134/developing-today/code/issues/956 |
| og:image:alt | Finding — consolidation: open PRs #930 and #922 directly conflict in the same cursors.ts debug-log block; shepherd them as one set with #952 Reviewing PR #930 (this pr-diff-review run) against the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width