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

Toilal / rebulk / 28368935437
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: docs/zensical-site
DEFAULT BRANCH: master
Ran 29 Jun 2026 11:32AM 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:31AM UTC coverage: 98.117% (+0.02%) from 98.102%
28368935437

push

github

Toilal
feat(key): opt-in debug check that match values match declared Key.value_type

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

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4Ryxr6Fc7sCERn6WChpqv

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

1876 of 1912 relevant lines covered (98.12%)

13.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28368935437.1 29 Jun 2026 11:32AM UTC 17
98.12
GitHub Action Run
2 28368935437.2 29 Jun 2026 11:32AM UTC 17
97.86
GitHub Action Run
3 28368935437.3 29 Jun 2026 11:32AM UTC 17
97.86
GitHub Action Run
4 28368935437.4 29 Jun 2026 11:32AM UTC 17
98.12
GitHub Action Run
5 28368935437.5 29 Jun 2026 11:32AM UTC 17
98.12
GitHub Action Run
6 28368935437.6 29 Jun 2026 11:32AM UTC 17
97.86
GitHub Action Run
7 28368935437.7 29 Jun 2026 11:33AM UTC 17
97.86
GitHub Action Run
8 28368935437.8 29 Jun 2026 11:33AM UTC 17
97.86
GitHub Action Run
9 28368935437.9 29 Jun 2026 11:33AM UTC 17
98.12
GitHub Action Run
10 28368935437.10 29 Jun 2026 11:33AM UTC 17
98.12
GitHub Action Run
11 28368935437.11 29 Jun 2026 11:33AM UTC 17
97.91
GitHub Action Run
12 28368935437.12 29 Jun 2026 11:33AM UTC 17
98.12
GitHub Action Run
13 28368935437.13 29 Jun 2026 11:33AM UTC 17
98.12
GitHub Action Run
14 28368935437.14 29 Jun 2026 11:33AM UTC 17
97.86
GitHub Action Run
Source Files on build 28368935437
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8310bc04 on github
  • Prev Build on develop (#28368266401)
  • Next Build on feat/declared-keys-contract-check (#28369298945)
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