Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort envs returned by REST API by current build's scheduled_on time #881

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peytondmurray
Copy link
Contributor

Fixes #859.

Description

This PR sorts environments returned when a GET is sent to /environment/ by the time the environments' current builds were submitted. In systems where users are creating environments while environments are being queried, this ensures that all results are returned; other sorting methods (e.g. by name) can yield incomplete results.

Pull request checklist

  • Did you test this change locally?
  • Did you update the documentation (if required)?
  • Did you add/update relevant tests for this change (if required)?

Copy link

netlify bot commented Sep 17, 2024

Deploy Preview for conda-store canceled.

Name Link
🔨 Latest commit 0442238
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/66ff0858f6e0b00008991c87

@peytondmurray peytondmurray changed the title [WIP] Sort envs returned by REST API by current build's scheduled_on time Sort envs returned by REST API by current build's scheduled_on time Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: api area: user experience 👩🏻‍💻 Items impacting the end-user experience needs: review 👀 type: bug 🐛 Something isn't working
Projects
Status: In Progress 🏗
Development

Successfully merging this pull request may close these issues.

[ENH] - Ensure completeness when fetching all pages using REST API
1 participant