Draft
Implement batch job metadata PATCH support (update_job) in GeoPySpark backend#1672
update_job) in GeoPySpark backend#1672Conversation
Agent-Logs-Url: https://github.com/Open-EO/openeo-geopyspark-driver/sessions/0dd386fa-7b96-4754-8db6-9c41858453e4 Co-authored-by: jdries <5937096+jdries@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement job metadata updates with update_job method
Implement batch job metadata PATCH support (May 20, 2026
update_job) in GeoPySpark backend
jdries
reviewed
May 20, 2026
|
|
||
| def update_job(self, job_id: str, *, user_id: Optional[str] = None, data: Optional[dict] = None) -> None: | ||
| if self.elastic_job_registry: | ||
| update_job = getattr(self.elastic_job_registry, "update_job", None) |
Contributor
There was a problem hiding this comment.
this method does not yet exist
@copilot open a new PR in openeo-python-driver to add this method
Contributor
Author
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.
This adds backend support for the openEO batch job update API (
PATCH /jobs/{job_id}), implementing theupdate_jobmethod introduced inopeneo-python-driver. It enables controlled metadata updates on existing batch jobs while enforcing editability and job-state constraints.Backend: add
GpsBatchJobs.update_jobupdate_job(job_id, user_id, data)inopeneogeotrellis/backend.py.title,description,process,plan,budget.queued,running) viaJobLockedException.PropertyNotEditableException.Registry: add update plumbing
update_job(...)toInMemoryJobRegistryfor local/test registry behavior.update_job(...)passthrough inDoubleJobRegistryto delegate to the configured underlying registry.updatedtimestamp is refreshed on successful metadata updates.Tests: focused coverage for new behavior
queued/runningstate.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
api.openeo.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either: