René's URL Explorer Experiment


Title: Port the upstream suite-unicode-bom Rslint E2E · Issue #42 · rstackjs/rstack-editor · GitHub

Open Graph Title: Port the upstream suite-unicode-bom Rslint E2E · Issue #42 · rstackjs/rstack-editor

X Title: Port the upstream suite-unicode-bom Rslint E2E · Issue #42 · rstackjs/rstack-editor

Description: Problem The standalone rslint extension's suite-unicode-bom E2E was never ported. Every other functional upstream suite has a counterpart under packages/vscode/e2e/lint/; this one is missing, so the worker/proxy layer this extension adds...

Open Graph Description: Problem The standalone rslint extension's suite-unicode-bom E2E was never ported. Every other functional upstream suite has a counterpart under packages/vscode/e2e/lint/; this one is missing, so th...

X Description: Problem The standalone rslint extension's suite-unicode-bom E2E was never ported. Every other functional upstream suite has a counterpart under packages/vscode/e2e/lint/; this one is missing, s...

Opengraph URL: https://github.com/rstackjs/rstack-editor/issues/42

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port the upstream suite-unicode-bom Rslint E2E","articleBody":"## Problem\n\nThe standalone rslint extension's `suite-unicode-bom` E2E was never ported. Every other functional upstream suite has a counterpart under `packages/vscode/e2e/lint/`; this one is missing, so the worker/proxy layer this extension adds between VS Code and the Go server has no coverage for the BOM boundary case.\n\nUpstream source: `rslint@origin/main:packages/vscode-extension/__tests__/suite-unicode-bom/unicode-bom.test.ts` and `__tests__/fixtures-unicode-bom/`. Added in web-infra-dev/rslint#1560 (port of the `unicode-bom` rule, 2026-08-06), fixture moved from `rslint.json` to a native config in web-infra-dev/rslint#1951. rstackjs/rstack-editor#26 ported #1611 and #1279 but skipped #1560.\n\n## What the upstream test guards\n\nVS Code consumes a UTF-8 BOM as encoding metadata, so the document model sent over LSP contains no U+FEFF even though the file bytes start with `EF BB BF`. The `unicode-bom` rule once emitted a BOM-removal fix with range `[-1, 0]`, which cannot be expressed as a VS Code `TextEdit`; the final fix skips the rule for editor linting and leaves BOM fixes to the CLI (`internal/lsp/lint_generation.go:20-39`). The test asserts:\n\n1. disk starts with `EF BB BF`, `TextDocument.getText()` has no U+FEFF;\n2. diagnostics contain `no-var` (positive control) and nothing from `unicode-bom`;\n3. whole-document Quick Fixes contain `Disable no-var for this line` and no BOM-related action;\n4. document text and dirty state are unchanged.\n\n## Why it still matters here\n\nStatic reading says this extension is transparent: the router only gates by runtime ownership (`stacks/lint/WorkspaceDocumentRouter.ts:101-176`), `vscode-languageclient` serializes `getText()` and forwards UTF-16 incremental ranges unchanged, and the worker forwards requests without rewriting text or positions (`stacks/lint/worker/index.ts:109-166,219-241`). The existing emoji test (`e2e/lint/suite/extension.test.ts:388-448`) proves UTF-16 incremental alignment, not BOM handling. That is reasoning, not evidence; E2E is the ground truth for editor behavior in this repo.\n\n## Proposal\n\nPort `suite-unicode-bom` and its fixture into `packages/vscode/e2e/lint/` as-is (native `rslint.config.mjs` enabling `unicode-bom` and `no-var`, per the post-#1951 shape), register it in `e2e/run.mjs`, and run `pnpm test:e2e:lint`.\n","author":{"url":"https://github.com/fi3ework","@type":"Person","name":"fi3ework"},"datePublished":"2026-09-03T08:15:00Z","url":"https://github.com/rstackjs/rstack-editor/issues/42"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:eebb6d9f-a67c-1b71-7cc2-c0fe9e4b3a8b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD76A:10D9D9:B22B59:FB7D5E:6AEC6C0C
html-safe-nonce2ddc0001fd8d178ef6862d4de6849fb258501f90d4832f42afab1ec3e9834468
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzZBOjEwRDlEOTpCMjJCNTk6RkI3RDVFOjZBRUM2QzBDIiwidmlzaXRvcl9pZCI6IjY2NjMyNDI3NTQ3ODExMTMzNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2006286149e2bf7e35ab5597c96d3c7f2e6cd9e70cb6523f17e515aaaec698c0
hovercard-subject-tagissue:5334085033
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/rstackjs/rstack-editor/42/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d23400ed0de5772a6e0a0a2063eea8d5fe0c0eced6aacfb9b47fd78dd362f92b/rstackjs/rstack-editor/issues/42
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d23400ed0de5772a6e0a0a2063eea8d5fe0c0eced6aacfb9b47fd78dd362f92b/rstackjs/rstack-editor/issues/42
og:image:altProblem The standalone rslint extension's suite-unicode-bom E2E was never ported. Every other functional upstream suite has a counterpart under packages/vscode/e2e/lint/; this one is missing, so th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefi3ework
hostnamegithub.com
expected-hostnamegithub.com
None81a8a223b8411e760195a15942ff045b37d56328f5bf02c4ca5f903e3dcb475e
turbo-cache-controlno-preview
go-importgithub.com/rstackjs/rstack-editor git https://github.com/rstackjs/rstack-editor.git
octolytics-dimension-user_id129049372
octolytics-dimension-user_loginrstackjs
octolytics-dimension-repository_id1316963958
octolytics-dimension-repository_nworstackjs/rstack-editor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1316963958
octolytics-dimension-repository_network_root_nworstackjs/rstack-editor
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
releasea2c6dc5933515805b39ac7c5b9ab4e947c2f5a42
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/rstackjs/rstack-editor/issues/42#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-editor%2Fissues%2F42
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%2Frstackjs%2Frstack-editor%2Fissues%2F42
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=rstackjs%2Frstack-editor
Reloadhttps://github.com/rstackjs/rstack-editor/issues/42
Reloadhttps://github.com/rstackjs/rstack-editor/issues/42
Reloadhttps://github.com/rstackjs/rstack-editor/issues/42
rstackjshttps://github.com/rstackjs
rstack-editorhttps://github.com/rstackjs/rstack-editor
Codehttps://github.com/rstackjs/rstack-editor
Issues4 (4)https://github.com/rstackjs/rstack-editor/issues
Pull requestshttps://github.com/rstackjs/rstack-editor/pulls
Actionshttps://github.com/rstackjs/rstack-editor/actions
Projectshttps://github.com/rstackjs/rstack-editor/projects
Security and qualityhttps://github.com/rstackjs/rstack-editor/security
Insightshttps://github.com/rstackjs/rstack-editor/pulse
https://github.com/rstackjs/rstack-editor
New issuehttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/42
New issuehttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/42
#44https://github.com/rstackjs/rstack-editor/pull/44
Port the upstream suite-unicode-bom Rslint E2Ehttps://github.com/rstackjs/rstack-editor/issues/42#top
#44https://github.com/rstackjs/rstack-editor/pull/44
https://github.com/fi3ework
fi3eworkhttps://github.com/fi3ework
on Sep 3, 2026https://github.com/rstackjs/rstack-editor/issues/42#issue-5334085033
web-infra-dev/rslint#1560https://github.com/web-infra-dev/rslint/pull/1560
web-infra-dev/rslint#1951https://github.com/web-infra-dev/rslint/pull/1951
#26https://github.com/rstackjs/rstack-editor/pull/26
fi3eworkhttps://github.com/fi3ework
completedhttps://github.com/rstackjs/rstack-editor/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#44https://github.com/rstackjs/rstack-editor/pull/44
on Sep 3, 2026https://github.com/rstackjs/rstack-editor/issues/42#event-30493208420
Sign up for freehttps://github.com/signup?return_to=https://github.com/rstackjs/rstack-editor/issues/42
Sign in to commenthttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/42
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

Viewport: width=device-width


URLs of crawlers that visited me.