serve-runner 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- serve_runner-1.0.0/CHANGELOG.md +83 -0
- serve_runner-1.0.0/IMPLEMENTATION_PLAN.md +557 -0
- serve_runner-1.0.0/LICENSE +21 -0
- serve_runner-1.0.0/PKG-INFO +49 -0
- serve_runner-1.0.0/README.md +35 -0
- serve_runner-1.0.0/SECURITY.md +7 -0
- serve_runner-1.0.0/docs/README.md +82 -0
- serve_runner-1.0.0/docs/connectivity.md +106 -0
- serve_runner-1.0.0/docs/development.md +28 -0
- serve_runner-1.0.0/docs/health.md +61 -0
- serve_runner-1.0.0/docs/ipc.md +40 -0
- serve_runner-1.0.0/docs/jobs.md +77 -0
- serve_runner-1.0.0/docs/operations.md +95 -0
- serve_runner-1.0.0/docs/prettynb-staging.md +37 -0
- serve_runner-1.0.0/docs/qualification-v0.1.md +29 -0
- serve_runner-1.0.0/docs/resources-and-recovery.md +55 -0
- serve_runner-1.0.0/docs/restoration.md +43 -0
- serve_runner-1.0.0/docs/scheduling.md +75 -0
- serve_runner-1.0.0/docs/stability.md +51 -0
- serve_runner-1.0.0/docs/workers.md +49 -0
- serve_runner-1.0.0/pyproject.toml +56 -0
- serve_runner-1.0.0/pyproject.toml.orig +37 -0
- serve_runner-1.0.0/scripts/build_ingress.py +40 -0
- serve_runner-1.0.0/scripts/check_distributions.py +49 -0
- serve_runner-1.0.0/scripts/crash_profile.py +234 -0
- serve_runner-1.0.0/scripts/qualify_connectivity.py +165 -0
- serve_runner-1.0.0/scripts/qualify_jobs.py +89 -0
- serve_runner-1.0.0/scripts/qualify_operations.py +64 -0
- serve_runner-1.0.0/scripts/qualify_prettynb.py +168 -0
- serve_runner-1.0.0/scripts/qualify_relay.py +201 -0
- serve_runner-1.0.0/scripts/qualify_restoration.py +218 -0
- serve_runner-1.0.0/scripts/qualify_workers.py +194 -0
- serve_runner-1.0.0/scripts/smoke_installed.py +94 -0
- serve_runner-1.0.0/src/serve_runner/__init__.py +38 -0
- serve_runner-1.0.0/src/serve_runner/__main__.py +3 -0
- serve_runner-1.0.0/src/serve_runner/_exec.py +24 -0
- serve_runner-1.0.0/src/serve_runner/cli.py +74 -0
- serve_runner-1.0.0/src/serve_runner/config.py +44 -0
- serve_runner-1.0.0/src/serve_runner/connectivity.py +119 -0
- serve_runner-1.0.0/src/serve_runner/control.py +186 -0
- serve_runner-1.0.0/src/serve_runner/health.py +88 -0
- serve_runner-1.0.0/src/serve_runner/ipc.py +447 -0
- serve_runner-1.0.0/src/serve_runner/job_execution.py +87 -0
- serve_runner-1.0.0/src/serve_runner/job_workers.py +250 -0
- serve_runner-1.0.0/src/serve_runner/jobs.py +427 -0
- serve_runner-1.0.0/src/serve_runner/listeners.py +123 -0
- serve_runner-1.0.0/src/serve_runner/models.py +160 -0
- serve_runner-1.0.0/src/serve_runner/operations.py +165 -0
- serve_runner-1.0.0/src/serve_runner/pool.py +235 -0
- serve_runner-1.0.0/src/serve_runner/resources.py +88 -0
- serve_runner-1.0.0/src/serve_runner/runtime.py +119 -0
- serve_runner-1.0.0/src/serve_runner/scheduling.py +189 -0
- serve_runner-1.0.0/src/serve_runner/secret_files.py +46 -0
- serve_runner-1.0.0/src/serve_runner/supervisor.py +319 -0
- serve_runner-1.0.0/src/serve_runner/systemd.py +42 -0
- serve_runner-1.0.0/src/serve_runner/workers.py +173 -0
- serve_runner-1.0.0/tests/contracts/public-api-v1.json +1210 -0
- serve_runner-1.0.0/tests/control_worker.py +33 -0
- serve_runner-1.0.0/tests/job_crash_worker.py +31 -0
- serve_runner-1.0.0/tests/test_connectivity.py +139 -0
- serve_runner-1.0.0/tests/test_contracts.py +67 -0
- serve_runner-1.0.0/tests/test_deployment.py +103 -0
- serve_runner-1.0.0/tests/test_handoff.py +195 -0
- serve_runner-1.0.0/tests/test_health.py +183 -0
- serve_runner-1.0.0/tests/test_ipc.py +191 -0
- serve_runner-1.0.0/tests/test_job_workers.py +143 -0
- serve_runner-1.0.0/tests/test_jobs.py +414 -0
- serve_runner-1.0.0/tests/test_operations.py +162 -0
- serve_runner-1.0.0/tests/test_public_api.py +57 -0
- serve_runner-1.0.0/tests/test_resources.py +97 -0
- serve_runner-1.0.0/tests/test_restoration.py +21 -0
- serve_runner-1.0.0/tests/test_scheduling.py +136 -0
- serve_runner-1.0.0/tests/test_supervisor.py +163 -0
- serve_runner-1.0.0/tests/test_worker_profile.py +91 -0
- serve_runner-1.0.0/tests/test_workers.py +204 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Release notes
|
|
2
|
+
|
|
3
|
+
## 1.0.0 — 2026-12-03
|
|
4
|
+
|
|
5
|
+
First stable release of the documented core API and compatibility policy. CPython 3.14 on Linux/macOS is the qualified platform matrix; base runtime dependencies remain empty. All changes below are included in this release.
|
|
6
|
+
|
|
7
|
+
### First-party relay recovery
|
|
8
|
+
|
|
9
|
+
- Installed optional relay supervision with private current-PID readiness and fresh heartbeats, finite crash/restart exercise and independent signaling availability.
|
|
10
|
+
- Linux/macOS recovery receipts retain source/settings/outcomes while base runtime dependencies remain empty.
|
|
11
|
+
|
|
12
|
+
### Optional connectivity
|
|
13
|
+
|
|
14
|
+
- Independently owned worker endpoints and opt-in capability checks with finite deadlines and fixed diagnostics.
|
|
15
|
+
- Pinned installed browser-signaling topology with independent scaling/restart, affinity guidance and process/receipt cleanup.
|
|
16
|
+
- Explicit relay infrastructure boundary; base runtime dependencies remain empty.
|
|
17
|
+
|
|
18
|
+
### Core stable contract
|
|
19
|
+
|
|
20
|
+
- Versioned public constructor/method/dataclass/enum and coroutine contract checks from source and installed artifacts.
|
|
21
|
+
- Compatibility/deprecation, private security reporting and explicit platform/lifecycle/IPC/job/recovery guarantees.
|
|
22
|
+
- Stable qualification review of installation, crash/soak, handoff, restoration and application rollback receipts.
|
|
23
|
+
|
|
24
|
+
### Restoration and rollback
|
|
25
|
+
|
|
26
|
+
- Installed prior/candidate artifact rehearsal with real process death during an upgrade transaction.
|
|
27
|
+
- Clean coordinated snapshot restore, lease/terminal-state reconciliation, schedule cursor preservation and application-owned effect idempotency.
|
|
28
|
+
- Recoverable deployment guidance and Linux/macOS restoration receipts with artifact hashes.
|
|
29
|
+
|
|
30
|
+
### Deployment controls
|
|
31
|
+
|
|
32
|
+
- Authenticated bounded local status/inspect/scale/reload/logs/stop with protected runtime directories and secret-file references.
|
|
33
|
+
- Reviewable systemd/nginx profiles, doctor checks and CLI pool/socket-activation composition with signal and path cleanup.
|
|
34
|
+
|
|
35
|
+
### Scheduled workers
|
|
36
|
+
|
|
37
|
+
- Transactional schedule cursors and durable materialization with explicit UTC/DST, missed-run and overlap policies.
|
|
38
|
+
- Bounded queue/scheduler workers, automatic lease renewal and fixed-command process handlers with cancellation and output caps.
|
|
39
|
+
|
|
40
|
+
### Handoff qualification correction
|
|
41
|
+
|
|
42
|
+
- Count completed read-only probes separately from bounded pre-response connection retries during worker retirement.
|
|
43
|
+
- Reject partial/error responses and unexpected worker identities; retain independent workflow evidence after unrelated qualification failures.
|
|
44
|
+
|
|
45
|
+
### Durable jobs
|
|
46
|
+
|
|
47
|
+
- Replaceable persistent queue and private SQLite WAL implementation with atomic claims, lease fencing, retries, cancellation and bounded opaque checkpoints.
|
|
48
|
+
- Submission idempotency, explicit terminal retention, consistent backup/reopen and crash-window qualification.
|
|
49
|
+
- Single-attempt execution and injected optional Function Sequence composition preserving caller-owned workflow recovery policy.
|
|
50
|
+
|
|
51
|
+
### Resource and crash qualification
|
|
52
|
+
|
|
53
|
+
- Opt-in child process descriptor/CPU/file/address-space ceilings with inherited-limit protection and redacted setup failures.
|
|
54
|
+
- Explicitly scoped resource observations and reproducible worker/supervisor death, enclosing-owner cleanup and recovery/soak receipts.
|
|
55
|
+
|
|
56
|
+
### Application topology
|
|
57
|
+
|
|
58
|
+
- Pinned installed Pretty Notebook profile across four supervised workers and private nginx/local IPC.
|
|
59
|
+
- Actual shared-state/conflict checks, rolling traffic, restart, complete stopped-state backup/restore and prior-stack rollback on Linux/macOS.
|
|
60
|
+
|
|
61
|
+
### Worker pools
|
|
62
|
+
|
|
63
|
+
- Parent-owned TCP/Unix/activated listeners with explicit descriptor inheritance and cleanup.
|
|
64
|
+
- Async, injected ASGI and command workers with health-gated scaling, rolling replacement and failed-warmup rollback.
|
|
65
|
+
- Optional readiness/watchdog notifications and real ASGI traffic qualification across async/process workers.
|
|
66
|
+
|
|
67
|
+
### Local IPC
|
|
68
|
+
|
|
69
|
+
- Private owned Unix endpoints, per-peer credentials, versioned bounded pub/sub and explicit delivery/reconnection behavior.
|
|
70
|
+
- Cancellation-safe transport cleanup, output/client backpressure and a structural gateway transport seam.
|
|
71
|
+
|
|
72
|
+
### Health recovery
|
|
73
|
+
|
|
74
|
+
- Injectable bounded probes, TCP/worker-heartbeat health, explicit application-readiness gates and progress snapshots.
|
|
75
|
+
- Threshold/grace recovery, capped jitter and stable-window budgets preserve lifetime restart counts.
|
|
76
|
+
|
|
77
|
+
### Package foundations
|
|
78
|
+
|
|
79
|
+
- Standalone Python >=3.14 package with no external runtime dependencies.
|
|
80
|
+
- Documented literal subprocess execution, finite restarts, signals, reaping, partial startup and process-group cleanup.
|
|
81
|
+
- Locked build, Linux/macOS checks, isolated wheel/source execution and OIDC publishing workflow.
|
|
82
|
+
|
|
83
|
+
Qualification receipts cover their declared workloads and durations. See the [stable core contract](docs/stability.md) for supported guarantees and limits. Production deployment requires its own application-specific verification and authorization.
|