Skip to content

Lock SDK parameter order so reorders fail CI #14470

Closed

Description

@ChiragAgg5k

Tracks PR #14469.

Plan

Goal: Fail CI when an API param reorder would silently shift positional arguments in the next SDK release, so regressions like #14423 / #14467 are caught before ship.

What changes:

  • appwrite/appwrite#14469 adds:
    • app/config/sdks/parameters.lock.json — locked SDK method param order per platform (client/server/console), seeded from main and checked against released node 29.3.1 / web 28.3.0
    • tests/unit/SDK/ParametersTest.php — loads every documented route, mirrors generator ordering (path/query before body, required first), and asserts against the lock (reorder/remove fails; new param ahead of locked ones fails; new method or appended param fails until the lock is updated)

Remaining steps: Linked PR is the full change.

Done when:

Activity

  1. self-assigned this
    on Oct 14, 2026
  2. added
    product / console
    product / databases
    product / sites
    sdk / cli
    on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

product / consoleproduct / databasesproduct / sitessdk / cli

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions