- Look at alternative storage formats for Redis
- Add support for zadd so one could determine single call versus multiple calls on a line, letting us determine the most executed code in production.
Will be the fully modern release that drops maintenance legacy support in favor of increased performance, ease of use, and maintainability.
- Release will be aimed as significantly simplifying ease of use
- near zero config setup for Rails apps
- add built-in support for easy loading via Railties
- built in support for activejob, sidekiq, and other common frameworks
- reduced configuration options
- support oneshot
- drop middleware figure out a way to kick off background without middelware
- options on reporting
- background reporting
- or middleware reporting
- Support for file versions
- md5 or release tags
- add coverage timerange support
- Drop Simplecov dependency
- improved web reporting
- lists current config options
- eventually allow updating remote config
- full theming
- list redis data dump for debugging
- additional adapters: Memcache, S3, and ActiveRecord
- add articles / podcasts like prontos readme https://github.com/prontolabs/pronto
- Add detailed Gem usage report, if we collect and send gem usage we can give percentage of gem code used, which should help application developers know when to remove gem dependencies (0%) or perhaps inline single methods for little usage (using <= 5%) for example.
- add meta data information first seen last recorded to the coverage report views (probably need to drop simplecov for that).
- more details in this issue: danmayer#118
- Make good video on setup, install, usage
- See if we can add support for views / templates
- using this technique https://github.com/ioquatix/covered
- Better default grouping (could use groups features for gems for rails controllers, models, lib, etc)
- Improved logging for easier debugging and development
- drop the verbose mode and better support standard logger levels
- Possibly setup a build assets system
- my JS rules expanded the compressed JS at the top of application.js, basically we want to stitch together JS
- I guess we could also load multiple JS files as most of the JS is just default compressed JS and a tiny amount of actual app JS.
- lazy load for Coverband results
- view layer file coverage
- move all code to work with relative paths leaving only stdlib Coverage working on full paths
- add gem_safe_lists to track only some gems
- add gem_details_safe list to report on details on some gems
-
- display gems that are in loaded with 0 coverage, thanks @kbaum
This is a possible gem to host experimental or more complex features, which would require tuning, configuration, and performance trade offs. If something is really valuable it could be promoted into the main line.
Feature Ideas:
- per request coverage implemented via Ruby 2.6.0 coverage.clear https://bugs.ruby-lang.org/issues/15022
- statsd adapters (it would allow passing in date ranges on usage)
- Possibly add ability to record code run for a given route
- integrate recording with deploy tag or deploy timestamp
- diff code usage across deployed versions
- what methods increased usage or decreased
- ability to change the Coverband config at runtime by changing the config pushed to the Redis hash. In memory cache around the changes to only make that call periodically.
- Opposed to just showing code usage on a route allow 'tagging' events which would record line coverage for that tag (this would allow tagging all code that modified an ActiveRecord model for example
- additional adapters (tracepoint, ruby-profiler, etc)
- tagged coverage reports
- code route tracing (entry point to all code executed for example /some_path -> code coverage of that path)
- deploy git hash tagging of reported Coverage
- allow only to collect coverage based on route (limiting or scoped coverage)
- coverage over some other variable like a set of alpha users
- document how to use this on staging / selenium test suite runs
- possible add API to pull report at end of run
- fixes related to startup without Redis, skipping Coverband on common rake tasks (assets:precompile), etc
- avoid calls to redis if coverage not updated
- split out lua work and added testing around lua scripts use for the hash redis store
- improvements to hash redis store resulting in 25% faster perf
- avoid duplicate hash calculations
- debug data now includes md5_hashes
- added support to download coverage and view data in JSON format
- documentation about working with environment variables
- add cache wiggle to avoid Redis CPU spikes (cache stampede on Redis server)
- readme fixes
- improved defaults for the next redis hash adapter
- add tooltips
- improved messaging around non-loaded files
- fix on last updated nil issue
- view tracker improvements
- clear all
- reset individual file
- timestamps on last seen activity
- new experimental hash redis store for high volume collection (hundreds of clients), thanks @kbaum
- view_tracker supports tracking view layer files like
.html.erb
- documentation improvements, thanks @brossetti1, @jjb, @kbaum
- we now have discordapp for discussions, thanks @kbaum, https://discordapp.com/channels/609509533999562753/609509533999562756
- perf fix on Rails initialization, thanks @skangg
- simplified logging
- larger changes
- reduce memory usage
- fix issue where reports didn't include files with 0 activity
- updated runtime relavent lines and runtime percentages
- add Oneshot coverage support for Ruby 2.6.0 thanks @zwalker
- I would consider this our test oneshot release, please report any issues
- improved control over memory vs functionality
- oneshot support is the best memory and speed if you are on Ruby 2.6.*
- simulated_oneshot works for Ruby prior to 2.6.*, keeps lower runtime memory, at a trade of only being able to detect eager_load or runtime hits not both
- full hit tracking (The previous and current default), this uses more memory than other options, but provides full robust data
- small changes fixes
- further improvements on eager_loading detection, thanks @kbaum
- fix on ignore configuration options
- fix broken static server
- fix issue where clear and coverage trigger coverage reports
- improved logging
- fix on gem runtime code coverage support, thanks @kbaum
- fix sorting of runtime coverage
- add runtime coverage to gem summary pages
- documented redis TTL, thanks @jjb
- resolve regression on coverband rake tasks recording coverage
- improved runtime / eager loading tracking
- fix on small memory leaks
- added warnings that gem tracking isn't production ready
- built in support for basic auth on the web rack app, thanks @jjb
- don't clobber rake environment method definition, thanks @shioyama
- readme improvements, thanks @yuriyalekseyev
- fix duplicate requires thanks @yuriyalekseyev
- various cleanups and improvements, thanks @kbaum
- additional benchmarks to ensure proper memory handling, thanks @kbaum
- default redis TTL, thanks @jjb
NOTE: This release introduces load time and runtime Coverage. To get the full benifit of this feature you need to reset you coverage data (rake coverband:clear
or clear via the web UI). Until you clear the combined result is still correct, but your runtime data will be mixed with previous data. This is due to an additive change in how we store coverage. We didn't reset by default as the coverage history for some folks may be more important than runtime breakdown.
- loadtime vs runtime coverage
- This fixes the coverage last seen date to exclude just load time data
- now you can see boot time coverage vs code hit during production execution
- list view shows runtime percentage and runtime hits
- file view shows line hits load, runtime, and combined
- perf speedup on gem details views
- ajax load code views for more responsive pages on large projects
- fix for issues with COVERBAND_DISABLE_AUTO_START
- silence warnings
- move from thread based reporter instance to process based instance
- thanks Karl Baum for much of the above mentioned work
- clear coverage on individual files
- we have a logo, thanks Dave Woodall, http://davewoodall.com
- fix bug on info page when using namespaces
- fix bug related to forking Ruby processes (Resque for example)
- bug caused negative line hits
- bug seemed to cause memory leaks (not entirely sure how)
- various test improvements
- fix bad requests on coverband web admin to
/coverage/favicon.png
- improved documentation
- default disabled web clear, add config option to allow it
- out of the box support for resque
- readme improvements
- fix on regression of merging directory changing deployments
- fixes for duplicate root paths
- pilot release of Gems tracking (disabled by default) - todos - support multiple gem paths (various version managers setup multiple gem paths) - speed up page load by allowing multiple pages
- added web settings and debug views
- added support for seeing coverage data size consumed in redis
- support coverage data migrations from 4.0.x to 4.1.0
- fixes for heroku /tmp asset building
- drops Simplecov runtime dependency
- still used to measure our own code coverage ;)
- thanks SimpleCov for all the years of solid HTML reporting, and support!
- reduced the S3 dependencies to minimal set (not loading all of aws-sdk, only aws-sdk-s3), ensured they are optional
- Improved Coverband web admin
- Coverage reports include timestamps of Coverage collection
- Added Coveralls to the dev process thanks @dondonz
- now tested under Ruby 2.6.0 thanks @Kbaum
- improved full stack testing for Rails 5 & 4
- warning before clear coverage on coverband web
- Add support for Railties integration
- Reduce configuration options
- Default to background reporting vs middleware reporting
- Resolves issue requiring submitting initial coverage data pre-fork
- Simplified setup with just works sensible defaults for configuration out of the box
- Fixes on the pilot release of background reporting in 3.0.1
- Rake tasks automatically configured
- Updated and simplified documentation
- Thanks to Kbaum for all the extensive feedback on the PR
Will be a stable and fast release that drops maintenance legacy support in favor of increased performance and maintainability.
- expects to drop Tracepoint collection engine
- drop anything below Ruby 2.3
- release begins to simplify ease of use
- drop collectors adapter
- reduced configuration options
- add memory benchmarks showing memory overhead of coverband
- use full stack tests to prove no memory leaks when used in Rails
- update documentation around verification steps (danmayer#135), thanks @kbaum
- resolve coverage drift issue, danmayer#118, thanks for MD5 hash ideas @dnasseri and @kbaum
- first version of background thread coverage reporting danmayer#138, thanks @kbaum
- auto-detection of Rack & Rails thanks @kbaum
- improved tests allowing exceptions to raise in tests @kbaum
- add support for both aws-sdk 1.x and 2.x thanks @jared
- adds memory test ensuring no memory leaks
- full stack Rails tests for Rails 4 and 5 thanks @kbaum
- drops Tracepoint
- drops Ruby <= 2.3.0
- drops JSON Gem dependency
- drops various other features not needed without Tracepoint
- memory cache, sampling, restricted to app folders, etc
- standardizes on Coverage array format vs sparse hash
- rewrites store methods, for 60X perf
- implemented for Redis and File store
- improved mountable web interface
- don''t include docs in the gemfile thanks @bquorning
- pipeline_redis to reduce network overhead thanks @Kallin
- various additional benchmarks @danmayer
- Filter out files with no coverage thanks @kbaum
- fix possible nil error on files that changed since initial recording @viktor-silakov
- add improve error logging in verbose mode (stacktrace) @viktor-silakov
- improved logging level support @viktor-silakov
- launch Coverband demo and integrate into Readme / Documentation
- fix on baseline to show an issue by @viktor-silakov
- remove all coverband:baseline related features and documentation
- dropped Sinatra requirement for web mountable page
- fix on filestore by @danrabinowitz
- fixes to the MemoryCacheStore by @kbaum
- add support for fine grained S3 configuration via Coverband config, thanks @a0s
- Using the file argument to self.configure in lib/coverband.rb, thanks @ThomasOwens
- added redis improvements allowing namespace and TTL thx @oded-zahavi
- fix warnings about duplicate method definition
- Add support for safe_reload_files based on full file path
- Add support for Sinatra admin control endpoints
- improved documentation
Major release with various backwards compatibility breaking changes (generally related to the configuration). The 2.0 lifecycle will act as a mostly easy upgrade that supports past users looking to move to the much faster new Coverage Adapter.
- Continues to support Ruby 2.0 and up
- supports multiple collect engines, introducing the concept of multiple collector adapters
- extends the concepts of multiple storage adapters, enabling additional authors to help support Kafka, graphite, other adapters
- old require based loading, but working towards deprecating the entire baseline concept
- Introduces massive performance enhancements by moving to Ruby
Coverage
based collection- Opposed to sampling this is now a reporting frequency, when using
Coverage
collector
- Opposed to sampling this is now a reporting frequency, when using
- Reduced configuration complexity
- Refactoring the code preparing for more varied storage and reporting options
- Drop Redis as a gem runtime_dependency
This is a significant release with significant refactoring a stepping stone for a 2.0 release.
- staging a changes.md document!
- refactored out full abstraction for stores
- supports hit counts vs binary covered / not covered for lines
- this will let you find density of code usage just not if it was used
- this is a slight performance hit, so you can fall back to the old system if you want
redisstore.new(@redis, array: true)
- this is the primary new feature in 1.5.0
- Redis has configurable base name, so I can safely change storage formats between releases
- improved documentation
- supports
SimpleCov.root
- show files that were never touched
- apply coverband filters to ignore files in report not just collection
- improved test coverage
- improved benchmarks including support for multiple stores ;)
- This was a small fix release addressing some issues
- mostly readme updates
- last release prior to having a changes document!