Skip to content

Accept TOML-style retry and pubinterval settings - #141

Merged
alowrydi merged 2 commits into
mainfrom
fix-toml-retry-settings
Oct 8, 2026
Merged

alowrydi merged 2 commits into
mainfrom
fix-toml-retry-settings

Conversation

@alowrydi

@alowrydi alowrydi commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Added .toml parsing functionality to run against POC

di.torq.servers converts retry and discoveryretry, and di.torq.proc.chainedtp converts
pubinterval, from a timespan, a "0D00:00:10" string or a number of seconds; chainedtp also takes
logdir as a path string. TOML has no timespan type, so these settings can now live in .toml files.
New test rows fail on the previous code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DI-Software-Engineering

Copy link
Copy Markdown

DIReview Summary

1 critical | 1 warning(s) | 1 suggestion(s)

⚠️ Spec check skipped — tracker lookup failed (NO_REF_FOUND). Standards axis only.

Suggestions

  • di/torq/servers/servers.q:35 — totimespan is defined identically in both servers.q and chainedtp.q. This duplication means a bug fix or behaviour change must be applied in two places. Extract it into a shared utility (e.g. di.util) and use it from both modules.

@alowrydi
alowrydi requested a review from eohara-di October 8, 2026 14:30
Comment thread di/torq/servers/servers.md Resolved
@alowrydi
alowrydi merged commit 17307c2 into main Oct 8, 2026
@alowrydi
alowrydi deleted the fix-toml-retry-settings branch October 8, 2026 15:18
alowrydi added a commit that referenced this pull request Oct 14, 2026
- #141 (toml retry/pubinterval): already carried here; keep this branch's
  versions, plus main's servers.md wording.
- torq.q builtin dict: main's sort/sortworker plus tickerlogreplay/segmentedchainedtp.
- wdb.q: main's full port, with this branch's subscription path reapplied:
  .sub.subscribe via .sub.getsubscriptionhandles, fixpartition on sd`d (skipped
  on re-init, when .sub.subscribe returns ()), root endofday dyadic for the
  segmented tickerplant, triadic endofperiod stub, .u.end unchanged.
- wdb tests: fake tickerplant answers as a segmented one, found through a real
  di.torq.servers; config merges settings/default.q; freshwdb clears
  .sub.SUBSCRIPTIONS; end of day driven through .u.end; endofperiodstub sends
  three arguments. No expected values changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

3 participants