WIP: Serve source-qualified clocks and cancellable public deadlines #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/timed!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Serve source-qualified monotonic/UTC snapshots and cancellable absolute deadlines on Timed's existing public endpoint. Original owned requests retain independent delivery and result custody while ordinary queries and private RTC input continue. Deployment-counted mapped rows and one earliest native timer replace a source-coded waiter limit; explicit legacy watches and atomic activity waiting avoid an idle polling loop.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
The existing public RECV, separate private RTC RECV and dedicated Time SEND bindings remain the authority boundary. Public deadlines carry no capabilities. Request IDs and timestamps confer no cancellation authority; cancellation uses the caller's original native invocation. Exact framing and reserved bits, genuine elapsed time, source failure, count exhaustion and original cleanup remain distinct. Timed cancels an original earliest timer before replacement and retains every uncertain timer/result owner for terminal process teardown. Partial watch/receiver admission exits before another blocking startup reply.
The only new unsafe storage boundary borrows the compiler-described, producer-provisioned signed arena once. Checked extent/alignment and initialized exclusive rows justify the typed slice; padding adds no capacity and the terminal stack stays above the arena. Both actual legacy receivers are watched before Ready. Observe-before-inspect-before-wait closes arrival/arm races, while retained per-route replies permit fair backpressure progress. Existing snapshot and private RTC layouts remain compatible; long deadlines use the new owned operation. The service scans admitted rows per turn and maintains one earliest native timer. No measured speedup is asserted.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
Execute formatting/strict Clippy/warning-denied build and test gates.
Execute supported configurations, documentation and VM regression gates.
Measure equivalent-input performance and complete guest rebuild evidence.
Original implementation and explicitly pinned internal dependencies.
Signed commits with canonical tagged titles and explanatory bodies.
Inline ownership documentation, missing_docs roots and code below 1,000 lines.
README, architecture, roadmap, focused contracts and manual sources maintained.
Original cancellation and terminal uncertainty retain accounted native custody.
Complete broader phase acceptance; this review remains WIP and unmerged.
This review remains WIP until its declared scope and dependent requirements are complete.
erikinkinen referenced this pull request from erix/docs2026-10-02 10:22:20 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 10:22:21 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-02 10:22:22 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-10-02 13:23:36 +02:00
WIP: Align signed runtime dependenciesto WIP: Serve source-qualified clocks and cancellable public deadlinesThis source is now split into feature PRs, starting at #6 and ending at #11. Each PR links its prerequisite. The complete stack preserves the runtime changes and dependency declarations; obsolete pin checkpoints and documented source-acquisition differences are separated from feature behavior.
Closing this aggregate without merging. The replacement PRs remain WIP for their remaining integration and review.
Pull request closed