Skip to content

feat: Add RunNow and RunAt to Controls for Tasks - #1322

Merged
c-thiel merged 4 commits into
mainfrom
ct/task-run-now
Sep 2, 2025
Merged

c-thiel merged 4 commits into
mainfrom
ct/task-run-now

Conversation

@c-thiel

@c-thiel c-thiel commented Sep 1, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Control tasks with two new actions: run now or schedule for a specific time. Applies to tasks in Scheduled or Stopping state.
  • Bug Fixes
    • More reliable task pickup (includes tasks scheduled at the current time) and improved handling when rescheduling running tasks, with clearer attempt logging.
  • Documentation
    • API docs updated: Control endpoint description clarified.
    • OpenAPI schema now models actions as structured objects (stop, cancel, run-now, run-at with RFC 3339 timestamp), improving validation and examples.

@coderabbitai

coderabbitai Bot commented Sep 1, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Adds new task-control actions RunNow and RunAt, updates API serialization and OpenAPI schema, introduces Catalog run_tasks_at APIs, and implements rescheduling in Postgres with supporting SQLx queries. Adjusts task picking, logging, and status handling to string-based states, adds reschedule utility and tests, and updates endpoint docs.

Changes

Cohort / File(s) Summary
API: Control actions and endpoint docs
crates/lakekeeper/src/api/management/v1/tasks.rs, crates/lakekeeper/src/api/management/mod.rs
Adds ControlTaskAction variants RunNow and RunAt (externally tagged via serde tag="action"); integrates handling into control_tasks. Updates endpoint docstrings to reflect broader control actions.
Service trait: Catalog rescheduling
crates/lakekeeper/src/service/catalog.rs
Adds Catalog::run_tasks_at and run_tasks_at_impl (duplicate blocks present), accepting task IDs and optional scheduled_for to reschedule tasks.
Postgres Catalog impl
crates/lakekeeper/src/implementations/postgres/catalog.rs
Implements run_tasks_at_impl delegating to tasks::reschedule_tasks_for; updates imports.
Postgres tasks logic
crates/lakekeeper/src/implementations/postgres/tasks.rs
Introduces reschedule_tasks_for; switches several flows to string statuses; tweaks pick_task timing/CTE; updates stop request and heartbeat mapping; adjusts success/failure recording; adds tests for rescheduling and status comparisons.
OpenAPI schema
docs/docs/api/management-open-api.yaml
ControlTaskAction changed from string enum to oneOf object union (stop, cancel, run-now, run-at with scheduled_for). Updates endpoint summary/204 description and request schema reference.
SQLx: new queries for reschedule/stop/pick/log
.sqlx/query-0cafb1f2b4....json, .sqlx/query-32a0cea2cc....json, .sqlx/query-4a2fb9673a....json, .sqlx/query-6072df0b0c....json, .sqlx/query-69c43466c5....json, .sqlx/query-82b3143673....json
Adds/updates descriptors: batch reschedule with optional now, finalize-success constant, pick_task using picked_task CTE and timeout logging, stop running→should-stop, per-task reschedule with failed log, delete-with-log for failures.
SQLx: removed legacy queries
.sqlx/query-0eef2c01a1....json, .sqlx/query-284c3872ea....json, .sqlx/query-7daec1b99e....json, .sqlx/query-9fd8c14811....json
Removes prior descriptors tied to enum-based statuses and older pick/finalize/update flows.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Client
  participant API as ApiServer
  participant Catalog as Catalog (trait)
  participant PG as PostgresCatalog
  participant DB as Postgres/SQLx

  Client->>API: POST /management/v1/{warehouse_id}/task/control<br/>action=run-now|run-at
  API->>Catalog: begin_write()
  API->>Catalog: run_tasks_at(task_ids, scheduled_for|None, tx)
  Catalog->>PG: run_tasks_at_impl(task_ids, scheduled_for|None, tx)
  PG->>DB: reschedule_tasks_for(...):<br/>- lock eligible tasks<br/>- if not scheduled → insert failed attempt log<br/>- set status='scheduled'<br/>- set scheduled_for=now() or provided<br/>- reset progress & details
  DB-->>PG: OK
  PG-->>Catalog: Result
  Catalog->>Catalog: commit(tx)
  Catalog-->>API: 204 No Content
  API-->>Client: 204
  note over DB: Only tasks in 'scheduled' or 'should-stop' are affected
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

  • feat: Task Management APIs #1316 — Extends task-control API and adds rescheduling paths in the same task management layers and SQL, overlapping this PR’s new ControlTaskAction and run_tasks_at/reschedule implementations.

Poem

I thump my paws to start the run,
Now or later, jobs get done.
Schedules hop and logs go “pop!”,
If running, mark a graceful stop.
In queues we dance, with timestamps twined—
A hare on time, with tasks aligned. 🐇⏱️

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ct/task-run-now

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (6)
crates/lakekeeper/src/service/catalog.rs (1)

1042-1061: Doc nits: fix wording and status name.

  • "If no scheduled_for is None" → "If scheduled_for is None".
  • "Stopping" → "ShouldStop" (matches enum used elsewhere).

Apply:

-    /// If no `scheduled_for` is `None`, the tasks will be scheduled to run immediately.
-    /// Only affects tasks in the `Scheduled` or `Stopping` state.
+    /// If `scheduled_for` is `None`, the tasks will be scheduled to run immediately.
+    /// Only affects tasks in the `Scheduled` or `ShouldStop` state.
crates/lakekeeper/src/implementations/postgres/tasks.rs (2)

579-586: Micro-opt: no-op early return for empty input.

Avoids preparing/executing a query with an empty array.

 pub(crate) async fn run_tasks_at(
     transaction: &mut PgConnection,
     task_ids: &[TaskId],
     scheduled_for: Option<chrono::DateTime<chrono::Utc>>,
 ) -> crate::api::Result<()> {
+    if task_ids.is_empty() {
+        return Ok(());
+    }

2036-2141: Add coverage for ShouldStop reschedule semantics.

Please add a test that:

  • picks a task (Running),
  • requests stop (transitions to ShouldStop),
  • calls run_tasks_at (verify status stays ShouldStop, scheduled_for updates),
  • heartbeats return Stop,
  • confirm it’s not pickable until the current attempt exits.

Sketch:

+    #[sqlx::test]
+    async fn test_run_tasks_at_does_not_unsignal_should_stop(pool: PgPool) {
+        let mut conn = pool.acquire().await.unwrap();
+        let wh = setup_warehouse(pool.clone()).await;
+        let tq = generate_tq_name();
+        let ent = EntityId::Tabular(Uuid::now_v7());
+
+        let tid = queue_task(&mut conn, &tq, None, ent, wh, None, None)
+            .await.unwrap().unwrap();
+        let picked = pick_task(&pool, &tq, DEFAULT_MAX_TIME_SINCE_LAST_HEARTBEAT)
+            .await.unwrap().unwrap();
+        assert_eq!(picked.task_id(), tid);
+
+        request_tasks_stop(&mut conn, &[tid]).await.unwrap();
+        let future_time = Utc::now() + chrono::Duration::minutes(10);
+        run_tasks_at(&mut conn, &[tid], Some(future_time)).await.unwrap();
+
+        // status remains ShouldStop; scheduled_for updated
+        let details = get_task_details(wh, tid, 10, &mut conn).await.unwrap().unwrap();
+        assert!(matches!(details.task.status, crate::api::management::v1::tasks::TaskStatus::ShouldStop));
+        let diff = (details.task.scheduled_for - future_time).num_seconds().abs();
+        assert!(diff <= 5);
+
+        // worker still gets Stop
+        let state = check_and_heartbeat_task(&mut conn, &picked, 0.1, None)
+            .await.unwrap();
+        assert!(matches!(state, TaskCheckState::Stop));
+    }
crates/lakekeeper/src/api/management/v1/tasks.rs (1)

228-245: Enum tagging is internally tagged; field key casing for RunAt is inconsistent with the rest of the API.

You’ve switched to an internally tagged enum (tag = "action"), which is fine. However, the RunAt payload field is scheduled_for (snake_case) whereas most request/response fields here use kebab-case. If you want consistency, rename the JSON key to scheduled-for.

Apply within the variant:

     RunAt {
-        /// The time to run the task at
-        #[schema(example = "2025-12-31T23:59:59Z")]
-        scheduled_for: chrono::DateTime<chrono::Utc>,
+        /// The time to run the task at
+        #[schema(example = "2025-12-31T23:59:59Z")]
+        #[serde(rename = "scheduled-for")]
+        scheduled_for: chrono::DateTime<chrono::Utc>,
     },
docs/docs/api/management-open-api.yaml (2)

2755-2759: Align casing of the Run-at payload field with the rest of the spec.

Most fields use kebab-case (e.g., scheduled-for in Task/TaskAttempt). Consider changing scheduled_for → scheduled-for for consistency (and sync the server rename if you adopt this).

-            scheduled_for:
+            scheduled-for:
               type: string
               format: date-time
               description: The time to run the task at
               example: 2025-12-31T23:59:59Z

2423-2426: Update endpoint summary to reflect new actions.

It now supports stop, cancel, run-now, run-at.

-      summary: Cancel or stop tasks.
+      summary: Control tasks (stop, cancel, run-now, run-at).
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 1ee7bf2 and 01341c4.

📒 Files selected for processing (5)
  • crates/lakekeeper/src/api/management/v1/tasks.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/catalog.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks.rs (2 hunks)
  • crates/lakekeeper/src/service/catalog.rs (1 hunks)
  • docs/docs/api/management-open-api.yaml (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-08-30T10:35:58.903Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:169-173
Timestamp: 2025-08-30T10:35:58.903Z
Learning: In the task picking SQL query in crates/lakekeeper/src/implementations/postgres/tasks.rs, the WHERE clause intentionally allows both Running and ShouldStop tasks to be re-picked if their last heartbeat is older than max_time_since_last_heartbeat. This is a reconciliation mechanism to handle cases where workers are killed or crash, preventing tasks from being stuck indefinitely in Running or ShouldStop states.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
🧬 Code graph analysis (4)
crates/lakekeeper/src/implementations/postgres/tasks.rs (3)
crates/lakekeeper/src/service/catalog.rs (3)
  • run_tasks_at (1045-1051)
  • transaction (84-84)
  • get_task_details (953-960)
crates/lakekeeper/src/implementations/postgres/mod.rs (1)
  • transaction (111-113)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)
  • get_task_details (143-242)
crates/lakekeeper/src/api/management/v1/tasks.rs (2)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • run_tasks_at (580-613)
crates/lakekeeper/src/service/catalog.rs (1)
  • run_tasks_at (1045-1051)
crates/lakekeeper/src/service/catalog.rs (2)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • run_tasks_at (580-613)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)
  • run_tasks_at_impl (791-797)
crates/lakekeeper/src/implementations/postgres/catalog.rs (2)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • run_tasks_at (580-613)
crates/lakekeeper/src/service/catalog.rs (3)
  • run_tasks_at (1045-1051)
  • run_tasks_at_impl (1056-1060)
  • transaction (84-84)
🪛 GitHub Check: clippy
crates/lakekeeper/src/implementations/postgres/tasks.rs

[failure] 587-587:
set DATABASE_URL to use query macros online, or run cargo sqlx prepare to update the query cache

🪛 GitHub Check: check-generated-openapi-matches
crates/lakekeeper/src/implementations/postgres/tasks.rs

[failure] 587-587:
set DATABASE_URL to use query macros online, or run cargo sqlx prepare to update the query cache

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: test
  • GitHub Check: sqlx-check
🔇 Additional comments (3)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)

791-797: Thin wrapper looks correct.

Forwarding to tasks::run_tasks_at with the reborrowed connection is consistent with the rest of this impl.

crates/lakekeeper/src/implementations/postgres/tasks.rs (1)

579-613: Ensure SQLx offline metadata is generated and updated
Run cargo sqlx prepare --workspace locally with a valid DATABASE_URL, commit the updated sqlx-data.json, and verify your CI pipeline sets DATABASE_URL (or SQLX_OFFLINE=true) so offline query metadata is present.

crates/lakekeeper/src/api/management/v1/tasks.rs (1)

454-457: LGTM wiring; confirm required permission for RunNow/RunAt.

Actions reuse CanDrop/CanUndrop auth. Please confirm “run” should require the same as cancel/stop, or adjust to a more appropriate capability.

Comment thread docs/docs/api/management-open-api.yaml Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Sep 1, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Nitpick comments (3)
.sqlx/query-32a0cea2cc0b1631c1d2b058a0949f266063a120f8ae1cd2dbd9539a3603ab05.json (1)

3-3: Avoid NULL durations when picked_up_at is NULL

If the task was never picked up, now() - picked_up_at yields NULL. If task_log.duration should always be non-null, coalesce.

-                duration,
-                execution_details,
+                duration,
+                execution_details,
                 attempt_scheduled_for,
...
-                now() - picked_up_at,
+                CASE WHEN picked_up_at IS NULL THEN INTERVAL '0' ELSE now() - picked_up_at END,
                 progress,
.sqlx/query-82b3143673d6932b2311d45d3f333362140392a005eb75604445f4b2b793bb45.json (1)

3-3: Success log duration can be NULL if picked_up_at is NULL

Mirror the failure path: guard against NULL to keep duration non-null, or confirm NULL is intended.

-                started_at,
-                duration,
+                started_at,
+                duration,
                 progress,
...
-                picked_up_at,
-                now() - picked_up_at,
+                picked_up_at,
+                CASE WHEN picked_up_at IS NULL THEN INTERVAL '0' ELSE now() - picked_up_at END,
                 1.0000,
.sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json (1)

3-3: Consider clearing last_heartbeat_at when resetting to 'scheduled'

Not required for correctness (the picker ignores heartbeat for scheduled), but clearing avoids stale metrics and makes state clearer.

             UPDATE task t
             SET 
                 status = 'scheduled',
                 progress = 0.0,
                 picked_up_at = NULL,
+                last_heartbeat_at = NULL,
                 execution_details = NULL
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 01341c4 and 61b426c.

📒 Files selected for processing (14)
  • .sqlx/query-0eef2c01a1e39f3a36f5f25ffdf78cf8983df324721ffd4f4168367bc9386755.json (0 hunks)
  • .sqlx/query-284c3872eafc736eecbb225e18a644331ff3f770aa6ff03dfbed961dee5becd6.json (0 hunks)
  • .sqlx/query-32a0cea2cc0b1631c1d2b058a0949f266063a120f8ae1cd2dbd9539a3603ab05.json (1 hunks)
  • .sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json (1 hunks)
  • .sqlx/query-6072df0b0cecdda31b9dcf546024123cf6fd1b7dc21b6358120dd589125b059b.json (1 hunks)
  • .sqlx/query-7daec1b99e2b91e7546adf64c4ef9e584e0f19b805c699a70969c205f5c33b7f.json (0 hunks)
  • .sqlx/query-82b3143673d6932b2311d45d3f333362140392a005eb75604445f4b2b793bb45.json (2 hunks)
  • .sqlx/query-9fd8c14811fc9e3ebcbc0c209e51dbb81ebc748c77bc911f8a58eaed953bf68c.json (0 hunks)
  • .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json (1 hunks)
  • .sqlx/query-cad418c6fed06ae76b0e47a19e1f241f8bbc8386c6201b90425de176b1b49a4e.json (1 hunks)
  • crates/lakekeeper/src/api/management/v1/tasks.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/catalog.rs (2 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks.rs (21 hunks)
  • docs/docs/api/management-open-api.yaml (1 hunks)
💤 Files with no reviewable changes (4)
  • .sqlx/query-9fd8c14811fc9e3ebcbc0c209e51dbb81ebc748c77bc911f8a58eaed953bf68c.json
  • .sqlx/query-7daec1b99e2b91e7546adf64c4ef9e584e0f19b805c699a70969c205f5c33b7f.json
  • .sqlx/query-0eef2c01a1e39f3a36f5f25ffdf78cf8983df324721ffd4f4168367bc9386755.json
  • .sqlx/query-284c3872eafc736eecbb225e18a644331ff3f770aa6ff03dfbed961dee5becd6.json
✅ Files skipped from review due to trivial changes (1)
  • .sqlx/query-6072df0b0cecdda31b9dcf546024123cf6fd1b7dc21b6358120dd589125b059b.json
🚧 Files skipped from review as they are similar to previous changes (2)
  • docs/docs/api/management-open-api.yaml
  • crates/lakekeeper/src/api/management/v1/tasks.rs
🧰 Additional context used
🧠 Learnings (6)
📚 Learning: 2025-08-31T11:58:20.853Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json:3-3
Timestamp: 2025-08-31T11:58:20.853Z
Learning: In .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json, the UPDATE statement that sets progress = 0.0, picked_up_at = NULL, and execution_details = NULL is correct because this code branch only executes when max_retries_exceeded is true, and the intention is to reset the task state to make it available for pickup again in the retry mechanism.

Applied to files:

  • .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json
  • .sqlx/query-32a0cea2cc0b1631c1d2b058a0949f266063a120f8ae1cd2dbd9539a3603ab05.json
  • .sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
  • .sqlx/query-cad418c6fed06ae76b0e47a19e1f241f8bbc8386c6201b90425de176b1b49a4e.json
  • .sqlx/query-82b3143673d6932b2311d45d3f333362140392a005eb75604445f4b2b793bb45.json
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique constraint on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_entity_queue_unique' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json
  • .sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique index on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_id_entity_type_entity_id_queue_name_idx' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json
  • .sqlx/query-32a0cea2cc0b1631c1d2b058a0949f266063a120f8ae1cd2dbd9539a3603ab05.json
  • .sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
  • .sqlx/query-cad418c6fed06ae76b0e47a19e1f241f8bbc8386c6201b90425de176b1b49a4e.json
📚 Learning: 2025-08-31T11:28:55.713Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-0aeb5d6e3f65746cefe75e374c69780174a7474580da84345cb777e2343d0280.json:4-22
Timestamp: 2025-08-31T11:28:55.713Z
Learning: The task_final_status PostgreSQL enum and the primary key constraint on task_log(task_id, attempt) were both established in migration 20250523101407_tasks_store_their_state.sql, not missing from the schema.

Applied to files:

  • .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json
  • .sqlx/query-32a0cea2cc0b1631c1d2b058a0949f266063a120f8ae1cd2dbd9539a3603ab05.json
  • .sqlx/query-4a2fb9673a30b4d7614a649c6420e574996807e106fde250df9525a194a2a121.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
  • .sqlx/query-cad418c6fed06ae76b0e47a19e1f241f8bbc8386c6201b90425de176b1b49a4e.json
  • .sqlx/query-82b3143673d6932b2311d45d3f333362140392a005eb75604445f4b2b793bb45.json
📚 Learning: 2025-08-30T10:35:58.903Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:169-173
Timestamp: 2025-08-30T10:35:58.903Z
Learning: In the task picking SQL query in crates/lakekeeper/src/implementations/postgres/tasks.rs, the WHERE clause intentionally allows both Running and ShouldStop tasks to be re-picked if their last heartbeat is older than max_time_since_last_heartbeat. This is a reconciliation mechanism to handle cases where workers are killed or crash, preventing tasks from being stuck indefinitely in Running or ShouldStop states.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T11:28:55.713Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-0aeb5d6e3f65746cefe75e374c69780174a7474580da84345cb777e2343d0280.json:4-22
Timestamp: 2025-08-31T11:28:55.713Z
Learning: The task_final_status PostgreSQL enum was defined in a previous migration, not missing from the schema as initially flagged.

Applied to files:

  • .sqlx/query-82b3143673d6932b2311d45d3f333362140392a005eb75604445f4b2b793bb45.json
🧬 Code graph analysis (2)
crates/lakekeeper/src/implementations/postgres/catalog.rs (2)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)
  • reschedule_tasks_for (617-699)
crates/lakekeeper/src/service/catalog.rs (2)
  • run_tasks_at_impl (1056-1060)
  • transaction (84-84)
crates/lakekeeper/src/implementations/postgres/tasks.rs (3)
crates/lakekeeper/src/implementations/postgres/mod.rs (1)
  • transaction (111-113)
crates/lakekeeper/src/implementations/postgres/tasks/list_tasks.rs (3)
  • tasks (250-253)
  • status (77-80)
  • generate_tq_name (346-348)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (2)
  • generate_tq_name (570-572)
  • get_task_details (143-242)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: clippy
  • GitHub Check: test
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: sqlx-check
🔇 Additional comments (13)
crates/lakekeeper/src/implementations/postgres/catalog.rs (1)

792-798: Delegation looks correct

run_tasks_at_impl cleanly forwards to reschedule_tasks_for with the right semantics for run-now (None) vs run-at (Some).

.sqlx/query-cad418c6fed06ae76b0e47a19e1f241f8bbc8386c6201b90425de176b1b49a4e.json (1)

1-16: LGTM: Well-structured batch reschedule query with proper logging.

The SQLx query descriptor correctly implements the batch reschedule functionality with proper transactional semantics. The query appropriately:

  • Locks tasks with FOR UPDATE to prevent concurrent modifications
  • Logs failed attempts for non-scheduled tasks with meaningful messages
  • Updates task state to scheduled status with conditional timestamp handling
  • Uses proper conflict resolution with ON CONFLICT (task_id, attempt) DO NOTHING

The parameters are correctly typed (UuidArray, Timestamptz, Bool) and the empty columns array indicates this is a pure UPDATE operation as expected.

crates/lakekeeper/src/implementations/postgres/tasks.rs (11)

162-162: Good practice: Allow long SQL-heavy functions.

The #[allow(clippy::too_many_lines)] annotation is appropriate here given the complexity of SQL operations in this file.


260-260: Good improvement: Clean config retrieval from CTE.

The change to (select config from picked_task) properly retrieves the configuration from the locked row, which is cleaner than the previous approach.


307-307: Verify string literal consistency in all operations.

Multiple functions now use string literals ('success', 'failed', 'scheduled') instead of enum values. This is consistent with the new approach but needs verification that all references are updated.

Also applies to: 332-332, 409-409, 464-464, 482-482


599-599: String literal migration in request_tasks_stop.

The migration to string literals ('should-stop', 'running') is consistent with the overall changes.

Also applies to: 601-601


616-699: Excellent implementation: New reschedule_tasks_for function.

The new batch rescheduling function is well-implemented with:

  • Proper transaction safety with FOR UPDATE
  • Conditional logging for non-scheduled tasks with descriptive messages
  • Flexible scheduling (immediate vs. future) based on the scheduled_for parameter
  • Proper error handling and logging
  • Clear parameter documentation

The function correctly handles the race condition mentioned in past review comments by preserving the task state appropriately.


730-733: Improved task state mapping logic.

The updated TaskCheckState mapping correctly treats both ShouldStop and Scheduled as Stop signals, which aligns with the rescheduling behavior where tasks can be moved back to scheduled state.


892-895: Good test infrastructure: ApiTaskStatus alias.

The introduction of ApiTaskStatus alias helps distinguish between internal task status representations and API-level status enums in tests.


1801-1801: Consistent API status usage in tests.

All test assertions now properly use ApiTaskStatus variants instead of internal enum values, maintaining clean separation between internal and API representations.

Also applies to: 1866-1866, 1953-1953, 2030-2030, 2105-2105


2111-2215: Excellent test coverage: reschedule_tasks_for functionality.

The test_run_tasks_at_with_and_without_scheduled_for test comprehensively covers:

  • Immediate scheduling with None parameter
  • Specific time scheduling with Some(time) parameter
  • Verification of task pickup behavior
  • Handling of non-existent tasks
  • Time tolerance validation

This provides good confidence in the reschedule functionality.


2217-2347: Comprehensive test: Running task reschedule behavior.

The test_reschedule_running_task_creates_failed_attempt test thoroughly validates:

  • Reschedule behavior for running tasks
  • Failed attempt creation with proper messaging
  • Task state transitions through stop and reschedule
  • Heartbeat behavior for rescheduled tasks
  • Attempt counter handling

This test provides excellent coverage of the complex reschedule scenarios.


182-197: CTE naming is consistent—picked_task is defined and aliased as p correctly; no changes needed.

Likely an incorrect or invalid review comment.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
crates/lakekeeper/src/implementations/postgres/tasks.rs (1)

616-699: Behavioral check passed: reschedule ignores Running, finalizes ShouldStop, then schedules.

This addresses the prior race/orphan risk from flipping ShouldStop→Scheduled without closing the attempt. Nice.

🧹 Nitpick comments (2)
crates/lakekeeper/src/implementations/postgres/tasks.rs (2)

260-261: Return config via joined alias to simplify and avoid subselect.

Small readability win; avoids a correlated subselect. SQLx supports referencing FROM items in RETURNING.

-            (select config from picked_task)
+            p.config as "config"

Note: Update the WITH alias to picked_task p or keep FROM picked_task p above accordingly, and run cargo sqlx prepare.


729-733: Comment nit: fix wording.

-        // Back to scheduled means the was rescheduled, and thus the attempt should stop.
+        // Back to scheduled means it was rescheduled, and thus the attempt should stop.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 61b426c and e421052.

📒 Files selected for processing (4)
  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json (1 hunks)
  • crates/lakekeeper/src/api/management/mod.rs (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks.rs (21 hunks)
  • docs/docs/api/management-open-api.yaml (2 hunks)
✅ Files skipped from review due to trivial changes (1)
  • crates/lakekeeper/src/api/management/mod.rs
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/docs/api/management-open-api.yaml
🧰 Additional context used
🧠 Learnings (8)
📚 Learning: 2025-08-31T11:58:20.853Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json:3-3
Timestamp: 2025-08-31T11:58:20.853Z
Learning: In .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json, the UPDATE statement that sets progress = 0.0, picked_up_at = NULL, and execution_details = NULL is correct because this code branch only executes when max_retries_exceeded is true, and the intention is to reset the task state to make it available for pickup again in the retry mechanism.

Applied to files:

  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T11:28:55.713Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-0aeb5d6e3f65746cefe75e374c69780174a7474580da84345cb777e2343d0280.json:4-22
Timestamp: 2025-08-31T11:28:55.713Z
Learning: The task_final_status PostgreSQL enum and the primary key constraint on task_log(task_id, attempt) were both established in migration 20250523101407_tasks_store_their_state.sql, not missing from the schema.

Applied to files:

  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique constraint on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_entity_queue_unique' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique index on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_id_entity_type_entity_id_queue_name_idx' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-30T10:35:58.903Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:169-173
Timestamp: 2025-08-30T10:35:58.903Z
Learning: In the task picking SQL query in crates/lakekeeper/src/implementations/postgres/tasks.rs, the WHERE clause intentionally allows both Running and ShouldStop tasks to be re-picked if their last heartbeat is older than max_time_since_last_heartbeat. This is a reconciliation mechanism to handle cases where workers are killed or crash, preventing tasks from being stuck indefinitely in Running or ShouldStop states.

Applied to files:

  • .sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:05.704Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json:3-3
Timestamp: 2025-09-01T16:37:05.704Z
Learning: The task picking query uses `(status = 'scheduled') OR (status != 'scheduled' AND heartbeat_check)` logic where scheduled tasks are always eligible for pickup regardless of heartbeat status, and only non-scheduled tasks need heartbeat timeout validation.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:51.084Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:190-191
Timestamp: 2025-09-01T16:37:51.084Z
Learning: In the lakekeeper codebase, SQL queries intentionally use string literals ('scheduled', 'running', 'should-stop', etc.) instead of parameterized TaskStatus enum values to optimize query planning performance and improve SQL readability.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:05.704Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json:3-3
Timestamp: 2025-09-01T16:37:05.704Z
Learning: In the task picking SQL query, non-scheduled tasks can only reach that state through pickup, which always sets last_heartbeat_at. Therefore, COALESCE fallbacks to picked_up_at are unnecessary for the heartbeat timeout check since last_heartbeat_at will never be NULL for tasks with status != 'scheduled'.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
🧬 Code graph analysis (1)
crates/lakekeeper/src/implementations/postgres/tasks.rs (3)
crates/lakekeeper/src/service/task_queue/mod.rs (10)
  • queue_name (98-98)
  • queue_name (307-309)
  • max_time_since_last_heartbeat (91-91)
  • attempt (255-257)
  • attempt (317-319)
  • tasks (372-389)
  • task (437-437)
  • task (449-449)
  • task_id (250-252)
  • task_id (312-314)
crates/lakekeeper/src/service/catalog.rs (3)
  • transaction (84-84)
  • get_task_details (953-960)
  • check_and_heartbeat_task (1016-1023)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)
  • get_task_details (143-242)
🔇 Additional comments (1)
.sqlx/query-69c43466c567e4cbde919f938d92ec50196af1bc516ef4238b068ab3fe9cd26a.json (1)

1-109: Descriptor matches pick_task SQL; types and nullability look consistent.

The enum mappings and parameters align with tasks.rs. No action needed.

@github-actions

github-actions Bot commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR match the correct format. Thank you!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (4)
crates/lakekeeper/src/implementations/postgres/tasks.rs (4)

182-197: Pick oldest eligible task deterministically.

Add an ORDER BY so the oldest scheduled task is preferred; otherwise selection is nondeterministic under load.

 WITH picked_task AS (
   SELECT t.*, config
   FROM task t
   LEFT JOIN task_config tc
     ON tc.queue_name = t.queue_name
        AND tc.warehouse_id = t.warehouse_id
   WHERE (t.queue_name = $1 AND scheduled_for <= now()) 
     AND (
       (status = 'scheduled') OR 
       (status != 'scheduled' AND (now() - last_heartbeat_at) > COALESCE(tc.max_time_since_last_heartbeat, $2))
     )
+  ORDER BY t.scheduled_for ASC, t.created_at ASC
   -- FOR UPDATE locks the row we select here, SKIP LOCKED makes us not wait for rows other
   -- transactions locked
   FOR UPDATE OF t SKIP LOCKED
   LIMIT 1
 ),

675-680: Confirm intent: flipping ShouldStop → Scheduled.

This update unconditionally sets status='scheduled' (also for ShouldStop). Given check_and_heartbeat_task maps Scheduled to Stop, this is safe for heartbeats, but any late record_success/record_failure on the old attempt will 404 due to the prior failed log row (expected?). If you prefer to preserve the stop marker until pickup, keep ShouldStop as-is:

-        SET 
-            scheduled_for = (CASE WHEN $3 THEN now() ELSE $2 END),
-            status = 'scheduled',
+        SET 
+            scheduled_for = (CASE WHEN $3 THEN now() ELSE $2 END),
+            status = CASE WHEN task.status = 'should-stop' THEN 'should-stop' ELSE 'scheduled' END,
             progress = 0.0,
             execution_details = NULL,
             picked_up_at = NULL

This still prevents pickup until scheduled_for while keeping old attempts clearly marked ShouldStop. If the 404-on-old-attempt is desired, ignore.


731-734: Fix comment grammar.

-        // Back to scheduled means the was rescheduled, and thus the attempt should stop.
+        // Back to Scheduled means the task was rescheduled; the attempt should stop.

2256-2264: Update test comment to match behavior.

The comment says “should not be running anymore,” but the assertion expects Running (reschedule while running is a no-op). Adjust the comment.

-        // Step 4: Verify task details - should not be running anymore and should have a failed attempt
+        // Step 4: Verify task details — still running (reschedule while running is a no-op)
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between e421052 and 95a7f45.

📒 Files selected for processing (2)
  • .sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json (1 hunks)
  • crates/lakekeeper/src/implementations/postgres/tasks.rs (21 hunks)
🧰 Additional context used
🧠 Learnings (9)
📚 Learning: 2025-08-31T11:58:20.853Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json:3-3
Timestamp: 2025-08-31T11:58:20.853Z
Learning: In .sqlx/query-755974eeec0224a16075e26d11f8d81d667eaa293e72ba1ccdec9050eb74e778.json, the UPDATE statement that sets progress = 0.0, picked_up_at = NULL, and execution_details = NULL is correct because this code branch only executes when max_retries_exceeded is true, and the intention is to reset the task state to make it available for pickup again in the retry mechanism.

Applied to files:

  • .sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T11:28:55.713Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-0aeb5d6e3f65746cefe75e374c69780174a7474580da84345cb777e2343d0280.json:4-22
Timestamp: 2025-08-31T11:28:55.713Z
Learning: The task_final_status PostgreSQL enum and the primary key constraint on task_log(task_id, attempt) were both established in migration 20250523101407_tasks_store_their_state.sql, not missing from the schema.

Applied to files:

  • .sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-30T10:35:58.903Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:169-173
Timestamp: 2025-08-30T10:35:58.903Z
Learning: In the task picking SQL query in crates/lakekeeper/src/implementations/postgres/tasks.rs, the WHERE clause intentionally allows both Running and ShouldStop tasks to be re-picked if their last heartbeat is older than max_time_since_last_heartbeat. This is a reconciliation mechanism to handle cases where workers are killed or crash, preventing tasks from being stuck indefinitely in Running or ShouldStop states.

Applied to files:

  • .sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique index on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_id_entity_type_entity_id_queue_name_idx' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • .sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json
  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:05.704Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json:3-3
Timestamp: 2025-09-01T16:37:05.704Z
Learning: The task picking query uses `(status = 'scheduled') OR (status != 'scheduled' AND heartbeat_check)` logic where scheduled tasks are always eligible for pickup regardless of heartbeat status, and only non-scheduled tasks need heartbeat timeout validation.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:47:22.894Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-d1e9859dcc600e55628e413e2e98eb658d1d08ad10b91beb8ca168c8e17045f8.json:169-172
Timestamp: 2025-08-31T12:47:22.894Z
Learning: In the Lakekeeper task system, the `task` table uses `created_at` for the task creation timestamp, while `task_log` uses a dedicated `task_created_at` column that preserves the original creation time when tasks are moved from the active table to the historical log. Pagination queries correctly use `created_at` for active tasks and `task_created_at` for logged tasks.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:51.084Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: crates/lakekeeper/src/implementations/postgres/tasks.rs:190-191
Timestamp: 2025-09-01T16:37:51.084Z
Learning: In the lakekeeper codebase, SQL queries intentionally use string literals ('scheduled', 'running', 'should-stop', etc.) instead of parameterized TaskStatus enum values to optimize query planning performance and improve SQL readability.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-09-01T16:37:05.704Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1322
File: .sqlx/query-be44977ba6988c517a6b29dfcca66c0e442ba443d27543be53cf43eb083670a2.json:3-3
Timestamp: 2025-09-01T16:37:05.704Z
Learning: In the task picking SQL query, non-scheduled tasks can only reach that state through pickup, which always sets last_heartbeat_at. Therefore, COALESCE fallbacks to picked_up_at are unnecessary for the heartbeat timeout check since last_heartbeat_at will never be NULL for tasks with status != 'scheduled'.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
📚 Learning: 2025-08-31T12:39:49.414Z
Learnt from: c-thiel
PR: lakekeeper/lakekeeper#1316
File: .sqlx/query-98ca1801d4e1cf55ce25e7da1de6d4a49d6b32d58bbe53a9ba6ff5284ced6460.json:3-3
Timestamp: 2025-08-31T12:39:49.414Z
Learning: The unique constraint on task(warehouse_id, entity_type, entity_id, queue_name) exists as 'task_warehouse_entity_queue_unique' and was created in migration 20250523101407_tasks_store_their_state.sql, supporting ON CONFLICT operations on these columns.

Applied to files:

  • crates/lakekeeper/src/implementations/postgres/tasks.rs
🧬 Code graph analysis (1)
crates/lakekeeper/src/implementations/postgres/tasks.rs (4)
crates/lakekeeper/src/service/task_queue/tabular_expiration_queue.rs (4)
  • queue_name (68-70)
  • max_time_since_last_heartbeat (72-74)
  • task (132-132)
  • task (245-245)
crates/lakekeeper/src/service/task_queue/mod.rs (10)
  • queue_name (98-98)
  • queue_name (307-309)
  • max_time_since_last_heartbeat (91-91)
  • attempt (255-257)
  • attempt (317-319)
  • tasks (372-389)
  • task (437-437)
  • task (449-449)
  • task_id (250-252)
  • task_id (312-314)
crates/lakekeeper/src/implementations/postgres/mod.rs (1)
  • transaction (111-113)
crates/lakekeeper/src/implementations/postgres/tasks/get_task_details.rs (1)
  • get_task_details (143-242)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: docker / docker
  • GitHub Check: check-generated-openapi-matches
  • GitHub Check: test
  • GitHub Check: sqlx-check
  • GitHub Check: clippy
🔇 Additional comments (11)
.sqlx/query-0cafb1f2b425d73de902ab03975754f64fc80810ca8dc5d7775090d0bacd7a28.json (2)

3-3: Reschedule CTE + logging look sound.

  • Correctly logs prior running attempts and resets fields before flipping to scheduled.
  • Param contract matches usage (uuid[], timestamptz, bool).

1-16: Ensure SQLx offline cache is updated
Run cargo sqlx prepare --workspace (with DATABASE_URL pointed at your dev database and /proc mounted) and commit any updated files under .sqlx/ to prevent CI failures.

crates/lakekeeper/src/implementations/postgres/tasks.rs (9)

198-238: Timeout logging on stale attempts is correct.

Only non-scheduled entries are logged as failed; ON CONFLICT avoids duplicates. Good.


240-246: Attempt bump and pickup bookkeeping look correct.

Atomic update to running, reset progress/details, set pickup/heartbeat, and increment attempt.


306-348: Success path is consistent and idempotent with ON CONFLICT DO NOTHING.

Deletes active row, archives with status 'success', and errors when double-reported.


382-425: Permanent failure path (max retries exceeded) is solid.

Moves row to log with status 'failed'; correct conflict handling.


437-493: Retryable failure path correctly resets for re-pick.

Locks, archives attempt as failed, and resets active row to scheduled with clean metadata.


599-602: Stop request gate is appropriate.

Only Running → ShouldStop is allowed; good safeguard.


626-672: Reschedule correctly archives running attempts.

CTE filters to ShouldStop/Scheduled; only ShouldStop attempts are logged as failed before rescheduling.


2112-2216: RunNow/RunAt test covers both immediate and deferred; looks good.

Validates pickability and scheduled_for mutation with tolerances; assertions align with behavior.


2339-2348: Attempt counter after reschedule-to-now is correct.

Expecting attempt 2 after failing-and-rescheduling previous run is accurate.

@c-thiel
c-thiel merged commit 75f771e into main Sep 2, 2025
@c-thiel
c-thiel deleted the ct/task-run-now branch September 2, 2025 06:50
@c-thiel c-thiel mentioned this pull request Sep 2, 2025
mrjoe7 added a commit to mrjoe7/lakekeeper that referenced this pull request Oct 30, 2025
* feat: Publish images to Dockerhub (lakekeeper#1274)

* feat: Update UI to 0.9.0 with multi-project support (lakekeeper#1275)

* chore: release 0.9.4

Release-As: 0.9.4

* chore: release main (lakekeeper#1262)

* chore(ci): Fix Dockerhub login

* chore(docs): Improve developer guide (lakekeeper#1265)

* chore(docs): add info regarding `view_version`'s internal representation (lakekeeper#1261)

* chore(docs): Architecture clarify Secret Store (lakekeeper#1284)

* fix: Update Limes to 0.2.2 - Fixes compilation issue due to breaking `jwks_client_rs` change (lakekeeper#1282)

* fix: Update Limes to 0.2.2

* increase min rust version

* chore: release 0.9.5

Release-As: 0.9.5

* chore: release main (lakekeeper#1286)

* chore: enable changelog sections for release-please (lakekeeper#1264)

k

* fix(deps): update rust crate rand to v0.9.2 (lakekeeper#1252)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-channel to v2.5.0 (lakekeeper#1225)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.17 (lakekeeper#1289)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.99 (lakekeeper#1290)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Remove bitnami images (lakekeeper#1288)

* feat!: Move to Lakekeeper IO based on hyperscaler SDKs (lakekeeper#1285)

* chore(deps): update rust crate reqwest to v0.12.23 (lakekeeper#1294)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Cloud storage test docs

* fix: accept "disable" as PG sslmode as documented (lakekeeper#1303)

* feat: Simplify task interface, re-exports, enable delete-after-commit (lakekeeper#1302)

* feat: Introduce `RequestMetadata` for Internal Principals which bypass AuthZ (lakekeeper#1306)

* chore(deps): update azure/setup-helm action to v4.3.1 (lakekeeper#1299)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(test): use nextest filterset instead of needs_env_var (lakekeeper#1304)

* chore(deps): update rust crate openssl-src to v300.5.2 (lakekeeper#1292)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.28 (lakekeeper#1311)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate thiserror to v2.0.16 (lakekeeper#1296)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Provide `ApiContext` to externally registered tasks (lakekeeper#1307)

* feat!: Simplify Task interface, extend SpecializedTask interface (lakekeeper#1310)

* feat: Improve authorizer `are_allowed_*` batch check signature (lakekeeper#1315)

* chore(authz): Enforce use of AuthZ decisions with #[must_use] (lakekeeper#1317)

* feat: Task Management APIs (lakekeeper#1316)

* chore(deps): update rust crate tracing-subscriber to v0.3.20 [security] (lakekeeper#1318)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add `RunNow` and `RunAt` to Controls for Tasks (lakekeeper#1322)

* chore(deps): update rust crate tokio-util to v0.7.16 (lakekeeper#1313)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(docs): Improve Entra ID docs (lakekeeper#1325)

* chore(docs): Improve Upgrades & Migration docs (lakekeeper#1326)

* feat: Add tasks heartbeat with Catalog state (lakekeeper#1324)

* ci: add configuration for CodeRabbit reviews (lakekeeper#1327)

* feat: Add optional STS session-tags in S3 STS requests for ABAC authorization (lakekeeper#1230)

* feat: Random Server IDs (lakekeeper#1328)

* chore(deps): update rust crate percent-encoding to v2.3.2 (lakekeeper#1312)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz): Deprecate Permission Endpoints for Tables without WarehouseIDs (lakekeeper#1334)

* fix: Tasks endpoints in router (lakekeeper#1335)

* feat(ci): add nextest profile ci_no_secrets for external PRs (lakekeeper#1333)

* chore(deps): update rust crate chrono to v0.4.42 (lakekeeper#1331)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Pin examples duckdb version to 1.3 (lakekeeper#1343)

* feat!: Require warehouse_id when checking permissions on views or tables via ID (lakekeeper#1340)

* fix: migrate away from bitnami in unittest.yml (lakekeeper#1344)

* chore: Remove coderabitt config

* fix(docs): Fix inconsistent URL format in README (lakekeeper#1345)

Co-authored-by: Christian <[email protected]>

* feat: Remove serde_yaml & serde_yml (lakekeeper#1341)

* feat!: add `warehouse_id` to PKs of all `table_*` and `view_*` tables (lakekeeper#1254)

* feat: Minor namespace join performance improvements

* fix: Warehouse permissions are directly used for task retrieval & control (lakekeeper#1347)

* fix: Potential Race Condition when undropping Tabulars (lakekeeper#1342)

* fix: table rename authz and error handling (lakekeeper#1346)

Co-authored-by: Andre Luis Anastacio <[email protected]>

* chore(deps): update rust crate google-cloud-auth to v1.1.2 (lakekeeper#1337)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate time to v0.3.44 (lakekeeper#1349)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency mkdocs-material to v9.6.20 (lakekeeper#1309)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* feat: Set ServerID during migration (lakekeeper#1348)

* chore(deps): Remove utoipa fork (lakekeeper#1352)

* chore(deps): update rust crate serde_with to v3.14.1 (lakekeeper#1351)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate url to v2.5.7 (lakekeeper#1354)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-compression to v0.4.30 (lakekeeper#1323)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate serde_json to v1.0.145 (lakekeeper#1250)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update strum monorepo to v0.27.2 (lakekeeper#1251)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update serde monorepo to v1.0.226 (lakekeeper#1355)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update rust crate clap to v4.5.48 (lakekeeper#1356)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Add Entity Names to Tasks (lakekeeper#1353)

* fix: case insensitivity of catalog endpoints (lakekeeper#1338)

* fix: Improve delete_warehouse error message for active tasks

* chore(deps): update rust crate tempfile to v3.22.0 (lakekeeper#1359)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christian <[email protected]>

* chore(deps): update rust crate axum-prometheus to 0.9.0 (lakekeeper#1358)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: PgSslMode not supported error string

* feat(authz)!: add OpenFGA schema v4 and v3->v4 migration (lakekeeper#1314)

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* chore(deps): update rust crate uuid to v1.18.1 (lakekeeper#1362)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency markdown-grid-tables to v0.6.0 (lakekeeper#1357)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate anyhow to v1.0.100 (lakekeeper#1350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: clippy

* chore(deps): update rust crate moka to v0.12.11 (lakekeeper#1365)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate tempfile to v3.23.0 (lakekeeper#1367)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update rust crate async-nats to 0.43.0 (lakekeeper#1366)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-node action to v5 (lakekeeper#1371)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v5 (lakekeeper#1369)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update actions/setup-python action to v6 (lakekeeper#1372)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: V3 support (lakekeeper#1364)

* chore: Set Get Task Permission to "CanGetMetadata" (lakekeeper#1376)

* chore(deps): update dependency node to v22 (lakekeeper#1373)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(authz)!: extend OpenFGA tabular entities with WarehouseId (lakekeeper#1329)


---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>

* feat: Add support for tasks affecting views (lakekeeper#1378)

* feat(authz): Add specific Task Actions (lakekeeper#1379)

* chore(tests): Test with Iceberg 1.9.2 & 1.10.0 (lakekeeper#1267)

* feat: Enrich task metadata with concrete tabular type (lakekeeper#1383)

* feat: Add loadTable Snapshots filter (lakekeeper#1385)

* feat: add endpoint for fuzzy search of tabulars (lakekeeper#1387)

* feat: Update UI to 0.10.0 (lakekeeper#1390)

* feat(ui): Update UI to 0.10.1

* chore: Use lakekeeper re-exports in bin (lakekeeper#1391)

* fix(tabular-search): distance and docs for `searchterm is uuid` (lakekeeper#1393)

* chore(examples): Idempotent bucket creation in minimal example (lakekeeper#1386)

In the case where you already have a bucket created, like the "examples" bucket, I ran into an issue where the createbuckets service fails, and this prevents lakekeeper from starting back up.

This fix adds a simple minio flag to ignore buckets that already exist, making things even more user friendly

* feat: Make number of workers spawned for Expiration & Purge configurable (lakekeeper#1395)

* chore: release main (lakekeeper#1295)

* chore: added gif to readme (lakekeeper#1396)

* chore: remove unneded `#[allow(dead_code)]` (lakekeeper#1399)

* fix: Use FnOnce for queue & service registration

* Revert "fix: Use FnOnce for queue & service registration"

This reverts commit 47b03a0.

* chore(docs): Add 0.10 docs

* perf(db): remove `join namespace` from `active_tabulars` view (lakekeeper#1401)

* doc(db): how to connect to db and inspect schema (lakekeeper#1402)

* feat: implement `OpenFgaEntity` for `ServerId` (lakekeeper#1394)

* impl OpenFgaEntity
* Use the implementation

* fix: Use FnOnce for queue & service registration (lakekeeper#1404)

* chore(deps): update dependency mkdocs-material to v9.6.21 (lakekeeper#1406)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Expose client-managed X-Iceberg-Access-Delegation (lakekeeper#1407)

* fix: Use higher consistency for some OpenFGA queries (lakekeeper#1408)

* feat: Improve Kubernetes Auth docs (lakekeeper#1415)

* chore: release 0.10.1

Release-As: 0.10.1

* fix: Endpoint stats for Project Endpoints (lakekeeper#1412)

* feat: Add create table guard to cleanup location on Failure (lakekeeper#1418)

* chore: Generate ID types with Macro (lakekeeper#1419)

* chore: Re-Export Tokio from lakekeeper-io create (lakekeeper#1420)

* fix: Add support for `write.metadata.metrics.` Table Properties (lakekeeper#1422)

* fix: Update UI to 0.10.2 (lakekeeper#1423)

* chore: release main (lakekeeper#1403)

* fix: Parse empty ProjectID headers as None (lakekeeper#1424)

* chore: release 0.10.2

Release-As: 0.10.2

* chore: release main (lakekeeper#1425)

* feat: Add `debug_migrate_before_serve` env var (lakekeeper#1426)

* feat: Move OpenFGA Authorizer to separate crate (lakekeeper#1421)

* chore(renovate): Group dependencies

* chore(renovate): ignore additional deps

* chore: Rename src/service -> src/server, trait Catalog -> CatalogStore (lakekeeper#1428)

* feat(examples): add k8s iceberg sink connector (avro) (lakekeeper#1336)


---------

Co-authored-by: Christian <[email protected]>

* chore(ci): Fix release please (lakekeeper#1433)

* feat: Expose License Information via API (lakekeeper#1432)

* fix(deps): update all non-major dependencies (lakekeeper#1429)

* chore(ci): Remove mgmt API version update via release-please

* chore: Restructure catalog_store into multiple modules (lakekeeper#1434)

* feat: Validate Downscoping works on Warehouse creation (lakekeeper#1437)

* chore(ci): Fix release please

* docs: Add info about installing sqlx to developer-guide.md (lakekeeper#1438)

* docs: Update developer-guide.md (lakekeeper#1439)

* chore(deps): update all non-major dependencies (lakekeeper#1436)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: Better normalization for ARNs in S3 Profile (lakekeeper#1441)

* chore(deps): update all non-major dependencies (lakekeeper#1442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(main): release 0.10.3 (lakekeeper#1427)

* fix: Release Please CI outputs

* fix(ci): Revert 0.10.3 release

* chore(main): release 0.10.3 (lakekeeper#1446)

* feat: Introduce CatalogWarehouseOps & CatalogNamespaceOps abstractions (lakekeeper#1440)

* feat: Allow x-user-agent header (lakekeeper#1453)

* feat: Table & View Ops Abstractions, Improved Error Handling (lakekeeper#1454)

* fix: CORS allow access delegation & etag headers (lakekeeper#1455)

* fix: Headers should be lowercase (lakekeeper#1457)

* chore(tests): Add trino information_schema.tables test (lakekeeper#1456)

* chore: Introduce open-api feature to gate utoipa and swagger (lakekeeper#1458)

* chore: Release As 0.11

* fix: Debug assertion table identifier mismatch for signer (lakekeeper#1460)

* feat: Caching Short-Term-Credentials (STC) (lakekeeper#1459)

* feat: Warehouse Cache (lakekeeper#1462)

* chore(deps): update actions/setup-node action to v6 (lakekeeper#1443)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Version based Warehouse Cache (lakekeeper#1465)

* feat: AuthZ Server and Project Ops (lakekeeper#1471)

* chore(deps): update github artifact actions (lakekeeper#1461)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: Rename release branch pattern to rel-*

* feat: Catalog returns full Namespace Hierarchy for nested Namespaces (lakekeeper#1472)

---------

Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian Thiel <[email protected]>
Co-authored-by: Dao Thanh Tung <[email protected]>
Co-authored-by: Moritz Zielke <[email protected]>
Co-authored-by: Baptiste Gouhoury <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dolan Antenucci <[email protected]>
Co-authored-by: Anatoly Popov <[email protected]>
Co-authored-by: Andre Luis Anastacio <[email protected]>
Co-authored-by: Scott Haines <[email protected]>
Co-authored-by: Viktor Kessler <[email protected]>
Co-authored-by: Yohan Valencia <[email protected]>
Co-authored-by: Paul Roman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant