about summary refs log tree commit diff
path: root/gn_libs/jobs
AgeCommit message (Collapse)Author
2026-11-11Make initialise_job metadata keyword-onlyFrederick Muriuki Muriithi
Change `initialise_job` to accept metadata as keyword arguments, with `expiry_seconds` as a keyword-only reserved argument. Document the `external_id` value, and the `workflow_claim` metadata convention for idempotent stage transitions. Call sites that pass `extra_meta={...}` must unpack the dict instead. Co-authored-by: pi coding agent <pi@pi.dev>
2026-11-11Add jobs_by_metadata to look up jobs by metadataFrederick Muriuki Muriithi
Fetch jobs whose metadata contains all the given key/value pairs, returning each job with its metadata, newest first. This supports idempotent stage transitions without mutating completed jobs. Co-authored-by: pi coding agent <pi@pi.dev>
2026-11-11Index the jobs metadata by key and valueFrederick Muriuki Muriithi
Add a `(metadata_key, metadata_value)` index to `jobs_metadata` so jobs can be looked up by their metadata without scanning the table. Co-authored-by: pi coding agent <pi@pi.dev>
2026-02-09Remove unnecessary semicolon: linting.Frederick Muriuki Muriithi
2026-01-08Enable killing of a long-running job.Frederick Muriuki Muriithi
2026-01-08Enable job deletion.Frederick Muriuki Muriithi
Provide functions to enable deletion of jobs from the database.
2026-01-08Order user jobs from newest to oldest.Frederick Muriuki Muriithi
2026-01-08Bug: Process the external ID before attempting to use it.Frederick Muriuki Muriithi
Process the external ID to ensure it is a valid value before attempting to use it.
2026-01-07Fetch jobs by their external IDs.Frederick Muriuki Muriithi
2026-01-07Link a jobs to external IDs.Frederick Muriuki Muriithi
2025-06-11Fix code errors caught by type-checker.Frederick Muriuki Muriithi
2025-06-11Fix code errors caught by linter.Frederick Muriuki Muriithi
2025-06-10Setup launcher logging.Frederick Muriuki Muriithi
Enable logging out details of the launcher's process to help with debugging issues.
2025-05-05Handle case where job doesn't exist.Frederick Muriuki Muriithi
2025-05-02Fix stream used by function.Frederick Muriuki Muriithi
2025-04-21Indicate successful completion.Frederick Muriuki Muriithi
2025-04-21Build the environment from the application environment.Frederick Muriuki Muriithi
2025-04-21Add function to load standard stream outputs.Frederick Muriuki Muriithi
2025-03-25Clean up after ourselves!Frederick Muriuki Muriithi
2025-03-25Fetch remaining contentFrederick Muriuki Muriithi
The process could complete running between checks for whether it is still running, so we need to fetch any left-over content.
2025-03-25Merge the 'with's to reduce indentation.Frederick Muriuki Muriithi
2025-03-25Create outputs directory if it does not exist.Frederick Muriuki Muriithi
2025-03-25Add paths to output files as metadata items.Frederick Muriuki Muriithi
2025-03-25Change query for updating metadata: allow creating new item.Frederick Muriuki Muriithi
2025-03-25Add "WHERE" clause to avoid updating all rows.Frederick Muriuki Muriithi
2025-03-25Provide output directory to launcher.Frederick Muriuki Muriithi
2025-03-25Start launcher with unbuffered outputs.Frederick Muriuki Muriithi
2025-03-25Push stream data whenever its updated.Frederick Muriuki Muriithi
2025-03-25Rename manager/launcher script and implement the management logic.Frederick Muriuki Muriithi
Give the launcher a better name, and implement the logic to actually launch the job and do basic management of the process(es).
2025-03-25Update jobs database schema.Frederick Muriuki Muriithi
2025-03-24Initialise package for handling background/asynchronous jobs.Frederick Muriuki Muriithi