Fix CLI OAuth review comments#1596
Conversation
Greptile SummaryThis PR addresses three review items from the upstream CLI SDK: an HTTP status guard for generated file-download commands, cleanup of a redundant
Confidence Score: 5/5All three fixes are narrowly scoped and well-tested; the token-reuse guard is correctly restricted to sessions without a refresh token, preserving the rotation flow for sessions that have one. The changes are small, targeted, and accompanied by a new e2e test that directly exercises the new code path. The No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "Fix CLI OAuth review comments" | Re-trigger Greptile |
37ce578 to
17ab29f
Compare
Summary
oldCurrenthandling after account lookupContext
Addresses review feedback from appwrite/sdk-for-cli#325 in the generator templates so regenerated CLI output includes the fixes.
Testing
php example.php clicomposer lint-twigcomposer refactor:checkvendor/bin/phpunit --testsuite Unitvendor/bin/phpunit tests/e2e/CLIBun13Test.php