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

Toilal / rebulk / 28369428463
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: docs/zensical-site
DEFAULT BRANCH: master
Ran 29 Jun 2026 11:42AM UTC
Jobs 14
Files 17
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

29 Jun 2026 11:41AM UTC coverage: 98.225% (+0.1%) from 98.102%
28369428463

push

github

web-flow
feat(key): opt-in debug check that match values match declared Key.value_type (#72)

A declared Key.value_type states the output type, but the actual conversion is
the per-pattern formatter (which declare_keys lets a pattern override), and
nothing verified the two agree — a mismatch silently turned the declared type
into a lie.

Add an opt-in contract check (off by default, zero cost in production): when
debug.CHECK_DECLARED_KEYS is enabled (env REBULK_CHECK_DECLARED_KEYS=1),
Rebulk.matches asserts every named match value is an instance of the same-named
declared key's value_type, raising TypeError on a mismatch via the new
Matches.check_declared_keys(). Escape hatches keep it false-positive free: None
values, value=-mapped literals (never converted), and per-match (children)
validation.

The whole suite is runnable with the check on; a dedicated CI job runs it
across both regex backends so each declared value_type becomes an enforced
contract. Documented in README and CLAUDE.md.

Closes #68


Claude-Session: https://claude.ai/code/session_01J4Ryxr6Fc7sCERn6WChpqv

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

18 of 18 new or added lines in 3 files covered. (100.0%)

1881 of 1915 relevant lines covered (98.22%)

13.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28369428463.1 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
2 28369428463.2 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
3 28369428463.3 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
4 28369428463.4 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
5 28369428463.5 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
6 28369428463.6 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
7 28369428463.7 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
8 28369428463.8 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
9 28369428463.9 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
10 28369428463.10 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
11 28369428463.11 29 Jun 2026 11:42AM UTC 17
97.96
GitHub Action Run
12 28369428463.12 29 Jun 2026 11:42AM UTC 17
98.02
GitHub Action Run
13 28369428463.13 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
14 28369428463.14 29 Jun 2026 11:42AM UTC 17
98.22
GitHub Action Run
Source Files on build 28369428463
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a45d6c1a on github
  • Prev Build on develop (#28368266401)
  • Next Build on develop (#28370178820)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc