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

umputun / agterm / 40543960522
94%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 04:54PM UTC
Jobs 1
Files 212
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

27 Oct 2026 04:44PM UTC coverage: 94.233%. Remained the same
40543960522

push

github

umputun
fix(agent-status): keep the command status through the bash prompt hook

bash runs PROMPT_COMMAND entries in sequence and each sees the status the
previous one left. _ags_precmd is prepended there when bash-preexec is absent,
and it returned 1 whenever no agent had run (the failed `[ -n ]` test) and 0
after an agent ran (the trailing unset). A prompt that shows the last exit
status therefore showed a failure after every successful command and success
after a failed agent command.

The hook now saves $? on entry and returns it. zsh precmd hooks, fish event
handlers and bash-preexec callbacks each receive the original status, so the
other paths are unchanged.

Related to https://github.com/umputun/agterm/discussions/826

17093 of 18139 relevant lines covered (94.23%)

3789692.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40543960522.1 27 Oct 2026 04:54PM UTC 212
94.23
GitHub Action Run
Source Files on build 40543960522
  • Tree
  • List 212
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40543960522
  • 42716cb2 on github
  • Prev Build on master (#40540615075)
  • Next Build on master (#40559391336)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc