49 check-ins that include changes to files matching 'internal/obsduck/*'
|
2026-11-16
| ||
| 12:38 | land analytics-reopen check-in: e768a55abf user: dmestas tags: trunk | |
| 11:48 | The analytics database is closed and reopened every 15 minutes, which returns its memory closed check-in: bd2508db1b user: dmestas tags: analytics-reopen | |
|
2026-11-11
| ||
| 02:58 | land swarm-costly-pages check-in: 8a44b987d7 user: dmestas tags: trunk | |
| 00:00 | Count the swarm on pages that read a whole history, not only hash pages closed check-in: 8177bd1e77 user: dmestas tags: swarm-costly-pages | |
|
2026-11-10
| ||
| 02:15 | land swarm-sweep check-in: ef0246edd5 user: dmestas tags: trunk | |
| 02:15 | land swarm-capture check-in: b74a06099b user: dmestas tags: trunk | |
| 01:23 | A distributed crawler's requests keep their network range for 90 days, swept before addresses are blanked closed check-in: f405aa6777 user: zeitgeist tags: swarm-sweep | |
| 01:20 | Every request records how it presented itself and its network range closed check-in: 308fd3faad user: zeitgeist tags: swarm-capture | |
|
2026-11-08
| ||
| 13:41 | land traffic-answered-downloads check-in: ce49350a27 user: dmestas tags: trunk | |
| 13:27 | Traffic counts only answered requests as downloads closed check-in: 5039bb12f1 user: dmestas tags: traffic-answered-downloads | |
| 12:57 | land traffic-window-once check-in: 8d168adf88 user: dmestas tags: trunk | |
| 12:57 | land traffic-appender check-in: 05e9c4c569 user: dmestas tags: trunk | |
| 12:53 | Traffic builds each window once into a temp table every panel reads closed check-in: 9150567e35 user: dmestas tags: traffic-window-once | |
| 12:52 | Traffic loads its classification table through the DuckDB appender closed check-in: 1ef42e7255 user: dmestas tags: traffic-appender | |
| 12:46 | land traffic-batch-classify check-in: cc22ec27a2 user: dmestas tags: trunk | |
| 12:39 | Traffic classifies its facts in batches of 500, not one INSERT each closed check-in: 4c920eada9 user: dmestas tags: traffic-batch-classify | |
|
2026-11-05
| ||
| 00:33 | land hourly-request-counts check-in: 5ec780b286 user: dmestas tags: trunk | |
| 00:18 | merge ci-logs-offload into webhook-auto-pause closed check-in: 1bdb0e1e03 user: dmestas tags: webhook-auto-pause | |
| 00:16 | merge hourly-request-counts into ci-logs-offload closed check-in: bfa6a0e59d user: dmestas tags: ci-logs-offload | |
|
2026-11-04
| ||
| 22:57 | Count hourly requests per route pattern and source check-in: 7a0669ac80 user: zeitgeist tags: hourly-request-counts | |
|
2026-10-23
| ||
| 22:05 | update history-api from trunk check-in: dbb27d245e user: dmestas tags: history-api | |
| 21:34 | update zit-0.7.0 from trunk closed check-in: 70f3622d0e user: dmestas tags: zit-0.7.0 | |
| 21:34 | land traffic-resolution check-in: d6d4508e7c user: dmestas tags: trunk | |
| 20:48 | The traffic chart draws finer steps: a minute to six hours by window check-in: 839d5f1fa1 user: dmestas tags: traffic-resolution | |
| 19:17 | land visitor-key-fix check-in: 214b2a86aa user: dmestas tags: trunk | |
| 19:05 | Keep the visitor key to 63 bits so analytics batches land closed check-in: 4504a68bf4 user: dmestas tags: visitor-key-fix | |
| 19:00 |
land traffic-page
Checks tested the merge with trunk at 5b117d136b43; trunk has moved since. check-in: 156401db8e user: dmestas tags: trunk | |
| 19:00 |
land traffic-networks
Checks tested the merge with trunk at 5b117d136b43; trunk has moved since. check-in: c64516e2e6 user: dmestas tags: trunk | |
| 18:59 | land traffic-hits check-in: cf78220153 user: dmestas tags: trunk | |
| 18:28 | The traffic page: who reads the forge and how, from the request log closed check-in: 70c00075d3 user: dmestas tags: traffic-page | |
| 18:08 | Name the network behind each request and check crawler claims against it closed check-in: af2e651185 user: dmestas tags: traffic-networks | |
| 18:04 | Record every request for the traffic page, sync included closed check-in: 97dd794e66 user: dmestas tags: traffic-hits | |
|
2026-09-27
| ||
| 11:38 | Merge trunk into background-jobs-follow-the-lease check-in: cf04732cdd user: dmestas tags: background-jobs-follow-the-lease | |
| 11:27 | update node-identity-is-persisted from trunk closed check-in: f61888abaf user: zeitgeist tags: node-identity-is-persisted | |
| 11:23 | update ci-race-on-landings from trunk closed check-in: 3bfe3ae2d8 user: zeitgeist tags: ci-race-on-landings | |
| 11:12 | land ops-history-flush-off-request-path check-in: 1bcff88f59 user: dmestas tags: trunk | |
| 04:47 | Rows lost to a failed or cancelled write count as dropped, and the ops page shows the count check-in: 9f7e279623 user: dmestas tags: ops-history-flush-off-request-path | |
| 03:43 | Flush ops history off the request path and keep web renders in their own recent window check-in: 3bdf2f891d user: dmestas tags: ops-history-flush-off-request-path | |
| 03:23 | web: pages are opaque handles drawn only through a handler's hooks; register ciRunPage and personEditPage check-in: b67646c5ba user: dmestas tags: handler-owned-page-templates | |
| 02:46 | land api-ops-are-timed-at-the-registry check-in: 26de248275 user: dmestas tags: trunk | |
| 02:39 | Time every op at the registry and file API calls beside web renders, tagged by surface closed check-in: ccbcf4b34e user: dmestas tags: api-ops-are-timed-at-the-registry | |
|
2026-08-26
| ||
| 13:37 | Accepted. Clicking through found what testing the parts did not. check-in: 111491a3a9 user: dmestas tags: trunk | |
| 13:37 |
ops: the path actually requested, and two broken links
Recent renders showed the route pattern, so a dozen rows all read GET /r/{repo}/timeline and none could say which repository was slow. The URL is now recorded and shown, with the route beside it as the link to its drilldown. Two bugs found by clicking through rather than by testing the parts: queryesc double-encoded every URL it touched, because html/template already escapes a value in query context. The routes panel linked to its own drilldown with %252F for a slash, so every link 500'd. Six call sites, all wrong; the function is gone. The days control I added with the trend forwarded an empty parameter, and a numeric field with a default takes it when the key is MISSING and refuses when it is present and empty. Routes panel gains a filter and a sort; renders gain a deeper-history page reading the store rather than the ring. closed check-in: 2d033f106e user: dmestas tags: ops-paths | |
| 11:24 | Accepted. The link was in the DAG the whole time, and the history is finally being read. check-in: 23cec0f0fd user: dmestas tags: trunk | |
| 11:24 |
ops: read the history back — a route across days
The store recorded renders and nothing read them. The panels are one process's memory, so the page could say how fast a route is now and never whether it is worse than it was — which is the question after a deploy. The drilldown gains a per-day table from the store: p50, p95, max. Nearest-rank percentiles, matching how the snapshot computes them, so two numbers on one page both called p95 agree. Empty for no traffic and empty for history-off are different answers and the page gives the right one. closed check-in: a0fa952495 user: dmestas tags: landing-merge | |
| 09:37 | Accepted. The panel found something real, and the two things it could not say about itself are now things it says. check-in: 13cb36d2e5 user: dmestas tags: trunk | |
|
2026-08-25
| ||
| 22:19 |
Analytics: say whether history is being kept, and stop keeping it for ever
The live panels read in-memory rings, so a forge whose store failed to open looked exactly like a healthy one. Sink.Err() existed and nothing asked it. The page now distinguishes three states: off, broken, and recording to a named path. Retention was 'append for ever', which is a default nobody was asked about. --analytics-keep sets the window, 14d by default, 0 keeps everything. Pruned at startup and daily. check-in: e2b74749b4 user: dmestas tags: fleet-census | |
| 21:08 | Accepted. History, with the cgo cost taken knowingly and the wasm path verified intact. check-in: 61c32a8057 user: dmestas tags: trunk | |
| 19:24 |
ops: history, not just a snapshot
The rings die with the process, and this fleet restarts constantly — a 4.24s render and a 546 load average both left no trace. obs.Sink had one implementation and it did nothing; this is the durable one. DuckDB because the workload is columnar: append-only, time-ordered, aggregate-queried, never point-looked-up by a page. RFC 0001 defers the lake to 'when hydration and analytics — the things columnar is for — exist', and reserves the operational surface for SQLite. This is that analytics workload, not a second operational store. Wide flat tables, no keys and no indexes, which is also what a Parquet COPY TO wants when the lake arrives. Isolated behind a build constraint, in its own package, imported only by the composition root. Both halves of the reason were measured rather than assumed: CGO_ENABLED=0 fails on go-duckdb's bindings, and GOOS=js reports 'build constraints exclude all Go files'. Leaving the import off the request path is not enough — any reachable import breaks a wasm build — so cmd/quarry has two files, one per side of the tag. Verified: GOOS=js GOARCH=wasm builds cmd/quarry clean at 76MB, without DuckDB. Buffered, never a write per request, and flushed on a timer so a quiet forge still lands rows rather than holding them in memory for days. Failure is not fatal. The first run failed on 'at' being reserved in DuckDB; the server started anyway, the panels worked, and the log said what was wrong. Analytics is derived data about a forge that works without it. Costs, measured: +462MB module cache, binary 57MB -> 104MB, cold build +10s, and CGO_ENABLED=0 no longer builds the server. closed check-in: 564f272d3c user: dmestas tags: ops-history | |