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

umbrellio / ci_helper
100%

Build:
DEFAULT BRANCH: master
Repo Added 10 Jun 2020 02:23PM UTC
Files 11
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • USAFE-8826-run-clickhouse-migrations-in-ci
  • capture-rspec-dry-run-error
  • claude/compassionate-solomon-2446e6
  • claude/jolly-hofstadter-809817
  • clickhouse-support
  • heavy-specs-distribution-3
  • master
  • refactor-code-for-clarity
  • show-rspec-command-error
  • split-spec-files
  • timing-aware-split

20 Jul 2026 04:25PM UTC coverage: 100.0%. Remained the same
29759522804

push

github

web-flow
Add timing-aware spec splitting to RunSpecs (#29)

* Add timing-aware spec splitting to RunSpecs

* Record spec timings via an added formatter instead of --format

Registering the recorder with a command-line --format made RSpec drop the
formatters the consuming suite configures via .rspec (in RSpec 3, any CLI
--format replaces the configured list), silently removing documentation,
custom, or JUnit formatters and their CI artifacts. Post-processing the
report in the command also ran only on success, so a run with any failing
example left timings_out as RSpec's nested report rather than the flat map.

Ship an RSpecTimingsFormatter and register it via --require, so it is added
on top of the suite's own formatters, and write the flat map from its
dump_summary hook, which RSpec reaches even when examples fail.

* Record spec timings from an after(:suite) hook, not a formatter

An added formatter still occupies rspec's formatter list, and
Formatters::Loader only installs the default progress formatter when that
list is empty. So for the common suite with no explicit --format in
.rspec, enabling --timings-out suppressed the normal progress and failure
output entirely.

Collect timings from an after(:suite) hook (via RSpec.world.all_examples)
instead. It records after every example has finished, so it still captures
timings when examples fail, and it never touches the formatter list, so
rspec keeps both the suite's configured formatters and its default output.

* Record timings only for examples executed on this node

A node runs a subset of example ids, but rspec loads the whole file, so
RSpec.world.all_examples also returns examples filtered out on this node.
Those never ran and have a nil run_time, which to_f turned into 0.0, so
each node's map gained zero entries for other nodes' examples — and merging
the per-node maps could overwrite a real timing with 0.0.

Skip examples whose run_time is nil, keeping only those actually executed.

30 of 30 branches covered (100.0%)

Branch coverage included in aggregate %.

188 of 188 relevant lines covered (100.0%)

9.27 hits per line

Relevant lines Covered
Build:
Build:
188 RELEVANT LINES 188 COVERED LINES
9.27 HITS PER LINE
Source Files on master
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29759522804 master Add timing-aware spec splitting to RunSpecs (#29) * Add timing-aware spec splitting to RunSpecs * Record spec timings via an added formatter instead of --format Registering the recorder with a command-line --format made RSpec drop the formatter... push 20 Jul 2026 04:25PM UTC web-flow github
100.0
29758268115 timing-aware-split Merge 97d149138 into 436ee1e45 Pull #29 20 Jul 2026 04:08PM UTC web-flow github
100.0
29757527441 timing-aware-split Merge 530254e34 into 436ee1e45 Pull #29 20 Jul 2026 03:58PM UTC web-flow github
100.0
29755325705 timing-aware-split Merge a5f0291cc into 436ee1e45 Pull #29 20 Jul 2026 03:28PM UTC web-flow github
100.0
29412392558 master Update RuboCop configuration, remove unused gem, and refactor some code (#28) * Update RuboCop configuration, remove unused gem, and refactor code for clarity * Revert after review comments push 15 Jul 2026 11:39AM UTC web-flow github
100.0
29123074102 refactor-code-for-clarity Merge ed7e457c6 into 0cc30c62b Pull #28 15 Jul 2026 11:39AM UTC web-flow github
100.0
29345563442 timing-aware-split Merge ead5494a0 into 0cc30c62b Pull #29 14 Jul 2026 03:29PM UTC web-flow github
100.0
28791373315 master Show the rspec command output when the dry-run fails (#27) * Show the rspec command output when the dry-run fails RunSpecs#example_ids ran the `rspec --dry-run` and, on failure, printed the contents of rspec's `--out` JSON file (the example list... push 06 Jul 2026 12:26PM UTC web-flow github
100.0
28791340667 capture-rspec-dry-run-error Merge 6d4400edf into e784d059b Pull #27 06 Jul 2026 12:25PM UTC web-flow github
100.0
28788639213 capture-rspec-dry-run-error Merge f550f726c into e784d059b Pull #27 06 Jul 2026 11:36AM UTC web-flow github
100.0
See All Builds (103)
  • Repo on GitHub
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