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

umputun / cronn / 19360076957
75%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2025 09:24AM UTC
Jobs 1
Files 22
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

14 Nov 2025 09:22AM UTC coverage: 74.2% (+0.7%) from 73.473%
19360076957

push

github

web-flow
Add execution history with SQLite storage and web UI display (#51)

* feat: add execution history with SQLite storage and web UI display

- implement SQLite persistence for job execution records with configurable limits
- add web UI to display execution history with logs, exit codes, and timestamps
- separate notification and web log outputs using independent OutputCapture buffers
- rename ErrorWriter to OutputCapture to better reflect dual-purpose usage
- fix exit code extraction using errors.As to unwrap error chains correctly
- add comprehensive tests for output capture and persistence layers

* chore: set default exec-max-lines to 100, disable if web not enabled

* refactor: address code review feedback from gemini-code-assist

- rename SerError to SetError following Go naming conventions
- refactor multi-writer construction to eliminate variable shadowing
- make error handling consistent using inline declarations in migrate()
- fix error variable shadowing by using execErr and outErr names

* test: add comprehensive tests for handleExecutionLogs handler

- test valid request with execution logs
- test missing job id error path
- test invalid execution id error path
- test non-existent execution error path
- test execution ownership validation (403 forbidden)
- improves app/web coverage from 85.2% to 88.1% (+2.9%)
- handleExecutionLogs now has 100% coverage

* fix: include command output in resume failure notifications

- resumeInterrupted now captures notifyOutput from executeCommand
- combines error message with command output for notifications
- matches pattern used in runJobWithCommand for consistency
- adds comprehensive tests for resume notification behavior
- test verifies failed resume includes both error and output
- test verifies successful resume does not send notification

refactor: replace time.Sleep with require.Eventually in tests

- replace time.Sleep with require.Eventually for async assertions
- improves test reliability and redu... (continued)

206 of 227 new or added lines in 5 files covered. (90.75%)

6 existing lines in 4 files now uncovered.

2482 of 3345 relevant lines covered (74.2%)

36.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
87.99
0.38% app/web/web.go
7
85.65
0.8% app/web/persistence/sqlite.go
10
26.61
-0.77% app/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
26.61
-0.77% app/main.go
1
85.65
0.8% app/web/persistence/sqlite.go
2
88.16
1.19% app/service/service.go
2
87.99
0.38% app/web/web.go
Jobs
ID Job ID Ran Files Coverage
1 19360076957.1 14 Nov 2025 09:24AM UTC 22
74.2
GitHub Action Run
Source Files on build 19360076957
  • Tree
  • List 22
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e0f2c905 on github
  • Prev Build on master (#19288157103)
  • Next Build on master (#19360706090)
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

© 2025 Coveralls, Inc