Start queue Deprecation#9118
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request begins the phased deprecation of the original job queueing mechanism, guiding users towards a more performant and modern Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request starts the deprecation process for the queue function by introducing a version parameter to switch between the old and new implementations. The server-side implementation for the v1 queue is removed and now returns an error. This is a good step towards modernizing the API. My main feedback is to make the client-side deprecation warning for queue(version=1) more explicit, as it will no longer work with updated servers.
Co-authored-by: Christopher Cooper <christopher@cg505.com>
2c5c0c5 to
3774703
Compare
- Update deprecation message to "is deprecated and will be removed in v0.13" - Restore server.py /queue endpoint to forward to core.queue instead of 410 - Restore core.py queue() to forward to queue_v2 instead of raising ValueError - Remove now-unnecessary deprecation error tests, update assertion wording Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3774703 to
8c4f326
Compare
|
/smoke-test |
* Initial commit. * Update sky/jobs/client/sdk.py Co-authored-by: Christopher Cooper <christopher@cg505.com> * Address PR review: keep v1 queue working during deprecation period - Update deprecation message to "is deprecated and will be removed in v0.13" - Restore server.py /queue endpoint to forward to core.queue instead of 410 - Restore core.py queue() to forward to queue_v2 instead of raising ValueError - Remove now-unnecessary deprecation error tests, update assertion wording Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Christopher Cooper <christopher@cg505.com> Co-authored-by: Agent (queue-dep) <agent@skypilot.co> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Tested (run the relevant ones):
bash format.sh/smoke-test(CI) orpytest tests/test_smoke.py(local)/smoke-test -k test_name(CI) orpytest tests/test_smoke.py::test_name(local)/quicktest-core(CI) orpytest tests/smoke_tests/test_backward_compat.py(local)