Skip to content

refactor(bayn): use Effect evidence-store dates - #13631

Merged
gregkonush merged 1 commit into
codex/bayn-effect-tsgo-platform-datesfrom
codex/bayn-effect-tsgo-evidence-store-dates
Aug 10, 2026
Merged

refactor(bayn): use Effect evidence-store dates#13631
gregkonush merged 1 commit into
codex/bayn-effect-tsgo-platform-datesfrom
codex/bayn-effect-tsgo-evidence-store-dates

Conversation

@gregkonush

Copy link
Copy Markdown
Member

Summary

  • Replaces native Date construction in the evidence-store integration boundary with Effect DateTime and Clock.
  • Preserves exact timestamp ordering and stale-expiry behavior without rule suppressions.
  • Keeps this stack layer independently reviewable at 254 changed lines and bases directly on PR refactor(bayn): use Effect platform and date boundaries #13630.

Related Issues

None

Testing

  • bunx tsc --noEmit --project services/bayn/tsconfig.json
  • bun test src/db/evidence-store.integration.test.ts (73 PostgreSQL cases skipped locally because no test URL is configured)
  • bun run lint
  • bun run lint:oxlint
  • bun run lint:oxlint:type
  • bun run build
  • Effect TSGo globalDate, globalDateInEffect, and unnecessaryArrowBlock diagnostics for the file: zero

Breaking Changes

None

Checklist

  • Testing section documents the exact validation performed.
  • Screenshots are not applicable and Breaking Changes is filled in.
  • Documentation and follow-ups are unchanged or represented by later stack layers.

@gregkonush
gregkonush force-pushed the codex/bayn-effect-tsgo-evidence-store-dates branch from 1e5a4f0 to 6369d45 Compare August 10, 2026 07:28
@gregkonush

Copy link
Copy Markdown
Member Author

:shipit:

@gregkonush
gregkonush force-pushed the codex/bayn-effect-tsgo-evidence-store-dates branch 2 times, most recently from c8c28ba to 81bcf76 Compare August 10, 2026 07:39
@gregkonush
gregkonush force-pushed the codex/bayn-effect-tsgo-evidence-store-dates branch from 81bcf76 to f12033e Compare August 10, 2026 07:44
@gregkonush
gregkonush merged commit 8c7b908 into main Aug 10, 2026
17 of 22 checks passed
@gregkonush
gregkonush deleted the codex/bayn-effect-tsgo-evidence-store-dates branch August 10, 2026 11:50
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