Skip to content

Rebuild bundle for hyphenated @mention fix#641

Closed
svandragt wants to merge 1 commit into
releasefrom
build/mention-hyphens-rebuild
Closed

Rebuild bundle for hyphenated @mention fix#641
svandragt wants to merge 1 commit into
releasefrom
build/mention-hyphens-rebuild

Conversation

@svandragt

Copy link
Copy Markdown
Contributor

Follow-up to #640.

#640 fixed the mention matcher in src/matchers.js (/@(\w+)//@([\w-]+)/) so that @mentions of users with hyphenated slugs (e.g. @dominic-huxley) link correctly. But build/ is gitignored and the committed bundles are force-added, so a src/ change alone never updates what ships. Altis serves the committed bundle, so the fix had no effect — the live regex was still \w+.

Change

Rebuilt from current release:

  • build/h2.49c2cbfe…jsbuild/h2.f9cacc65…js — the new main bundle contains /@([\w-]+)/ (verified; old /@(\w+)/ is gone).
  • build/production-asset-manifest.jsonh2.js now points at the new bundle.
  • Chunks and CSS rebuilt byte-identical (unchanged hashes), so only the main bundle moved.

Note for maintainers

Because build/ is in .gitignore, source-only mention/UI PRs won't take effect until the bundle is rebuilt and force-added. Worth considering a CI build step or removing build/ from .gitignore so this can't be missed again.

🤖 Generated with Claude Code

The mention matcher fix in 319fb41 changed src/matchers.js but did not
regenerate the committed build/ assets, which are gitignored and
force-added. Altis serves the committed bundle, so the source fix had no
effect until rebuilt.

Rebuild from current release: the main bundle now contains /@([\w-]+)/.
Only h2.js changed hash; chunks and CSS rebuilt byte-identical.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@svandragt svandragt self-assigned this Jun 1, 2026
@svandragt svandragt requested review from joehoyle and kadamwhite June 1, 2026 13:29
@svandragt svandragt closed this Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant