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

jjti / go-spancheck / 8774858184
85%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2024 07:01PM UTC
Jobs 1
Files 2
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

21 Apr 2024 07:01PM UTC coverage: 83.942% (-3.3%) from 87.288%
8774858184

push

github

web-flow
Add support for "Start" utility methods (#16)

* feat: replace hardcoded span start function names with regex patterns

Replaces the hardcoded list of function names and packages with a list
of regex patterns that may be extended using the
`-extra-start-span-signatures` command line option.

The format is `<regex>:<telemetry-type>`. Ideally this would just be a
list of regex patterns, but we need to know what telemetry library we're
matching so we don't run RecordError on opencensus.

* tests: update tests to use new default config

The tests need to unconditionally include the
DefaultStartSpanSignatures, which was not possible with the old harness.

Instead of returning an object directly, they now return a function to
prepare a config, which ensures they all start out with the default
config as a base.

* Add test, skip validating spans within starter funcs

* Hack: fix check for start func method name

* fix: increase robustness of skipping custom matchers

Instead of checking if the function name matches, which might result in
overzealous exclusions, prefer to match against the function signature
itself

* docs: document new behaviour

* Remove sig split in config

* nit: small wording changes

---------

Co-authored-by: josh <joshua.timmons1@gmail.com>

62 of 82 new or added lines in 2 files covered. (75.61%)

3 existing lines in 1 file now uncovered.

345 of 411 relevant lines covered (83.94%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8774858184.1 21 Apr 2024 07:01PM UTC 0
83.94
GitHub Action Run
Source Files on build 8774858184
Detailed source file information is not available for this build.
  • Back to Repo
  • 34d21b47 on github
  • Prev Build on main (#8768063385)
  • Next Build on main (#8774882402)
  • Delete
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