Skip to content

Take three dependabot bumps, let SQLite writers wait for the lock, and say where the work stands after #214 - #218

Merged
lumenpearson merged 10 commits into
mainfrom
ccr-b537fbdd-oi5djs
Oct 2, 2026
Merged

lumenpearson merged 10 commits into
mainfrom
ccr-b537fbdd-oi5djs

Conversation

@lumenpearson

@lumenpearson lumenpearson commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Description

Continues from where #214's local session stopped.

Closes #212

What is affected

  • server/app — db.py (SQLite connect args)
  • android/ — libs.versions.toml and the Gradle wrapper (dependabot's)
  • docs/, README.md

Boundaries

  • app/schedule.py still imports neither FastAPI nor aiogram
  • No model change; the head is still 0017
  • There is no token, class code, password or keystore path in the diff

Verification

cd server && ruff check app tests scripts migrations → All checks passed!
cd server && python -m mypy                          → Success: no issues found in 153 source files
cd server && pytest -q -n auto                       → 2064 passed (Python 3.12, lock installed)
cd android && ./gradlew test                         → BUILD SUCCESSFUL; 1500 tests (125 / 570 / 112 / 123 / 570)
cd android && ./gradlew detekt                       → BUILD SUCCESSFUL
  • ./gradlew assembleDebug
  • ./gradlew assembleRelease
  • Checked on a device or an emulator: no; this was a cloud container
  • The widget checked at two sizes: no

What is NOT covered

Documentation

  • docs/ updated (build.md, architecture.md, history.md)
  • CLAUDE.md updated (test count)
  • README.md updated (test count)

🤖 Generated with Claude Code

https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV

dependabot Bot and others added 8 commits September 27, 2026 18:52
Bumps the androidx group in /android with 3 updates: androidx.core:core-ktx, androidx.navigation:navigation-compose and androidx.work:work-runtime-ktx.


Updates `androidx.core:core-ktx` from 1.19.0 to 1.19.1

Updates `androidx.navigation:navigation-compose` from 2.10.1 to 2.10.2

Updates `androidx.work:work-runtime-ktx` from 2.11.2 to 2.12.0

---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
  dependency-version: 1.19.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: androidx
- dependency-name: androidx.navigation:navigation-compose
  dependency-version: 2.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: androidx
- dependency-name: androidx.work:work-runtime-ktx
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: androidx
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [gradle-wrapper](https://github.com/gradle/gradle) from 9.7.1 to 9.8.0.
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](gradle/gradle@v9.7.1...v9.8.0)

---
updated-dependencies:
- dependency-name: gradle-wrapper
  dependency-version: 9.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [sqlalchemy[asyncio]](https://github.com/sqlalchemy/sqlalchemy) to permit the latest version.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

---
updated-dependencies:
- dependency-name: sqlalchemy[asyncio]
  dependency-version: 2.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…quirements.in

Dependabot's #217 edits requirements.in alone, and test_requirements_mirror.py
holds the two to the same floors character for character. The lock already
pinned 2.1.1 and recompiling it from the new input moves nothing, so this is
the floor catching up with what CI and the deployment have run since #192.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV
The directory limiter's burst test sends a hundred requests at once, each
writing a join_attempts row, and over aiosqlite a transaction keeps the one
write lock across every await between its first write and its commit. A
writer the event loop reaches late waited past the driver's five-second busy
timeout and raised «database is locked», so on a slow Windows checkout the
test failed about one run in two on the lock rather than on the limit.

Reproduced here by cutting the timeout to twenty milliseconds: the test then
fails every time, with the issue's exact error. The new test reads
PRAGMA busy_timeout through the suite's own engine and fails on the old code,
which answers 5000. Production is Postgres and has no such lock; the setting
only reaches SQLite, the development file and the tests.

Not verified: a run on the Windows machine where the failure was seen.

Closes #212

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV
…ings

Dependabot's #216 moved the wrapper; CONTRIBUTING.md and docs/build.md went on
quoting 9.7.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV
@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessons Ready Ready Preview Oct 2, 2026 6:51am UTC

…nto the history

The opening names #214 as merged at eb0ab94 and this pull request as the one
thing open; a section on top describes the three bumps and #212's fix; the
audit batch becomes the session before it, and the widget batch (#189) goes
verbatim to the top of docs/history.md. The server test count moves to 2064 in
README.md, docs/architecture.md, CLAUDE.md and this file's cheat-sheet, and the
milestone tables name #218.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV
@lumenpearson
lumenpearson marked this pull request as ready for review October 2, 2026 06:51
@lumenpearson
lumenpearson merged commit c2f1e94 into main Oct 2, 2026
lumenpearson pushed a commit that referenced this pull request Oct 2, 2026
… the audit batch into the history

The opening names #218 as merged at c2f1e94 and #234 as the one thing open; a
section on top describes the fifteen fixes, their gates and what only the
owner's phone can confirm; #218's batch becomes the session before it, and the
audit batch (#214) goes verbatim to the top of docs/history.md. The test
counts move to 2065 and 1523 in README.md, docs/architecture.md (with its
per-module breakdown), CLAUDE.md and this file's cheat-sheet, and both
milestone tables name #234 and #219–#233.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RjGnZtszhBT53XZM7vabV
lumenpearson pushed a commit that referenced this pull request Oct 2, 2026
…er cannot reach Petersburg's diary

The close-out of #238, riding in with it. The opening names #238 as the
only thing open, as a draft, and says why it is outside the owner's
standing merge authorisation: this session could not install the
Android SDK, so the Android gates ran on CI only. «What the last
session added» is this batch: #235 measured from the production server
(a 503 «upstream» in 5.9 s, the city's network silent to Frankfurt
while federal and commercial Russian hosts answer), #236 closed as a
duplicate of #233, and the developer mode (#237) with what ran here —
detekt-cli over both modules, 27 pure-JVM tests under kotlinc 2.4.20,
three mutations caught — and what did not.

#234's section becomes «the session before it» with its merge,
f2cebbd; the dependabot batch (#218) moves verbatim to the top of
docs/history.md. The milestone table takes #238 and #237 on the ninth
and #235 and #236 on the tenth. Section 5 gains the developer mode and
Petersburg's answer to whether a diary accepts a session replayed from
Frankfurt; section 7 gains #235's decision and the client id the mode
needs. The Android count, 1567, is 1523 plus this batch's 44 and says
so: counted, not run here.

The SHA of this close-out's own merge is for the next one to write.

Refs #235
Refs #237

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F2o3tu6US6wbBg5qLDV94h
@lumenpearson
lumenpearson deleted the ccr-b537fbdd-oi5djs branch October 3, 2026 10:10

This branch was successfully deployed

1 active deployment
Preview — eef48798 Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

test_a_parallel_burst_from_one_address_cannot_pass_the_limit fails at random on Windows with «database is locked»

2 participants