Repository navigation
Conversation
… stays the same across queries. STACAPIJobDatabase.item_from() now turns missing values (NaN, NaT, NA) into None, which is sent as JSON null.
HansVRP
marked this pull request as ready for review
December 2, 2026 12:47
Contributor
Author
|
added also some hardening to ensure unique IDs; @Pratichhya could you tests this branch on your use-case to see if it resolves the issue/throws a clear error |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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.
#983
After a job finishes, the job manager adds new usage columns. Rows that don't have those values end up as NaN. STACAPIJobDatabase.persist() sent the NaN values as JSON, which isn't allowed, so the request failed and no further jobs could run.
STACAPIJobDatabase.item_from() now turns missing values (NaN, NaT, NA) into None, which is sent as JSON null.
#984 the STAC job database labelled each row by its position in the latest query result (0, 1, 2, …), not by its item id. When a job is started in a background thread, the manager remembers that label. In a later cycle the same labels point to different items.
query results are now labelled by STAC item id, which stays the same across queries.; this also required the not_started.loc[i] change since 'job_aaa +1' would result in issues