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

m-lab / pusher
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: v1.20.5
DEFAULT BRANCH: main
Repo Added 10 Jul 2018 03:41PM UTC
Files 9
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 v1.20.1
branch: v1.20.1
CHANGE BRANCH
x
Reset
  • v1.20.1
  • 1.3
  • add-certs
  • add-filename-linter
  • add-metadata
  • add-signal-handler
  • add-success-counter
  • add-version-metric
  • cleanup-limit
  • cover-one-last-line
  • coverage_improvements
  • datatype-flag-fix
  • deploy
  • design-doc
  • dirty-build
  • doc-cleanup
  • dockerfile-cleanup
  • dockerfile-fix
  • dockerize
  • dry_run
  • fd-leak
  • fix-coverage
  • fix-flags
  • fix-read
  • fix_err
  • general-names
  • googleapis
  • inotify
  • integration_tests
  • local-system-fix
  • main
  • make-dirs
  • master
  • memoryless
  • micro-not-milli
  • monitoring
  • mtime-lower-bound
  • multiple-datatypes
  • promclean
  • promtest
  • refactor-tarcache
  • reportcard-cleanup
  • respect-experiment-dates
  • rpc-timeout
  • sandbox-cristinaleon-1.20
  • sandbox-cristinaleon-percentage-datatypes
  • sandbox-cristinaleon-remove-tars
  • sandbox-kinkade
  • sandbox-roberto-update-go-dep
  • sandbox-saied-go118
  • sandbox-soltesz
  • sandbox-soltesz-fixperm
  • sandbox-soltesz-parse-nodename
  • sandbox-soltesz-updates
  • simplify
  • soltesz-gitinit
  • sync
  • test_cleanup
  • update_travis
  • use-context-uniformly
  • use_the_x_libraries
  • v1.0
  • v1.1
  • v1.10
  • v1.11
  • v1.12
  • v1.13
  • v1.14
  • v1.15
  • v1.16
  • v1.17
  • v1.18
  • v1.19
  • v1.2
  • v1.20
  • v1.20.2
  • v1.20.3
  • v1.20.5
  • v1.3
  • v1.4
  • v1.5
  • v1.6
  • v1.7
  • v1.8
  • v1.9
  • verify-names

12 May 2022 07:07PM UTC coverage: 98.919%. First build
461

push

travis-ci-com

web-flow
Removes old, empty directories from datatype root directories (#99)

* Removes old, empty directories

Pusher did not remove old directories. Every extant directory creates an
inotify watch in pusher. Over time and/or for experiments (e.g., wehe)
that create a large amount of directories, this can create a very large
number of useless watches, which eat up memory, and eventually may run
up against fs.inotify.max_user_watches, causing other containers on the
system to fail.

This commit also fixes an apparent variable name bug in which the value
for maxFileAge was put into a variable named minFileAge.

* Removes old, empty directories when walking dir

Previously, directories were not touched. On long-running containers
directories would begin to pile up causing a large amount of useless
pusher inotify directories watches.

* Uses Go v1.18 to build Docker image, and Alpine 3.15

* Updates Go modules

* Reverts prometheus/client_golang to v1.11.0

I was running into this with newer versions:

https://github.com/prometheus/prometheus/issues/10574

* Updates Travis to use Go v1.18

* Reverts Go to v1.17 (from v1.18)

The travis build was failing with something like this:

https://github.com/mattn/goveralls/issues/207

... and the Docker build was failing with this error:

Step 8/10 : COPY --from=build /go/bin/pusher /
COPY failed: stat go/bin/pusher: file does not exist

* Adds a clarifying comment about removing dirs

* Simplifies dir removal logic, removes branching

36 of 36 new or added lines in 1 file covered. (100.0%)

549 of 555 relevant lines covered (98.92%)

11672.22 hits per line

Relevant lines Covered
Build:
Build:
555 RELEVANT LINES 549 COVERED LINES
11672.22 HITS PER LINE
Source Files on v1.20.1
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
461 v1.20.1 Removes old, empty directories from datatype root directories (#99) * Removes old, empty directories Pusher did not remove old directories. Every extant directory creates an inotify watch in pusher. Over time and/or for experiments (e.g., wehe) ... push 18 May 2022 06:35PM UTC web-flow travis-ci-com
98.92
See All Builds (443)
  • Repo on GitHub
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