Skip to content

refactor: make retry fallbacks and sqlite pooling configurable#46

Merged
Patel230 merged 3 commits into
mainfrom
refactor/configurable-retry-and-sqlite-pooling
Jun 19, 2026
Merged

refactor: make retry fallbacks and sqlite pooling configurable#46
Patel230 merged 3 commits into
mainfrom
refactor/configurable-retry-and-sqlite-pooling

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Summary

  • make codeagent retry fallbacks explicit instead of baking model IDs into defaults
  • add configurable SQLite connection pooling while preserving the serialized default
  • update the architecture tree docs and add focused tests for both changes

Test plan

  • go test ./codeagent ./storage
  • go test ./...

Made with Cursor

Patel230 added 3 commits June 19, 2026 12:38
Remove baked-in fallback model IDs from retry defaults and cover the new
option-based fallback and strategy configuration with focused tests.
Keep serialized access as the default while allowing callers to opt into a
larger pool, and lock that behavior down with targeted storage tests.
Keep the repository layout example aligned with the current top-level
structure after the CLI path was removed from the tree.

@Patel230 Patel230 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[DUPLICATE — superseded by review at id PRR_kwDOSQcw4M8AAAABDhLR9Q 2026-06-19T07:57:35Z.

Removing this entry entirely is gated by GitHub: non-pending reviewed submissions cannot be deleted via API. Please use the latest review for current feedback.]

—old body, kept for history:—

Approving content — clean refactor that aligns with eyrie zero-opinions design. Tests cover the decision tree and bad-config guards. CI fully green.

Nits: WithFallback silent no-op, missing CHANGELOG entry, consider WithMaxIdleConns.
Must-do: none.

@Patel230 Patel230 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[DUPLICATE — superseded by review at id PRR_kwDOSQcw4M8AAAABDhLR9Q 2026-06-19T07:57:35Z.

Removing this entry entirely is gated by GitHub: non-pending reviewed submissions cannot be deleted via API. Please use the latest review for current feedback.]

—old body, kept for history:—

Approving content — clean refactor that aligns with eyrie zero-opinions design. Tests cover the decision tree and bad-config guards. CI fully green.

Nits: WithFallback silent no-op, missing CHANGELOG entry, consider WithMaxIdleConns.
Must-do: none.

@Patel230 Patel230 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Approving content — clean refactor that aligns with eyrie zero-opinions design. Tests cover the decision tree and bad-config guards. CI fully green.

Nits (non-blocking):

  • codeagent/retry.go WithFallback silently no-ops on unknown errorType; doc-link classifyError
  • storage/sqlite.go consider WithMaxIdleConns later
  • No CHANGELOG entry

Must-do: none.

@Patel230 Patel230 merged commit cac004d into main Jun 19, 2026
15 checks passed
@Patel230 Patel230 deleted the refactor/configurable-retry-and-sqlite-pooling branch June 19, 2026 08:30
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