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

samsarahq / taskrunner / 25466778043
40%

Build:
DEFAULT BRANCH: master
Ran 06 May 2026 11:26PM UTC
Jobs 1
Files 27
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

06 May 2026 11:25PM UTC coverage: 38.25% (-6.9%) from 45.167%
25466778043

push

github

johnwonkim
Revert "taskrunner goextensions: use specific dependencies for tasks"

This reverts commit <a class=hub.com/samsarahq/taskrunner/commit/eb5f1b5713c9e6f80789be677736758dcaba72bb">eb5f1b571<a href="https://github.com/samsarahq/taskrunner/commit/5544f98d5fa844be49dc2b5308dd0cc04754feda">.

The original intention for this commit was to fix invalidations from
being too eager by adding specific glob sources rather than a blanket
wildcard go file change. This resulted in each service task getting
around 2000 individual sources to check over. The file watcher runs
a regex check: `zglob.Match(source, path)` for every single source,
every time a file gets saved. Multiply this by our 50+ tasks, and
you start to see strange behavior regarding invalidations including:
- invalidations being super slow (10 seconds to 2 mins)
- invalidations being soooo slow that we question whether they dropped
- invalidations being fast on taskrunner start, slow after

How did i test?
___
I ran backend with various pinned versions of taskrunner, and triggered
invalidations by saving the `userpreferencesservice/main.go` file with
garbage changes to trigger syntax errors.

Expected: File changes should trigger invalidations quickly

Taskrunner versions:
- current master samsarahq/taskrunner version (broken)
  - `<a class="double-link" href="https://github.com/samsarahq/taskrunner/commit/b7f09d6666d7e4bd45ab593d2eba2426b62f5fee">b7f09d666</a><a href="https://github.com/samsarahq/taskrunner/commit/5544f98d5fa844be49dc2b5308dd0cc04754feda">`
  - invalidations trigger slowly, or not at all
- current pinned revert version living on backend (working)
  - `</a><a class="double-link" href="https://github.com/samsarahq/taskrunner/commit/cef65c91d3fe6529ac9d1b3330c4f968f6f857cd">cef65c91d</a>`
  - invalidations trigger within seconds
- Sources depdendency graph change (breaking root cause)
  - `eb5f1b5713c9e6f80789be677736758dcaba72bb`
  - invalidations trigger slowly, or not at all
- New proposed working fix (working)
  - this commit
  - invalidations trigger within seconds

I explored the possibility of fixing this commit and rather than
full on reverting it. However, I was reaching the end of my timebox, so
i decided to go with a revert here.

0 of 25 new or added lines in 1 file covered. (0.0%)

114 existing lines in 1 file now uncovered.

791 of 2068 relevant lines covered (38.25%)

3.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
25
4.49
-76.01% goextensions/builder.go

Coverage Regressions

Lines Coverage ∆ File
114
4.49
-76.01% goextensions/builder.go
Jobs
ID Job ID Ran Files Coverage
1 25466778043.1 06 May 2026 11:26PM UTC 27
38.25
GitHub Action Run
Source Files on build 25466778043
  • Tree
  • List 27
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5544f98d on github
  • Prev Build on master (#19178823281)
  • Next Build on master (#25516302028)
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