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

php-bug-catcher / bug-catcher
84%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v2.5.0
DEFAULT BRANCH: main
Repo Added 10 Sep 2024 01:22PM UTC
Files 159
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 1.6.0
branch: 1.6.0
CHANGE BRANCH
x
Reset
  • 1.6.0
  • 0.1.4
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.1.3
  • 1.1.5
  • 1.1.6
  • 1.1.7
  • 1.1.8
  • 1.2.0
  • 1.2.1
  • 1.2.2
  • 1.2.3
  • 1.2.4
  • 1.3.0
  • 1.4.0
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.7.0
  • 1.8.0
  • 1.8.1
  • 1.9.0
  • feat/mcp-perf-tools
  • feat/mcp-server
  • fix/stacktrace-display
  • main
  • multi-login
  • selection
  • tailwind
  • v2.0.0
  • v2.0.0-RC1
  • v2.0.0-RC2
  • v2.0.0-RC3
  • v2.0.0-RC4
  • v2.0.1
  • v2.0.2
  • v2.0.3
  • v2.1.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0

01 Sep 2026 11:30AM UTC coverage: 84.145% (-0.8%) from 84.965%
33502827332

push

github

tito10047
feat(detail): fix it / archive it buttons in the detail header

The status buttons of the log list are now next to the request URL on the detail
page, so an error can be cleared from the page you inspect it on instead of
going back to the list.

They cannot reuse LogList\RecordLog::clearOne() over HTTP: it reads the record
and the status filter from live props, which only exist on a live request. A
thin controller posts to a route instead.

Two details the list does not have to care about:

  * `firstOccurrence` is transient - the list computes it while grouping the
    hundred rows it loaded, and on the detail page it is null. The controller
    therefore looks the oldest occurrence of the hash up in the database, or
    only the record on screen would change status and the error would stay in
    the list.
  * the status ends up interpolated into DQL by getUpdateStatusQB(), so the
    route pins it to `resolved|archived` rather than accepting any string.

The detail page is opened from the list with target="_blank", so the buttons
submit through fetch() and then close their own tab. A browser only lets a
script close a tab while it still holds a single history entry, and a plain POST
plus redirect would spend that entry. If the close is refused anyway - direct
visit, restored tab - the page reloads so the new status stays visible; if the
request fails, the form falls back to a normal submit. XHR gets 204 back, a
normal post still redirects to the detail page.

The test app had no firewall outside ^/api, which left is_granted() always false
and role protected pages untestable. It gets one scoped to ^/detail - narrow on
purpose, the admin tests rely on /admin staying unsecured.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

15 of 16 new or added lines in 1 file covered. (93.75%)

881 of 1047 relevant lines covered (84.15%)

6.87 hits per line

Relevant lines Covered
Build:
Build:
1047 RELEVANT LINES 881 COVERED LINES
6.87 HITS PER LINE
Source Files on 1.6.0
  • Tree
  • List 54
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33502827332 1.6.0 feat(detail): fix it / archive it buttons in the detail header The status buttons of the log list are now next to the request URL on the detail page, so an error can be cleared from the page you inspect it on instead of going back to the list. T... push 01 Sep 2026 11:31AM UTC tito10047 github
84.15
See All Builds (114)
  • Repo on GitHub
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