• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bootstrapworld / codemirror-blocks / 41089425111
95%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2026 04:24PM UTC
Jobs 1
Files 68
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Oct 2026 04:09PM UTC coverage: 94.063% (+0.002%) from 94.061%
41089425111

push

github

schanzer
fix(state): forget marks on blocks that are gone, and say marks do not survive a mode switch

Each mode has its own CodeMirror, so a mark made with markText dies when the
mode changes, but the store's markedMap kept an entry (a dead TextMarker keyed
by a block id that the new AST no longer has) for every mark, forever. SET_AST
now drops the entries of blocks it does not have, like it already did for
collapsed blocks, selections and the focus. A mark on a block that stays still
stays while other blocks are edited.

The comments in ToggleEditor claimed marks were recorded and re-rendered on a
mode switch, which has not been true for a long time; they now say they are
dropped (#571). The commented-out "preserve marks across mode transitions" test
is replaced by real specs: a mark shows on its block, is forgotten with the
block, stays through edits elsewhere, and is cleared by a mode switch (two of
them fail without the fix), plus an it.failing for the gap itself, which turns
red when marks start to survive.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

2136 of 2476 branches covered (86.27%)

1 of 1 new or added line in 1 file covered. (100.0%)

3723 of 3958 relevant lines covered (94.06%)

5188.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41089425111.1 30 Oct 2026 04:24PM UTC 68
94.06
GitHub Action Run
Source Files on build 41089425111
  • Tree
  • List 68
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 468c85df on github
  • Prev Build on master (#41083824111)
  • Next Build on master (#41096826156)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc