fly watch

0.0% Savings
0 Commands
0 Tokens saved
2 Tests

Install

tokf install c8f864e6f4cb1554f8fd2875fc6d43f29a4f118d0d33f398c31b13ddf1302df8
Safety checks passed

Filter definition

command = "fly watch"

strip_ansi = true
collapse_empty_lines = true
show_history_hint = true

skip = [
    "^selected worker:",
    "^initializing",
    "^fetching ",
    "^Fetching ",
    "^checking ",
    "^INFO:",
    "^\\d+\\.\\d+ MiB / ",
    "^\\[1A",
]

[on_success]
tail = 5

[on_failure]
tail = 40

Examples

failure shows last 40 lines ~39 tokens → ~26 tokens (33% saved)
Raw output
selected worker: worker-1
initializing check: image
=== RUN TestMain
--- FAIL: TestMain (0.01s)
    main_test.go:15: expected 200, got 500
FAIL
exit status 1
Filtered output
=== RUN TestMain
--- FAIL: TestMain (0.01s)
    main_test.go:15: expected 200, got 500
FAIL
exit status 1
success filters noise and shows last 5 lines ~70 tokens → ~23 tokens (67% saved)
Raw output
selected worker: worker-1
initializing check: image
fetching image
Fetching golang:1.21
checking cache
INFO: pulling layer sha256:abc123
12.50 MiB / 45.00 MiB
45.00 MiB / 45.00 MiB
[1A
running tests...
=== RUN TestMain
--- PASS: TestMain (0.01s)
PASS
ok  	github.com/gw/api	0.125s
Filtered output
running tests...
=== RUN TestMain
--- PASS: TestMain (0.01s)
PASS
ok  	github.com/gw/api	0.125s
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters