Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
description: "Appwrite version to generate specs for"
required: true
options:
- "2.0.x"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shipwright · HIGH

The workflow input options and the SDKs task validation list are updated independently.

Impact: The workflow input options and the SDKs task validation list are updated independently. If a future version is added to one location but not the other, the workflow will offer a choice that the task rejects with 'Unknown version given', or the task will accept a version that cannot be selected in the UI. These two lists are now duplicated state with no shared source of truth.

Suggested fix: Review the cited evidence, fix the risk if confirmed, and rerun Shipwright.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shipwright · LOW

The version lists are hardcoded in two separate files with no comment or test linking them.

Impact: The version lists are hardcoded in two separate files with no comment or test linking them. A new contributor adding 2.1.x would not know both locations must be updated, and there is no automated check to catch drift.

Suggested fix: Review the cited evidence, fix the risk if confirmed, and rerun Shipwright.

- "1.9.x"
- "1.8.x"
- "1.7.x"
- "1.6.x"
Expand Down
1 change: 1 addition & 0 deletions src/Appwrite/Platform/Tasks/SDKs.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public function action(?string $platform, ?string $sdk, ?string $version, ?strin
'1.7.x',
'1.8.x',
'1.9.x',
'2.0.x',
'latest',
])) {
throw new \Exception('Unknown version given');
Expand Down
Loading