Skip to content

build(deps): dbos-transact 1.2.0, kin-openapi 0.147.0, sqlite 1.57.0 (supersedes #412) - #417

Merged
alicoding merged 1 commit into
mainfrom
deps-go-group-dbos-quantization
Aug 25, 2026
Merged

build(deps): dbos-transact 1.2.0, kin-openapi 0.147.0, sqlite 1.57.0 (supersedes #412)#417
alicoding merged 1 commit into
mainfrom
deps-go-group-dbos-quantization

Conversation

@alicoding

Copy link
Copy Markdown
Owner

Summary

  • Takes three of Dependabot chore(deps): bump the go-dependencies group with 4 updates #412's four bumps: dbos-transact-golang 1.1.0 → 1.2.0, kin-openapi 0.146.0 → 0.147.0, modernc.org/sqlite 1.56.0 → 1.57.0.
  • Holds go-get-proxied at 1.4.0: v1.4.1 raises its go directive to 1.26, which drags this module's directive past CI's pinned go-version '1.25' (GOTOOLCHAIN=local) and fails every Go job at package load — that was the whole of chore(deps): bump the go-dependencies group with 4 updates #412's red CI. A dependabot.yml ignore names the lift condition: CI's Go moving to 1.26.
  • Fixes the one real DBOS 1.2.0 incompatibility: sysdb stores created_at rounded to the nearest millisecond but completed_at truncated, so a sub-millisecond run can read as completing 1ms before it started. 1.2.0's faster completion timing made this common (~1 in 20 locally). runDuration treated any negative span as clock skew and silently dropped the run from Home's AvgDuration; it now accepts up to 1ms negative span, clamped to zero, with the boundary pinned in the table test (1ms valid, 2ms invalid).

Testing

  • go test ./... green; golangci-lint clean on default and -tags server.
  • TestHomeMetrics_AvgDurationAndLastTriggeredAt_WiredFromRealRuns green at -count=25 under DBOS 1.2.0 (failed ~1/20 before the fix).
  • Lefthook pre-commit suite green.

🤖 Generated with Claude Code

https://claude.ai/code/session_012im1JxQQV2ahnXzZDdVmZq

… run-duration guard tolerates DBOS ms quantization

Supersedes Dependabot #412, which failed CI on two independent axes:

1. go-get-proxied v1.4.1 raises its go directive to 1.26, dragging this
   module's directive past CI's pinned go-version '1.25'
   (GOTOOLCHAIN=local) and failing every Go job at package load. Held
   at v1.4.0 with a dependabot.yml ignore naming the lift condition
   (CI's Go moving to 1.26); the other three bumps keep go 1.25.7.

2. DBOS 1.2.0's faster completion timing exposes a storage-quantization
   artifact: sysdb stores created_at rounded to the nearest millisecond
   but completed_at truncated, so a sub-millisecond run can read as
   completing 1ms before it started. Mill's runDuration treated any
   negative span as clock skew and dropped the run from AvgDuration
   (SampleSize undercounted, ~1 in 20 locally at -count=20).
   runDuration now accepts up to 1ms negative span, clamped to zero,
   with the boundary pinned in TestRunDuration's table (1ms valid,
   2ms invalid).

go test ./... green; golangci-lint clean on both tag sets;
TestHomeMetrics_AvgDurationAndLastTriggeredAt_WiredFromRealRuns green
at -count=25 under DBOS 1.2.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012im1JxQQV2ahnXzZDdVmZq
@alicoding
alicoding enabled auto-merge (squash) August 24, 2026 23:56
@alicoding
alicoding merged commit 2d33862 into main Aug 25, 2026
46 of 48 checks passed
@alicoding
alicoding deleted the deps-go-group-dbos-quantization branch August 25, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant