Skip to content

Propagate task removal persistence errors#115

Merged
seanwevans merged 2 commits intomainfrom
codex/update-remove_task-to-return-resultbool,-ankierror
Oct 29, 2025
Merged

Propagate task removal persistence errors#115
seanwevans merged 2 commits intomainfrom
codex/update-remove_task-to-return-resultbool,-ankierror

Conversation

@seanwevans
Copy link
Owner

Summary

  • return Result<bool, AnKiError> from TaskRecoveryManager::remove_task so database failures propagate to callers
  • update the REST API delete handler and associated tests to handle the richer result
  • adjust recovery tests to expect the new result signature

Testing

  • cargo test (fails: database pool creation timed out in the current environment)

https://chatgpt.com/codex/tasks/task_e_69020d5e83548328aa7e1e121874f319

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@seanwevans seanwevans merged commit 37d22ab into main Oct 29, 2025
1 check failed
@seanwevans seanwevans deleted the codex/update-remove_task-to-return-resultbool,-ankierror branch October 29, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant