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

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

Draft
wants to merge 18 commits 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 871e0e3
🔍 Latest deploy log https://app.netlify.com/sites/conda-store/deploys/66f84d2eccaf7d0008e9eb28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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