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

source-academy / plugins / 45951798412
73%
feat/add-init-infra: 67%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: feat/add-init-infra
Ran 27 Nov 2026 06:26AM UTC
Jobs 1
Files 53
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

27 Nov 2026 06:25AM UTC coverage: 95.122%. Remained the same
45951798412

push

github

web-flow
common-tabs: the host contract (editor highlights, run again, tab alert and selection) (#214)

* common-tabs: the host contract (editor highlights, run again, tab alert and selection)

What a host may offer a plugin that contributes a tab, beyond the tab service, named for no tool and
no language: IHostContract with an editor service and a run service, and alertTab, isTabSelected and
onTabSelectionChange on ITabService. Every member is optional, so older hosts and older plugins keep
working. See source-academy/frontend#4638.

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

* common-tabs: one kind of highlight, not two

The contract had primary and secondary highlights, from reading the names of the CSE tab's two
props. Only one of them is drawn: the other writes highlightedLinesControl, which the editor never
reads. A second kind can be added later, as an optional parameter.

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

* common-tabs: the host contract is one call, editor.highlight(lines)

An audit against the CSE tab, the only tab that uses the frontend's state: alertSideContent is mapped
but never called, handleEditorEval is reachable only without snapshots (a remnant of the removed
live path), and the selection is the tab's own lifecycle, which the Stepper and E-Stepper do without.
The editor draws one highlight and the tab is its only user, so there is no owner to tell apart and
a plugin clears its own with highlight([]).

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

* Changeset: the host contract is a minor change of common-tabs

As the optional members of Tab (hidesRepl, resizable) were in 0.1.0: a public addition to a 0.x
package. Reviewed on #214.

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

907 of 991 branches covered (91.52%)

Branch coverage included in aggregate %.

1472 of 1510 relevant lines covered (97.48%)

236.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45951798412.1 27 Nov 2026 06:26AM UTC 53
95.12
GitHub Action Run
Source Files on build 45951798412
  • Tree
  • List 53
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45951798412
  • a889063c on github
  • Prev Build on main (#45942042561)
  • Next Build on main (#45952757761)
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