[BUG] Local readiness retains descriptor keys after subscription separation #36

Closed
opened 2026-10-02 23:57:34 +02:00 by erikinkinen · 0 comments
Owner

Summary

Local readiness still accepts a descriptor occupation key after subscriptions moved to their own counted pool. The source types disagree at the call to Table::watched, preventing compilation of that path.

Reproduction

Inspect Posixd revision 39e474937b4c4e43261f63065fae489b85e38a9b: src/realm_io/channel/readiness.rs declares local_readiness with DescriptorKey, while src/descriptors/readiness.rs requires ReadinessKey in watched. The readiness observer also passes its fd occupation instead of the original subscription key. Existing duplex socket controls already supply the new subscription key.

This is a direct source-type mismatch. No compiler, test or CI execution was performed for this report; there is no reproduced diagnostic or exit status.

Expected and actual behavior

Expected: local observation and cleanup select the original subscription with its complete pool generation, independently of fd close or reuse.

Actual: the remaining descriptor-key signature cannot compose with the subscription lookup. The observer also repeats a current-fd lookup despite already retaining the original subscription.

Environment and identity

  • Component repository/revision and Integration source graph: Posixd 39e474937b4c4e43261f63065fae489b85e38a9b, Integration b747455b2ce35911b69dfda4299ecc9300994564.
  • Image profile, digest and build/runtime configuration: no image built; source review only.
  • Hardware or VM, architecture, firmware and toolchain versions: no execution; the mismatch is between Rust parameter types.
  • Input/session route and granted authority relevant to reproduction: internal admitted readiness subscription; no added native grant.
  • Last known working revision, if known: not established by execution.

Evidence and prior checks

The declarations and callers above provide source evidence. Repair all local observations to carry the original subscription key; retain a counted description through fd close/reuse. Author controls for independently retained sources, close/replacement, final queue disposal and uncertain native cleanup. Execution remains deferred by the current workflow instruction.

The source repair is signed in Posixd 12177355. Local observation now carries the original ReadinessKey; the observer no longer resolves a potentially reused current fd. The revised close/reuse control and five new lifetime controls are authored and unrun. This report is resolved at source level under the execution waiver; compiler, unit and VM execution remain deferred.

Tracking

Owning socket/concurrent-call work: #34. Coordinated implementation: #5. Phase completion: erix/integration#65.

Signed current revision: 12177355.

## Summary Local readiness still accepts a descriptor occupation key after subscriptions moved to their own counted pool. The source types disagree at the call to `Table::watched`, preventing compilation of that path. ## Reproduction Inspect Posixd revision `39e474937b4c4e43261f63065fae489b85e38a9b`: `src/realm_io/channel/readiness.rs` declares `local_readiness` with `DescriptorKey`, while `src/descriptors/readiness.rs` requires `ReadinessKey` in `watched`. The readiness observer also passes its fd occupation instead of the original subscription key. Existing duplex socket controls already supply the new subscription key. This is a direct source-type mismatch. No compiler, test or CI execution was performed for this report; there is no reproduced diagnostic or exit status. ## Expected and actual behavior Expected: local observation and cleanup select the original subscription with its complete pool generation, independently of fd close or reuse. Actual: the remaining descriptor-key signature cannot compose with the subscription lookup. The observer also repeats a current-fd lookup despite already retaining the original subscription. ## Environment and identity - Component repository/revision and Integration source graph: Posixd `39e474937b4c4e43261f63065fae489b85e38a9b`, Integration `b747455b2ce35911b69dfda4299ecc9300994564`. - Image profile, digest and build/runtime configuration: no image built; source review only. - Hardware or VM, architecture, firmware and toolchain versions: no execution; the mismatch is between Rust parameter types. - Input/session route and granted authority relevant to reproduction: internal admitted readiness subscription; no added native grant. - Last known working revision, if known: not established by execution. ## Evidence and prior checks The declarations and callers above provide source evidence. Repair all local observations to carry the original subscription key; retain a counted description through fd close/reuse. Author controls for independently retained sources, close/replacement, final queue disposal and uncertain native cleanup. Execution remains deferred by the current workflow instruction. The source repair is signed in [Posixd 12177355](https://git.erikinkinen.fi/erix/posixd/commit/12177355852349b4ddcf4f856e6c83f06c025873). Local observation now carries the original `ReadinessKey`; the observer no longer resolves a potentially reused current fd. The revised close/reuse control and five new lifetime controls are authored and unrun. This report is resolved at source level under the execution waiver; compiler, unit and VM execution remain deferred. ## Tracking Owning socket/concurrent-call work: https://git.erikinkinen.fi/erix/posixd/issues/34. Coordinated implementation: https://git.erikinkinen.fi/erix/posixd/pulls/5. Phase completion: https://git.erikinkinen.fi/erix/integration/issues/65. Signed current revision: [12177355](https://git.erikinkinen.fi/erix/posixd/commit/12177355852349b4ddcf4f856e6c83f06c025873).
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:35:08 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/posixd#36
No description provided.