René's URL Explorer Experiment


Title: PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is · Issue #761 · developing-today/code · GitHub

Open Graph Title: PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is · Issue #761 · developing-today/code

X Title: PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is · Issue #761 · developing-today/code

Description: Finding Open draft PR #759 ("fix(web): match world surface presenter validation with rust wire rules", head 75a4be64) claims Fixes #724, but its terminal-width measurement in pkgs/id/web/src/world-surface.ts mis-measures every wide glyph...

Open Graph Description: Finding Open draft PR #759 ("fix(web): match world surface presenter validation with rust wire rules", head 75a4be64) claims Fixes #724, but its terminal-width measurement in pkgs/id/web/src/world-...

X Description: Finding Open draft PR #759 ("fix(web): match world surface presenter validation with rust wire rules", head 75a4be64) claims Fixes #724, but its terminal-width measurement in pkgs/id/web/...

Opengraph URL: https://github.com/developing-today/code/issues/761

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is","articleBody":"## Finding\n\nOpen draft PR #759 (\"fix(web): match world surface presenter validation with rust wire rules\", head `75a4be64`) claims `Fixes #724`, but its terminal-width measurement in `pkgs/id/web/src/world-surface.ts` mis-measures every wide glyph outside the BMP, plus ZWJ emoji sequences and ⚠️ — so it still diverges from the Rust validator in both directions, and merging it as-is would auto-close #724 with its own acceptance criteria (\"ZWJ grapheme clusters handled as one grapheme\", \"width measurement matches Rust's unicode-width semantics\") unmet for those cases.\n\n## Evidence\n\nPR head (cross-checked via `gh api contents?ref=75a4be64`):\n\n```ts\nconst isEastAsianWide =\n  /[\\u1100-\\u115F\\u2329\\u232A\\u2E80-\\u303E\\u3040-\\u33FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uA960-\\uA97F\\uAC00-\\uD7A3\\uF900-\\uFAFF\\uFE10-\\uFE19\\uFE30-\\uFE6F\\uFF01-\\uFF60\\uFFE0-\\uFFE6]/;\nconst terminalWidth = isEastAsianWide.test(cell.symbol) ? 2 : 1;\n```\n\nAll ranges in the regex are BMP-only. Probed the exact regex + `Intl.Segmenter` grapheme split in Node (each symbol is exactly 1 grapheme, so the grapheme-count check passes and the width check decides):\n\n| Symbol | PR #759 width | Rust `unicode-width` 0.2 width |\n|---|---|---|\n| 😀 U+1F600 | 1 | 2 |\n| 𠮷 U+20BB7 (CJK Ext. B) | 1 | 2 |\n| 👨‍👩‍👧 (ZWJ sequence) | 1 | 2 |\n| ⚠️ U+26A0 U+FE0F | 1 | 2 |\n| 界 U+754C | 2 | 2 |\n| x | 1 | 1 |\n\nRust side ground-truthed two ways: `pkgs/id/src/world_presentation.rs:219,350` requires `UnicodeWidthStr::width(symbol) == columns` with `unicode-width = \"0.2\"` (`pkgs/id/Cargo.toml:90`), and a scratch cargo program against the real `unicode-width` 0.2 crate printed width 2 for all four failing symbols above.\n\nConsequences, mirroring #724's original failure modes:\n\n- A **valid** Rust-produced cell `{symbol: \"😀\", columns: 2}` (+ empty continuation) is rejected by the presenter (`renderWorldSurface` returns `false`, world screen falls back) — valid surfaces containing emoji or astral CJK glyphs can never render.\n- An **invalid** cell `{symbol: \"😀\", columns: 1}` is accepted and squeezed into a 1-column grid span — the exact misalignment #724 was filed for.\n\nThe PR's new tests in `world-surface.test.ts` cover only BMP cases (界, x, ab, \"\"), so none of this is caught. Separately, the PR also drops `\"configVersion\": 1` from `pkgs/id/web/bun.lock` — unrelated lockfile churn that should not ride along.\n\n## Dedupe\n\n#724 is the parent finding and is still open; this issue is specifically about PR #759's implementation shortfall and its `Fixes #724` closure. Searches for emoji/unicode-width/astral issues return only #724. Cross-repo: `world-surface.ts` exists only in this repo.\n\n## Acceptance criteria\n\n- [ ] `world-surface.test.ts` gains cases for an astral wide glyph (e.g. 😀 or 𠮷) and a ZWJ cluster: `columns: 2` accepted, `columns: 1` rejected — matching `unicode-width` 0.2.\n- [ ] The width measurement in `world-surface.ts` returns 2 for those cases (e.g. astral CJK ranges U+20000–U+2FA1F, emoji presentation ranges, and ZWJ sequences whose base glyph is wide), without changing the already-correct BMP/ASCII/combining behaviour.\n- [ ] Either PR #759 is updated to satisfy the above before merge, or its `Fixes #724` is removed so #724 stays open for the remaining cases.\n- [ ] The unrelated `bun.lock` `configVersion` removal is dropped from PR #759 or justified there.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T13:21:12Z","url":"https://github.com/developing-today/code/issues/761"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7ae45b22-35ac-dd60-ffa2-b13a103828d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8DA0:0DF6:C6724E:1020ACE:6B06415C
html-safe-nonce013c08451099006c88becb9004476dec42978e8fd4be403358af38d73199966d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REEwOjBERjY6QzY3MjRFOjEwMjBBQ0U6NkIwNjQxNUMiLCJ2aXNpdG9yX2lkIjoiNTE5MDEwNjQ4NDQ5OTE2OTYyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd0bec2c001fc828beff237e4eab0393829130fbad99509a421f11426ba2ac783
hovercard-subject-tagissue:6013374775
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/761/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5dc4e038de6bac6e66b36e68219def5a969343531ab79870056949d0f3af89ee/developing-today/code/issues/761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5dc4e038de6bac6e66b36e68219def5a969343531ab79870056949d0f3af89ee/developing-today/code/issues/761
og:image:altFinding Open draft PR #759 ("fix(web): match world surface presenter validation with rust wire rules", head 75a4be64) claims Fixes #724, but its terminal-width measurement in pkgs/id/web/src/world-...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseac613d3698d3d8565651455086e1f74da07bf277
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/761#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F761
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F761
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/761
Reloadhttps://github.com/developing-today/code/issues/761
Reloadhttps://github.com/developing-today/code/issues/761
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests173 (173)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/761
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/761
PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-ishttps://github.com/developing-today/code/issues/761#top
https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/761#issue-6013374775
#759https://github.com/developing-today/code/pull/759
#724https://github.com/developing-today/code/issues/724
#759https://github.com/developing-today/code/pull/759
#724https://github.com/developing-today/code/issues/724
id(web): world-surface presenter accepts cells the Rust wire validator rejects — symbol width/grapheme and continuation-symbol checks missing #724https://github.com/developing-today/code/issues/724
#724https://github.com/developing-today/code/issues/724
#759https://github.com/developing-today/code/pull/759
#724https://github.com/developing-today/code/issues/724
fix(web): match world surface presenter validation with rust wire rules #759https://github.com/developing-today/code/pull/759
id(web): world-surface presenter accepts cells the Rust wire validator rejects — symbol width/grapheme and continuation-symbol checks missing #724https://github.com/developing-today/code/issues/724
fix(web): match world surface presenter validation with rust wire rules #759https://github.com/developing-today/code/pull/759
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 24, 2026https://github.com/developing-today/code/issues/761#issuecomment-6384722445
developing.todayhttps://kaneo.security.cab
CODE-108https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/t9frtvah1hc5h9v5pk2hwqq7
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/761#event-34129918789
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/761#event-34142133712
fix(web): measure astral, ZWJ and FE0F glyphs as width 2 in world pre…https://github.com/developing-today/code/commit/d7464462e5821458a8c9c187a6c08f83b419f7ee
d746446https://github.com/developing-today/code/commit/d7464462e5821458a8c9c187a6c08f83b419f7ee
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 24, 2026https://github.com/developing-today/code/issues/761#issuecomment-6388374858
#759https://github.com/developing-today/code/pull/759
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/761#issuecomment-6411542721
#759https://github.com/developing-today/code/pull/759
#724https://github.com/developing-today/code/issues/724
#724https://github.com/developing-today/code/issues/724
#759https://github.com/developing-today/code/pull/759
#759https://github.com/developing-today/code/pull/759
#759https://github.com/developing-today/code/pull/759
#724https://github.com/developing-today/code/issues/724
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
on Oct 26, 2026https://github.com/developing-today/code/issues/761#event-34238201690
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
32706c1https://github.com/developing-today/code/commit/32706c17d430409b3cc74275a113b963f1c90d05
on Oct 26, 2026https://github.com/developing-today/code/issues/761#event-34305662441
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
on Oct 26, 2026https://github.com/developing-today/code/issues/761#event-34305668117
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/761#issuecomment-6427485567
6b17d05https://github.com/developing-today/code/commit/6b17d052b443559d943125593fde6b5cb0742f39
32706c1https://github.com/developing-today/code/commit/32706c17d430409b3cc74275a113b963f1c90d05
id(web): world-surface presenter accepts cells the Rust wire validator rejects — symbol width/grapheme and continuation-symbol checks missing #724https://github.com/developing-today/code/issues/724
PR #759's world-surface width check mis-measures astral-plane, ZWJ and ⚠️ glyphs (JS width 1 vs Rust unicode-width 2) — must not close #724 as-is #761https://github.com/developing-today/code/issues/761
fix(web): match world surface presenter validation with rust wire rules #759https://github.com/developing-today/code/pull/759
dezren39https://github.com/dezren39
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
on Nov 1, 2026https://github.com/developing-today/code/issues/761#event-34854524597
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/761
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/761
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.