Repository navigation
Compare effective times with epochMicros in TS Contradictions.settle - #167
Merged
arrry-hydraDB merged 1 commit intoNov 16, 2026
Merged
Conversation
|
This is PR 2 of 3 you may keep open at a time. |
| ]); | ||
| } | ||
| return { warnings, versions }; | ||
| await graph.insert.facts({ |
Collaborator
There was a problem hiding this comment.
This conflicts with main now. The withdrawn source block added there also creates person:cid, so please rebase and rename the people in this case, in py_side.py too.
3 tasks done
Contributor
Author
|
Rebased onto |
kruschdev
force-pushed
the
fix/ts-settle-epoch-micros
branch
from
November 16, 2026 10:01
14abf0a to
e54f3d4
Compare
| const at = this.times.get(by)!; | ||
| if (!retired.has(old)) slots.push(old); | ||
| if (!retired.has(old) || at.getTime() < retired.get(old)![1].getTime()) { | ||
| if (!retired.has(old) || epochMicros(at) < epochMicros(retired.get(old)![1])) { |
Collaborator
There was a problem hiding this comment.
The fix looks good. #58 just merged and the conformance files conflict now, so please rebase and keep both cases.
Contributor
Author
|
Rebased onto |
kruschdev
force-pushed
the
fix/ts-settle-epoch-micros
branch
from
November 16, 2026 14:43
e54f3d4 to
478db6f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
epochMicrosfor the effective-time comparisons inContradictions.settle(typescript/src/ops.ts), including choosing the earliest displacer across capped endpoints and checkingepochMicros(at) !== epochMicros(ended[1])andepochMicros(at) < epochMicros(ended[1])when updating already-ended relations.typescript/test/temporal.test.tsand cross-language conformance (typescript/test/conformance/py_side.pyandtypescript/test/conformance/ts_side.ts).Linked issue
Closes #158
AI Assistance
Checklist
/approved.Breaking changes
None.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.