Skip to content

SQS receivers, settlement, health and LocalStack conformance #224

Closed

Description

@thomhurst

Implement the receive portion of #39 on top of the SQS sending foundation.

Scope: native long polling, standard/FIFO queue consumption, pooled receive binding and typed native features, visibility-timeout retry within the original twelve-hour deadline, native deletion only after durable handling, poison-message dead-letter copy then delete with failure metadata, redrive-policy validation, cancellation/drain/recovery, and outbox fallback for unsupported scheduling. Use aws_sqs telemetry with aws.sqs.queue.url, aws.request_id, and delete settle spans.

Acceptance: pass the transport conformance suite against LocalStack; unit and integration coverage for FIFO ordering, retries, poison messages, drain and reconnect; relevant MemoryDiagnoser benchmarks and website/status updates. Own receive/binding/settlement files and conformance fixtures.

Receiver-owned health (consolidated from #226)

Register the optional health contracts from #85/#98 under the exact named transport key. Use native read-only connectivity calls and receiver-owned consumer liveness, report the oldest active worker, and preserve idle-versus-stalled semantics. Never publish probe messages. Include LocalStack healthy, disconnected, idle and stalled coverage, named registration and oldest-worker unit tests, and website documentation.

#226 is superseded by this single receiver/settlement/health deliverable. This removes the #226 -> #224 -> #223 chain; #224 depends directly on the sending foundation #223. The maintainer approved the native-string conversion boundary in D52 (76402e0); that decision is complete. #223/#229 have merged. Draft #465 implements this receiver integration on the native sending foundation. D67 records the immutable-attribute history boundary of native visibility retries; no performance budget is relaxed.

Activity

  1. added
    phase-3: breadth
    area: transport
    P3
    on Nov 2, 2026
  2. changed the title [-]SQS receiver, settlement and LocalStack conformance[/-] [+]SQS receivers, settlement, health and LocalStack conformance[/+] on Nov 6, 2026
  3. thomhurst commented on Nov 6, 2026

    @thomhurst
    OwnerAuthor

    Rechecked the prerequisite under this issue's lock. #223 remains open and its explicit D18 maintainer decision is unresolved; draft #229 has not shipped. No upstream release, review verdict or completed prerequisite removes that decision. This issue retains its direct native blocked-by relationship to #223 and has no unnecessary on-hold label. Independent correctness work on the foundation is being delivered in #229.

  4. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Updated the stale unresolved-decision sentence: the maintainer approved D52 (76402e0). The native blocked_by #223 relationship still represents unmerged sending code in #229, rather than a pending human decision. Receiver/settlement/health/conformance scope is unchanged.

  5. added
    in-progress
    on Nov 10, 2026
  6. self-assigned this
    on Nov 10, 2026
  7. thomhurst commented on Nov 10, 2026

    @thomhurst
    OwnerAuthor

    Claimed and implemented on issue-224-sqs-receiver after verifying #223/#229 shipped. Native-source review of AWSSDK.SQS 4.0.100.25 confirms that invisible FIFO groups enforce ordering and visibility changes cannot update attributes or restart the receive's twelve-hour ceiling. The implementation uses those calls with the existing receive/failure pipelines rather than adding a group dispatcher or retry-history cache.

    D67 records the resulting history boundary: the native receive count terminates visibility retry budgets; the final copy preserves previously stored history plus the current delivery's in-process failures. Earlier visibility-delivery exceptions are unavailable from SQS. The website documents this behavior and the original receive deadline explicitly. No performance budget is relaxed.

    Standard/FIFO LocalStack production tests cover metadata-preserving poison copy then delete, native retry counts, binary/typed attribute preservation, idle/stalled health and drain. LocalStack conformance covers all supported native scenarios. Draft #465 contains the implementation. Its final body records validation and retained evidence; both head-bound reviews are required before promotion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3area: transportin-progressphase-3: breadth

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions