Repository navigation
Add TaskManager workspace exports - #1081
Draft
dfguerrerom wants to merge 5 commits into
Draft
dfguerrerom wants to merge 5 commits into
dfguerrerom wants to merge 5 commits into
Conversation
…rejected staging folders
This branch has not been deployed
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.
Adds an opt-in TaskManager backend for SEPAL workspace exports, keeps ExportLauncher and direct GEE/Drive exports as they are, and moves to pysepal-api 0.4. Each TaskManager export builds a short-lived
AsyncSepalClientfrom the session'sSepalClientand closes it when done, so no async client is tied to a session or event loop. Backend options and workspace paths are checked before submission, and a failed submission never falls back to another backend: a 4xx is reported as a rejection with no task created, while network errors, 5xx and timeouts are reported as an unknown outcome.Enable on supported deployments with
PYSEPAL_TASKMANAGER_EXPORTS=1; the flag only affects the dialog, and in auto mode requests usingpriority, tablemax_verticesor a table format TaskManager rejects (such as TFRecord) stay on the direct path. The export dialog no longer lets users pick a Google Drive folder for SEPAL workspace exports, and the direct path now stages them in a freshSEPAL/exports/<name>_<timestamp>Drive folder, as the SEPAL UI does, instead of searching and deleting by name across the user's whole Drive; the folder is removed after the copy or a definite failure, and kept when the outcome is unknown. GEE/Drive through TaskManager is a later phase.Validation:
nox -s testpasses against pysepal-api 0.4.0 (1463 passed; the 3test_gdal_envfailures are the known nox-only ones).