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

umputun / cronn / 19245576693
75%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2025 08:46PM 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

10 Nov 2025 08:44PM UTC coverage: 75.04% (+0.6%) from 74.488%
19245576693

push

github

web-flow
Add command editing and custom date for manual job execution (#48)

* feat: add command editing and custom date for manual job execution

allow users to edit commands and provide custom dates when manually triggering jobs:

- add confirmation modal with editable command textarea
- add optional date input (YYYYMMDD format) for template variable override
- track executed command separately from base job command in database
- add executed_command column to executions table
- preserve original job identity while executing edited commands
- add JobID field to ManualJobRequest to prevent duplicate job entries
- implement jobFuncWithEditedCommand for executing modified commands
- add history UI toggle to view executed vs base commands
- display star icon for customized executions in history
- add client-side and server-side date validation
- update JobEventHandler interface with executedCommand parameter

comprehensive test coverage:
- service layer: custom date template parsing, edited command execution
- web layer: form data parsing, date validation, edited command handling
- persistence layer: executed command storage and retrieval

* fix: address critical issues in manual job execution

fix database migration, timezone handling, and repeater preservation:

- add database migration to add executed_command column to existing databases
- fix timezone issue by using ParseInLocation with time.Local for custom dates
- preserve Repeater (retry logic) from original job for manual runs
- add comprehensive tests for migration, timezone handling, and repeater preservation

this fixes issues where:
- existing deployments would crash with "no such column: executed_command"
- custom dates would be off by one day in negative UTC offset timezones
- manual runs would ignore job-specific retry configuration

* refactor: extract duplicated job execution logic and organize frontend code

- extract runJobWithCommand method to eliminate 170 lines of duplication between jobFun... (continued)

137 of 161 new or added lines in 3 files covered. (85.09%)

1 existing line in 1 file now uncovered.

2333 of 3109 relevant lines covered (75.04%)

36.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
88.11
0.51% app/web/web.go
6
85.89
-2.22% app/web/persistence/sqlite.go
15
87.06
1.73% app/service/service.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.06
1.73% app/service/service.go
Jobs
ID Job ID Ran Files Coverage
1 19245576693.1 10 Nov 2025 08:46PM UTC 22
75.04
GitHub Action Run
Source Files on build 19245576693
  • Tree
  • List 22
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 49f9af9b on github
  • Prev Build on refs/tags/v1.6.1 (#19226540109)
  • Next Build on master (#19256451851)
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