Repository navigation
Commit 804c743
ADFA-4128: absorb a mid-rebuild save only when its mtime proves it predates the rebuild
A filesystem that truncates mtimes to whole seconds can stamp a save made just
after a proxy app rebuild started with an mtime just before it. The echo split
then folded it into the absorbed set and onBaselineReset dropped it: the edit
never built and nothing said so.
An mtime on a whole-second boundary is now taken as truncated and must predate
the rebuild start by 2 s (the FAT step) to absorb. A flat margin on every mtime
would instead strand a genuinely pre-start save on every filesystem, because the
watcher's debounce (150 ms quiet, 1 s cap) puts such a save's mtime within a
second of the start; four of the existing F4 echo tests go red under it. A file
the rebuild already holds keeps the exact cutoff, since its arrival is the echo
the split exists to absorb.
Review thread: #1718 (comment)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XkGof8cLt23LkxZ8MKzin21 parent bffbc5b commit 804c743
2 files changed
Lines changed: 60 additions & 1 deletion
File tree
- quickbuild/core/src
- main/java/org/appdevforall/cotg/quickbuild/domain/reload
- test/java/org/appdevforall/cotg/quickbuild/domain/reload
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
496 | 511 | | |
497 | 512 | | |
498 | 513 | | |
| |||
506 | 521 | | |
507 | 522 | | |
508 | 523 | | |
509 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
510 | 534 | | |
511 | 535 | | |
512 | 536 | | |
| |||
863 | 887 | | |
864 | 888 | | |
865 | 889 | | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
866 | 896 | | |
867 | 897 | | |
868 | 898 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
729 | 758 | | |
730 | 759 | | |
731 | 760 | | |
| |||
0 commit comments