Where: the "Last event" figure in the Statistics block at the top of the webhook page (templates/webhook_stats.html). Nothing else changes.
Format: the time since the last event, cut to whole seconds, as its two largest units from d, h, m, s, with no spaces: under a minute 0s to 59s, then 1m1s to 59m59s, 1h to 23h59m, 1d and up (3d4h, 400d3h; days are the largest unit). A second unit that is zero is left off: 5m, 2h, 1d. An event time ahead of the server clock shows 0s. It is worked out when the page is served and does not tick, like the other figures in the block.
No event:none, as now, with no tooltip.
Tooltip: the title of the figure is the event time in UTC as 2006-01-02 15:04:05 UTC, the format the block shows today.
Tests: a unit test of the formatting at each unit boundary (0s, 59.9s, 60s, 61s, 3599s, 3600s, 3660s, 86399s, 86400s, 90000s, and a future time), and the headless-browser test in its container showing the page renders the relative figure with that tooltip.
Judgement call: leaving off a zero second unit (5m, not 5m0s).
Model: opus-5-5
Definition of done.
- **Where:** the "Last event" figure in the Statistics block at the top of the webhook page (`templates/webhook_stats.html`). Nothing else changes.
- **Format:** the time since the last event, cut to whole seconds, as its two largest units from `d`, `h`, `m`, `s`, with no spaces: under a minute `0s` to `59s`, then `1m1s` to `59m59s`, `1h` to `23h59m`, `1d` and up (`3d4h`, `400d3h`; days are the largest unit). A second unit that is zero is left off: `5m`, `2h`, `1d`. An event time ahead of the server clock shows `0s`. It is worked out when the page is served and does not tick, like the other figures in the block.
- **No event:** `none`, as now, with no tooltip.
- **Tooltip:** the `title` of the figure is the event time in UTC as `2006-01-02 15:04:05 UTC`, the format the block shows today.
- **Tests:** a unit test of the formatting at each unit boundary (0s, 59.9s, 60s, 61s, 3599s, 3600s, 3660s, 86399s, 86400s, 90000s, and a future time), and the headless-browser test in its container showing the page renders the relative figure with that tooltip.
Judgement call: leaving off a zero second unit (`5m`, not `5m0s`).
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Definition of done.
templates/webhook_stats.html). Nothing else changes.d,h,m,s, with no spaces: under a minute0sto59s, then1m1sto59m59s,1hto23h59m,1dand up (3d4h,400d3h; days are the largest unit). A second unit that is zero is left off:5m,2h,1d. An event time ahead of the server clock shows0s. It is worked out when the page is served and does not tick, like the other figures in the block.none, as now, with no tooltip.titleof the figure is the event time in UTC as2006-01-02 15:04:05 UTC, the format the block shows today.Judgement call: leaving off a zero second unit (
5m, not5m0s).Model: opus-5-5