Skip to content

fix: batch of production-log and Slack issues - #808

Merged
fclairamb merged 33 commits into
mainfrom
feat/todos-2026-11-08-2
Nov 8, 2026
Merged

fclairamb merged 33 commits into
mainfrom
feat/todos-2026-11-08-2

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Stacked on #805: merge it first.

Fixes dashboard disconnect logging, slow-SQL log collapsing, uptimebar lag warning, Slack acknowledge via response_url; specs for the rest.

Closes fclairamb/solidping-business#52
Closes fclairamb/solidping-business#53
Closes fclairamb/solidping-business#54
Closes fclairamb/solidping-business#55
Closes fclairamb/solidping-business#56

fclairamb and others added 16 commits November 8, 2026 01:37
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…CLI, oldest-check stat

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sidebar link shown everywhere, prompt on the dashboard home after 7 days with an
enabled check and nothing down, persisted in the user-global github-star ui-state.
Switch: SP_APP_STARPROMPT=false.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… is hidden

The checklist reports its visibility via the shared isChecklistVisible
condition instead of the prompt requiring dismissedAt. Adds unit tests for
the analytics events (shown/clicked/dismissed).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…04 (fclairamb/solidping-business#53)

A client closing the connection mid-download made the dashboard and status
page handlers log "Error reading ... file" at ERROR and call http.Error with a
404 after writeEmbeddedFile had already sent the 200 header. Write failures
after the header are now wrapped as errEmbeddedWriteAfterHeader; the shared
handleEmbeddedServeError logs them at DEBUG and writes nothing, open/stat
failures keep ERROR + 404, and the docs handler no longer tries the next
candidate after a failed write. TestWriteEmbeddedFileClientAbort fails without
the fix (the write error was returned unwrapped).

Closes fclairamb/solidping-business#53

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…business#54)

A slow query with an IN list of thousands of IDs logged a ~30 KB
"statement" attribute; the container runtime split the record at 16 KiB into
two non-JSON lines, and each list length was its own throttle key
(server/internal/db/sloghook/hook.go normalizeStatement). Placeholder lists
now collapse to "?, ..." (and multi-row VALUES to "(?, ...), ..."), so the
throttle key is the shape, and the statement and verbose query attrs are
capped at 2 KB with a "…" marker. TestNormalizeStatementCollapsesPlaceholderLists
and TestSlowQueryStatementIsBounded fail without the fix.

Closes fclairamb/solidping-business#54

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nce (fclairamb/solidping-business#55)

Charts logged "raw results older than the configured raw retention" once per
request on healthy instances, with rows only minutes past RetentionRaw. The
aggregation job runs hourly and keeps raw back to the start of the hour minus
RetentionRaw-1, so raw legitimately ages up to one hour past retention between
runs; warnIfRawLagging (server/internal/uptimebar/bucketing.go) compared to
the exact retention. It now allows aggregationLagTolerance (1 h).
TestBucketAvailability_NoWarningWithinAggregationCadence fails without the fix.

Refs fclairamb/solidping-business#55

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…idping-business#56)

Clicking Acknowledge on a Slack incident message showed nothing: the handler
returned the updated message (or the ephemeral error) as the HTTP body / Socket
Mode ack payload, which Slack ignores for block_actions
(server/internal/integrations/slack/interactions.go dispatchInteraction).
Block action replies are now posted to the interaction's response_url
(hooks.slack.com only, as for slash commands). TestBlockActionReplyGoesToResponseURL
fails without the fix.

Closes fclairamb/solidping-business#56

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Base automatically changed from feat/todos-2026-11-08 to main November 8, 2026 10:54
fclairamb and others added 10 commits November 8, 2026 11:55
…nently

Email jobs with an unparseable address now fail permanently (WARN, redacted
recipient, no retry); producers and the email connection settings validate
addresses (fclairamb/solidping-business#55).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ns by reason

Claim and submit failures carrying backend.ErrConnLost (or a closed network
connection) log one WARN per outage and a recovery summary instead of an ERROR
per job. Abandons during an outage are WARN with reason=connection_lost; the
abandoned counter gains a reason label (ignored_context | connection_lost).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Unmeasured time is now wall-clock time where no region produced a result.
Coverage used to expect window / period x the check's CURRENT region count,
so a region change (or an auto-placement move) rewrote the whole history: a
check that ran in one region for most of its life read about half unmeasured
once it moved to two.

Each aggregate bucket (raw and hour rollups by the hour, day and month
rollups by their own length) now counts as measured in proportion to
min(results, ceil(bucket length / period)), with no region multiplier. The
check Availability card, the SLO budget coverage and the status page bars use
the same rule (uptimebar.WindowAvailabilityWithCoverage, models.CoverageTally).
The window availability read costs four tier-aligned aggregates instead of two.

Closes fclairamb/solidping-business#52 (spec 2026-11-08-05).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The response-time chart's availability strip expected one result per period
per region, so its "measured N% of the interval" tooltip disagreed with the
Availability card. It now expects one result per period, whatever the regions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.79592% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.23%. Comparing base (aa8cc85) to head (d939642).

Files with missing lines Patch % Lines
server/internal/uptimebar/coverage.go 94.04% 5 Missing ⚠️
server/internal/customdomain/alert.go 25.00% 3 Missing ⚠️
server/internal/handlers/auth/service.go 25.00% 3 Missing ⚠️
server/internal/handlers/integrations/service.go 81.25% 3 Missing ⚠️
server/internal/opsnotifywire/wire.go 25.00% 3 Missing ⚠️
server/internal/regionsweep/orgs.go 25.00% 3 Missing ⚠️
server/internal/app/server.go 50.00% 2 Missing ⚠️
server/internal/jobs/jobworker/worker.go 71.42% 2 Missing ⚠️
server/internal/notifications/email.go 60.00% 2 Missing ⚠️
server/internal/app/embedded_assets.go 88.88% 1 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #808      +/-   ##
==========================================
- Coverage   89.23%   89.23%   -0.01%     
==========================================
  Files        1327     1330       +3     
  Lines      135641   135880     +239     
==========================================
+ Hits       121044   121251     +207     
- Misses      14588    14620      +32     
  Partials        9        9              
Files with missing lines Coverage Δ
server/internal/checkworker/conn_outage.go 100.00% <100.00%> (ø)
server/internal/db/models/coverage.go 96.29% <100.00%> (+1.55%) ⬆️
server/internal/email/recipients.go 100.00% <100.00%> (ø)
server/internal/handlers/availability/service.go 93.97% <100.00%> (ø)
server/internal/handlers/slos/service.go 86.00% <100.00%> (+0.03%) ⬆️
server/internal/handlers/statuspages/service.go 92.49% <100.00%> (+0.14%) ⬆️
server/internal/integrations/slack/interactions.go 97.23% <100.00%> (+0.08%) ⬆️
server/internal/jobs/jobdef/errors.go 100.00% <100.00%> (ø)
server/internal/jobs/jobtypes/phone_cap_notice.go 83.87% <100.00%> (+1.11%) ⬆️
...erver/internal/jobs/jobtypes/uptime_report_mail.go 90.47% <100.00%> (+2.24%) ⬆️
... and 17 more

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fclairamb
fclairamb marked this pull request as ready for review November 8, 2026 11:20
@fclairamb
fclairamb enabled auto-merge (squash) November 8, 2026 11:20
@fclairamb
fclairamb merged commit 580d09c into main Nov 8, 2026
35 of 36 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-08-2 branch November 8, 2026 12:01
@fclairamb fclairamb mentioned this pull request Nov 8, 2026
fclairamb added a commit that referenced this pull request Nov 9, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.45.0](v0.44.3...v0.45.0)
(2026-11-09)


### Features

* dashboard glance strips, failed sign-in account names, log noise fixes
([#824](#824))
([659c52c](659c52c))
* **dashboard:** 24h / 7d / 30d availability window, saved per user
([#821](#821))
([283a28e](283a28e))
* **mcp:** sharpen tool descriptions for Glama scoring
([#825](#825))
([ca305f1](ca305f1))
* **server:** run as a native Linux systemd service
([#819](#819))
([8a0cb2f](8a0cb2f))
* **server:** run as a native macOS launchd service
([#811](#811))
([c6612ea](c6612ea))
* **server:** run as a native Windows service, no NSSM
([#802](#802))
([c66c947](c66c947))
* **telegram:** explicit /support mode instead of capturing every
message ([#820](#820))
([571607e](571607e))


### Bug Fixes

* **auth:** admit by email address only when the email is verified
([#818](#818))
([91992fe](91992fe))
* batch of production-log and Slack issues
([#808](#808))
([580d09c](580d09c))
* **deps:** update github.com/dop251/goja digest to d6eaa50
([#800](#800))
([60b7443](60b7443))
* **deps:** update github.com/dop251/goja digest to d8dfb4d
([#810](#810))
([e11b926](e11b926))
* **deps:** update go dependencies (non-major)
([#806](#806))
([1c59927](1c59927))
* **deps:** update go dependencies (non-major)
([#822](#822))
([ec0aebf](ec0aebf))
* **deps:** update module github.com/aws/aws-sdk-go-v2/credentials to
v1.20.17 ([#823](#823))
([27efc51](27efc51))
* **deps:** update module github.com/crewjam/saml to v0.6.3
([#807](#807))
([0f06336](0f06336))
* **deps:** update module github.com/wneessen/go-mail to v0.8.2
([#812](#812))
([3670206](3670206))
* **oncall:** record on-call override changes in the audit log
([#816](#816))
([4561f41](4561f41))
* serve robots.txt, indexable on solidping.io only
([#809](#809))
([3512833](3512833))
* **server:** refuse a pre-existing Windows service data folder others
control ([#817](#817))
([b1832b5](b1832b5))
* **vendorstatus:** drop datadog and atlassian from the catalog
([#814](#814))
([d3397c5](d3397c5))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants