Skip to content

Requests — Server #1202

Done
Done

Description

@zZebrahz

Validate Server for Requests. Parent: [v1] Requests #1201.

Use the parent's Requests acceptance v1 criteria, fixtures and scope decisions. Product criteria: published feature card.

Cases

  • C1: Enforce request limits/permissions and pending/approved/declined/available lifecycle; per-user auto-approval bypasses pending (AC2, AC3).
  • C2: Prevent requests for existing titles, deduplicate requested titles and register followers (AC1).
  • C3: Scan and identify matching content, mark available and notify requester/followers without external service dependency (AC4, AC5).
  • C4: Exercise a request-router test plugin through the supported interface and enforce requests_enabled (AC6, AC7).

Results

Case Server
C1 Passed — maintainer review of agent runtime testing, build 2970 · a16a24720: a request moved pending → approved → available, and a declined request carried its reason to the requester. Approving a declined request and declining one already sent to the router both returned 409. Requesters can cancel their own pending request but not another account's (403), and non-admins can't approve (403). Per-user auto-approval created requests already approved. A custom limit of 2 per 30 days and a global cap of 5 per 7 days each returned 429 on the next request (declined requests refunded, cancelled ones counted), and a blocked account got 403
C2 Passed — maintainer review of agent runtime testing, build 2970 · a16a24720: titles already in the library returned 409 "already available", and a second request for a requested title returned 409 for the requester and for other accounts. Following is idempotent and unfollow returns 204; following without an active request or on a library title returns 409. A declined title can be requested again
C3 Passed — maintainer review of agent runtime testing, build 2970 · a16a24720: with no request integration configured, a scan identified the requested titles and the reconcile pass marked an approved and a still-pending request available. A series stayed partially available until every aired episode of the requested seasons was scanned. The requester and each follower got the fulfilled notification in their inbox; an unrelated account got none
C4 Passed — maintainer review of agent runtime testing, build 2970 · a16a24720: the community request-router plugin (silo.requests.arr 0.1.13) received movie and series requests through request_router.v1, with only the requested seasons monitored. With requests_enabled off, every user request endpoint returned 409 capability_disabled while the admin settings stayed reachable

Builds: server 2970 · a16a24720 (local sandbox; the pinned image was rebuilt from a16a24720's source, and the server reports the export's version id 2495ce76; the verifier checked the binary matches a16a24720 and none of the later commits), API checks. C3 coverage: the reconcile pass was started through the admin task API (the same task its 5-minute interval runs), and only the inbox channel was checked, not push or e-mail. C4 coverage: the router talked to local stand-ins for Radarr and Sonarr, not real services; the first movie requests failed on a gap in the stand-in and succeeded on admin retry after it was fixed. Evidence: https://evidence.siloserver.org/r/silo-server/v1-validation-1202/

Accepted by the maintainer on 2026-11-26 (build 2970 · a16a24720).

References and related work

The parent links the published milestone, recorded source commit, readiness plan and validation ledger. Its existing reports are candidates, not confirmed blockers. Link observed failures to these case IDs and the owning issue; preserve existing relationships and unaffected results.


AI-assisted tracking setup using OpenAI Codex and GitHub CLI, at the maintainer's direction. No runtime validation or human acceptance is claimed.

The 2026-11-26 update, with Claude Code (claude-opus-5-5) and GitHub CLI at the maintainer's direction, records the maintainer's acceptance of the agent runtime results for C1–C4.

Activity

  1. added this to the v1.0 milestone on Sep 19, 2026
  2. added
    v1.0
    on Sep 19, 2026
  3. added theissue type on Sep 19, 2026
  4. added
    triaged
    and removed
    triaged
    on Sep 20, 2026
  5. Rhainland commented on Oct 13, 2026

    @Rhainland
    Contributor

    Validation results for #1202 (local sandbox, synthetic media, TMDB metadata plugin; accounts: an administrator, a requester, a follower, a limited account, a blocked account and an auto-approved account).

    Build: main at d0ea735.

    Case Result
    C1 Pass. Pending → approved or declined → available. Admin approve and decline work, and the decline reason reaches the requester. A per-account custom limit returns 429 once used up; a blocked account gets 403 and allowed: false; an auto-approved account's requests are created approved.
    C2 Pass. An existing movie or series returns 409 "already available"; a second request for an active title returns 409; PUT /api/v2/requests/follows/{media_type}/{tmdb_id} registers the follower.
    C3 Pass. After adding the files and scanning, requests turned available on the next reconcile pass (75 s here; the pass runs every 5 minutes), with no router configured. The requester and every follower got request.fulfilled (followers flagged follower), in the inbox and as pushes to their registered iPhone and Android devices (sent to a local mock relay). A still-pending request whose title arrives goes straight to available.
    C4 Pass. A test request-router plugin uploaded as a community plugin received approved movie and series requests, with the requested seasons, and its download progress showed on the request. With requests off, search, detail, create, list and follow return 409 capability_disabled. Limitation: a router that needs no API key never receives requests; filed as #2380.

    The web inbox told followers "Your requested movie is now available"; fixed in #2379.

  6. Quick104 commented on Nov 25, 2026

    @Quick104
    Contributor

    Proposed results from agent runtime testing: server 2970 · a16a24720 (local sandbox), API checks

    The maintainer asked for this run. One agent tested the cases and a second agent checked the transcripts and captures against the case text and the code. Nothing in the task body, checkboxes or board status was changed.

    Case Server
    C1 Passed: a request moved pending → approved → available, and a declined request carried its reason to the requester. Approving a declined request and declining one already sent to the router both returned 409. Requesters can cancel their own pending request, but not another account's (403), and non-admins can't approve (403). Per-user auto-approval created requests already approved. A custom limit of 2 per 30 days and a global cap of 5 per 7 days each returned 429 on the next request (declined requests refunded, cancelled ones counted), and a blocked account got 403
    C2 Passed: titles already in the library returned 409 "already available", and a second request for a requested title returned 409 for the requester and for other accounts. Following is idempotent and unfollow returns 204; following without an active request or on a library title returns 409. A declined title can be requested again
    C3 Passed: with no request integration configured, a scan identified the requested titles and the reconcile pass marked an approved and a still-pending request available. A series stayed partially available until every aired episode of the requested seasons was scanned. The requester and each follower got the fulfilled notification in their inbox; an unrelated account got none
    C4 Passed: the community request-router plugin (silo.requests.arr 0.1.13) received movie and series requests through request_router.v1, with only the requested seasons monitored. With requests_enabled off, every user request endpoint returned 409 capability_disabled while the admin settings stayed reachable
    • C3 coverage: the reconcile pass was started through the admin task API (the same task its 5-minute interval runs), and only the inbox channel was checked, not push or e-mail.
    • C4 coverage: the router talked to local stand-ins for Radarr and Sonarr, not real services. The first movie requests failed on a gap in the stand-in and succeeded on admin retry after it was fixed.
    • Build: the pinned sandbox image was rebuilt from a16a24720's source for this run; the server reports the export's version id 2495ce76. The verifier checked that the server binary matches a16a24720 and none of the later commits.
    • Evidence: https://evidence.siloserver.org/r/silo-server/v1-validation-1202/

    Posted with Claude Code (claude-sonnet-5-5 testing, claude-opus-5-5 verification) and GitHub CLI at the maintainer's direction. These are proposed results only; no human acceptance is claimed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Validationv1.0

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions