Skip to content

Fix coordinator schema drift and replace the synthetic test fixture - #3

Merged
sounkou-bioinfo merged 2 commits into
mainfrom
review/coordinator-schema-and-clarity
Sep 17, 2026
Merged

sounkou-bioinfo merged 2 commits into
mainfrom
review/coordinator-schema-and-clarity

Conversation

@sounkou-bioinfo

@sounkou-bioinfo sounkou-bioinfo commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Apply the package's exhausted-lease transition across all queues: increment failures, record the expiry error, clear worker/token/deadline, and return numeric changed first.
  • Exercise the installed package's schema and input encoding through ca_open() and ca_spawn(). Cover multiple queues, exhausted versus retryable/live/terminal tasks, ownership cleanup, preserved inputs, argument validation, and the one-shot lifecycle.
  • Use an explicit future timestamp for the live-lease fixture, keeping the test independent of ICU. Choose an isolated DuckDB home explicitly.
  • Enable special NULL handling so start-argument validation runs. Close the dedicated connection after partial function-registration failure.
  • Keep prepare/execute/error handling explicit, document the maintenance scope, and install the package in each native CI job.

The schema, retry policy, public API, and runtime dependencies are unchanged. The coordinator performs maintenance; it does not dispatch jobs or execute R handlers.

Validation

Local validation on Linux with DuckDB 1.5.5:

  • Built the C API v1 coordinator extension against the DuckDB 1.5.5 source.
  • Passed tools/canard-coordinator/test/test-v1.R against the installed package.
  • Passed make document, make test (1,000 results, including native coordinator and required Quack cases), and make check (Status: OK).
  • Tree-sitter audit: zero findings in the coordinator sources/tests; the unchanged R directory has 37 review prompts.
  • git diff --check passed.

Cross-platform results are reported by this PR's GitHub checks. AddressSanitizer/UndefinedBehaviorSanitizer were not rerun for this integration.

… coverage

Align native maintenance with the existing reaping transition. Replace the
synthetic test table with an installed-package fixture, make poll control
flow explicit, and correct NULL handling and partial-load cleanup.

Preserve the current CI matrices and install this checkout for the native
integration test.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-16T21:56:56.263235Z e147f47 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sounkou-bioinfo
sounkou-bioinfo merged commit 6bbee37 into main Sep 17, 2026
9 checks passed
@sounkou-bioinfo
sounkou-bioinfo deleted the review/coordinator-schema-and-clarity branch September 17, 2026 12:29
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.

2 participants