feat: SDK update for version 26.0.0-rc.2 - #354
Open
ChiragAgg5k wants to merge 15 commits into
Open
Conversation
master received 24.0.0 as a squash merge (#347), so the same change exists under a different commit on each branch. The trees are identical, so dev's tree is kept as-is.
Resolved the squash-merge divergence from #349. Every conflicted file is generator output, so all conflicts take the freshly generated 25.1.0 tree; the merged tree was verified byte-identical to the generator's output. Lock files are master's with only the package version bumped, keeping the release free of incidental dependency churn.
It runs bun install and cross-compiles six Bun binaries against a tree that no longer has a package.json. The Go CLI is built and tested by the generator's validation workflow before release, and by publish.yml at release time.
Generated from appwrite/sdk-generator 2.10.3. Keeps dev matching master so the next release diff is the release.
Greptile SummaryThis release-candidate update expands headless skill installation, raw GraphQL input, and source-directory deployments while updating generated service argument conversion and HTTP timeout handling.
Confidence Score: 4/5The PR appears safe to merge, with one non-blocking diagnostic issue in the GraphQL query timeout path. The changed GraphQL query handler labels a read-only query timeout as an uncertain mutation, so affected users receive misleading duplicate-change recovery guidance; no blocking runtime, data-integrity, or security failure remains. Files Needing Attention: internal/cmd/services/graphql.go Important Files Changed
Prompt To Fix All With AI### Issue 1
internal/cmd/services/graphql.go:42-45
**Query timeout marked as mutation**
When a read-only GraphQL query times out, `WrapMutationError("POST", err)` reports an unknown mutation outcome and warns about duplicate changes. Return the ordinary timeout for this query path so users receive relevant retry guidance.
```suggestion
result, err := service.Query(queryValue)
if err != nil {
return err
}
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (1): Last reviewed commit: "chore: merge master into dev for the 26...." | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains updates to the SDK for version 26.0.0-rc.2.
What's Changed
graphql queryandgraphql mutationaccept a raw GraphQL document at--queryinit skilltakes--all,--skill,--agent, and--methodfor headless installs--codeonfunctionsandsites create-deploymentaccepts a source directory--self-signedreaches service commands instead of being dropped before the request--documents,--rows,--columns,--attributes,--indexes, and--operationsparse each value as JSONlist-specificationsdocuments that--typedefaults toruntimes