Skip to content

Bound notification work and protect installed v1 clients - #789

Merged
lumenpearson merged 2 commits into
devfrom
work/issue-maintenance-20261130
Nov 29, 2026
Merged

lumenpearson merged 2 commits into
devfrom
work/issue-maintenance-20261130

Conversation

@lumenpearson

Copy link
Copy Markdown
Owner

Description

Bound post-commit Telegram work and protect installed clients through rollout. The batch also records the hosting and data-residency options available to an operator.

Closes #371
Closes #378
Closes #412
Closes #421
Closes #435
Closes #638
Closes #642
Closes #648
Closes #764
Closes #765

What is affected

  • Server API, RPC, reminders, SQLite transaction recovery and NetSchool diagnostics
  • Android audit sheet, device linking and NetSchool provider mapping
  • V1 OpenAPI compatibility, migration policy, CI and agent documentation
  • Deployment design and test-report counts

Boundaries

  • Post-commit effects have a bounded send and cleanup budget. The tick leaves later reminders due if its phase expires.
  • A failed SQLite commit is rolled back before releasing the connection. Cleanup invalidates a connection if it cannot be made safe to reuse.
  • NetSchool accepts both supported address keys. Proxy diagnostics identify a refused tunnel without copying upstream credentials.
  • Reopened audit sheets reject previous-page results. Link-code reconciliation stays scoped to the same device and makes one GetMe read.
  • The residency design compares operator choices, cutover fences, backup placement and required checks. Its delivery is the design document.

Compatibility and rollout

The stored v1 snapshot matches the application schema. The PR comparison covers existing operations, request constraints and documented response fields. The migration guard requires new revisions to declare their rollout side and describe destructive changes. This batch ships no Alembic revision.

Verification

ruff check app tests scripts migrations                 All checks passed
python -m mypy                                           Success, 242 source files
pytest -q -n auto                                        3909 passed, 17 skipped, 15 warnings in 1066.11s
./gradlew test                                           2246 unique JVM cases in six modules
./gradlew assembleDebug assembleRelease detekt           BUILD SUCCESSFUL in 10m 27s
Completed-report comparisons                             Server 3926, Android 2246, all modules matched
Final documentation and reference guards                 2 passed

The first Android attempt exposed Room journal paths too long for Windows. The complete retry used a shorter test-only scratch path. The full server report used SSD scratch and Git for Windows Bash for shell fixtures. Independent review covered the composed source and verified the final request-constraint and migration-constraint corrections.

What holds it

  • Hung post-commit and tick send tests, plus the SQLite reused-connection regression
  • Shared NetSchool protocol fixture and the proxy-refusal diagnostic case
  • Stored OpenAPI snapshot freshness and compatibility comparisons
  • Migration classifier cases for inline check constraints, inferred foreign keys and implicit Boolean constraints
  • Audit visit ownership and concurrent link-code reconciliation tests
  • Report counts and current documentation references

What is NOT covered

Production and installed-device evidence are recorded after integration. The new v1 comparison covers schema-constrained fields. Generic health and warmup objects have limited field-level schema coverage. The residency design leaves each deployment's provider setup and cutover to its operator.

Documentation

Updated the current test declarations, HANDOVER, deployment guides and the agent reference. Archived the prior agent guidance with its incident history. Added the residency options design and index link.

Prepared with Codex.

@vercel

vercel Bot commented Nov 29, 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 Nov 29, 2026 9:37pm UTC

@lumenpearson
lumenpearson marked this pull request as ready for review November 29, 2026 21:51
@lumenpearson
lumenpearson merged commit cdb4931 into dev Nov 29, 2026
11 checks passed
@lumenpearson
lumenpearson deleted the work/issue-maintenance-20261130 branch November 29, 2026 21:51
@github-project-automation github-project-automation Bot moved this from Now to Done in lessons Nov 29, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T21:52:20.722905Z 2d43462 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch was successfully deployed

1 active deployment
Preview — 2d434622 Deployed Nov 29, 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.

1 participant