refactor(store): rename LogEntry.ts → LogEntry.timestamp #114

Merged
xiaoju merged 2 commits from refactor/113-logentry-timestamp into main 2026-04-25 02:28:39 +00:00
Owner

What

Rename LogEntry.tsLogEntry.timestamp for consistency with #108.

Changes

  • logs table column tstimestamp, index renamed
  • All SQL, type defs, consumers across daemon/cli/store updated
  • Integration tests use mkdtempSync to avoid stale DB conflicts
  • Breaking: existing logs.db needs to be deleted (no migration, internal dev stage)

19 files, 378 tests pass.

Fixes #113

## What Rename `LogEntry.ts` → `LogEntry.timestamp` for consistency with #108. ## Changes - `logs` table column `ts` → `timestamp`, index renamed - All SQL, type defs, consumers across daemon/cli/store updated - Integration tests use `mkdtempSync` to avoid stale DB conflicts - **Breaking**: existing `logs.db` needs to be deleted (no migration, internal dev stage) 19 files, 378 tests pass. Fixes #113
xiaoju added 1 commit 2026-04-25 02:09:46 +00:00
- Rename logs table column ts → timestamp (no migration, breaking)
- Update all SQL, type definitions, and consumers
- Integration tests use mkdtempSync to avoid stale DB conflicts

Fixes #113
xiaoju added 1 commit 2026-04-25 02:25:18 +00:00
- Rename logs & workflow_runs table column ts → timestamp (breaking, no migration)
- Update all SQL, types, mocks, CLI output, and tests
- Integration tests use mkdtempSync to avoid stale DB conflicts

Fixes #113
xingyue approved these changes 2026-04-25 02:28:15 +00:00
xingyue left a comment
Owner

LGTM 🟢 ThreadRoundRow.timestamp 已修复,全面统一完成。

LGTM 🟢 ThreadRoundRow.timestamp 已修复,全面统一完成。
xiaoju merged commit 47d23bc1a7 into main 2026-04-25 02:28:39 +00:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/nerve#114