Skip to content

test: make later-epoch delta-read rewrite deterministic - #7904

Merged
kunchenguid merged 1 commit into
kunchenguid:mainfrom
WTF-Am-ID:fm/up-fm-6404
Oct 28, 2026
Merged

kunchenguid merged 1 commit into
kunchenguid:mainfrom
WTF-Am-ID:fm/up-fm-6404

Conversation

@WTF-Am-ID

@WTF-Am-ID WTF-Am-ID commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #6404

Review was single-family Codex by the owner's temporary choice.

The following scenarios were covered by bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh, rather than driven live:

  • Repeated deterministic fixture runs and the delayed-write baseline/candidate comparison.
  • Same-second fractional-timestamp rewrite detection.
  • Rejection of disposable prefix-integrity and timestamp-key mutations.

The two unshimmed live-reader checks covered a same-inode rewrite and a genuine truncation.
Firstmate approved the Test step's live-validation exception on that basis.

Intent

ok same instructions i gave you before pick high value issues from scan, in all the repos you scanning and use codex only to close them

Context: this task is scan pick P8: upstream issue #6404 in kunchenguid/firstmate. The later-epoch delta-read rewrite fixture can observe the truncate-before-write gap and fail with reason=truncated. Triage contract class: restore. Scan notes for this pick:
Issue: #6404

The later-epoch delta-read rewrite fixture can observe the truncate-before-write gap and fail with reason=truncated.
The latest maintainer note names a remaining CI race after the original same-second race was fixed.
Size S.
Contract class: restore.
Maintainer triage.

Evidence: tests/fm-remote-delta-read.test.sh:116-121 starts a reader, sleeps 1.1 seconds, then rewrites with > before asserting prefix-changed at line 124.

Competing work: The exact reference in #6407 says its own turn-end test has the same timing-dependency class. It does not fix this delta-read fixture. #7822 changes remote reply collection files, not this test. #7068 fixes other named CI races. No complete target found.

Closure test: Replace the later-epoch write/read race with deterministic sequencing while preserving same inode, same size and prefix-change coverage. Repeated runs must always report prefix-changed, never win by relaxing the assertion to accept truncated. Disable the subsecond/stat or prefix-integrity detection in a temporary mutation and prove the relevant regression fails. Run bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh. Do not claim the old same-ctime race is still present.
The owner approved fixing the scan's high-value picks upstream through PRs, written and reviewed by Codex only.

What Changed

  • Replaced the sleep-based later-epoch rewrite in tests/fm-remote-delta-read.test.sh with deterministic sequencing through the existing stat and hash shims.
  • Added device, inode, size, and rewritten-prefix hash checks while retaining the strict reason=prefix-changed assertion and same-second coverage.

Risk Assessment

✅ Low: The test-only change deterministically sequences the rewrite while preserving same-inode, same-size, later-epoch and prefix-change coverage.

Testing

Two unshimmed live reader checks passed. Three focused runs, the delayed-write baseline/candidate comparison, and two mutation checks passed their expected controlled-test outcomes but do not establish live results for scenarios 3–5. CLI responses and logs were retained. No visual surface, lint, full-suite run, or source edits.

  • Live validation: ⚠️ inconclusive - 2 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Rewrite a waiting reader's log in place: preserve device, inode and size, then receive prefix-changed with offset 11 and the rewritten hash ✅ pass live live-reader.json: later-epoch-rewrite
Actually shrink the log: receive truncated with offset 2 and the remaining prefix hash ✅ pass live live-reader.json: actual-truncation
Run the deterministic fixture repeatedly and with delayed writes: candidate requires prefix-changed while the baseline reproduces truncated ⏸️ untested no The prior payload records controlled regression checks using stat and hash dependency shims, so it did not establish a live result for this scenario. Separate unshimmed checks do not establish this fi…
Retain same-second fractional-timestamp rewrite detection alongside the later-epoch case ⏸️ untested no The prior payload records synthetic stat timestamps controlling the fractional change, so it did not establish a live result for same-second fractional-timestamp rewrite detection.
Disable prefix checking or timestamp identity fields in disposable copies: the revised regression rejects both mutations ⏸️ untested no The prior payload records controlled mutation tests against altered disposable product copies, so it did not establish a live result for this scenario.
Evidence: Verification report

Source: Verification report

# Issue 6404 focused verification

Candidate: `d85b4d839c3fadadc2df30cb26c047baf41e9e2c`. Baseline fixture: `417cec2feb4e2976c0acdb2527b87b3ccc71535f`.

The candidate changes only the test. No permanent source or test edits were made during this phase. No LLM, fleet, or Herdr lifecycle was invoked.

## Real reader checks

`bash -x bin/fm-remote-delta-read.sh state/replies.status 11 <original-prefix-sha256> 10` ran against a private home inside the worktree with the real stat, shasum, Perl snapshot, and filesystem. Trace output synchronized the writer after the first unchanged snapshot. The reader was suspended during a real 0.5-second truncate-before-write gap, then resumed after writing and moving mtime forward two seconds. No dependency shims were used for these checks.

- Same device, same inode, size 11: output `reason=prefix-changed`, `to_offset=11`, and the SHA-256 of `OMEGA\nbeta\n`.
- Genuine shrink to size 2: output `reason=truncated`, `to_offset=2`, and the SHA-256 of the remaining bytes.

See `live-reader.json` for actual identities, timestamps, exit statuses and complete product responses. Trace logs retain the execution details.

## Focused fixture checks

`TMPDIR="$PWD/.test-6404/tmp" bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh` passed three times. Each run covered the later-epoch rewrite, unchanged same-second fractional-stat regression, device/inode/size assertion, rewritten offset/hash, and surrounding delta-reader cases.

The exported Bash printf delay reproduced the baseline fixture's truncate-before-write failure: exit 1, `reason=truncated`, `to_offset=0`. The same command on the candidate passed. This reproduces the remaining writer gap, not the previously fixed same-ctime race.

The fixture's synthetic stat/hash boundaries make these focused and mutation checks controlled regression evidence rather than additional unshimmed live scenarios.

## Mutation checks

Disposable copies used the candidate runner and dependencies. Both mutations exited 1 at `not ok - the rewritten read did not exit 0` after the preceding four cases passed:

- Prefix-integrity comparison replaced with `if false; then`.
- Both timestamps removed from the poll identity key while retaining size, inode and device.

These failures are expected mutation kills. They are not candidate failures. Complete commands, elapsed times, exit statuses and expected statuses are recorded in `verification-runs.json`. Reproduction driver: `verification-driver.py`. To reproduce from the repository root, first create `.test-6404/tmp` and run `python3 <path-to-verification-driver.py>`. The driver creates disposable copies under `.test-6404`, which must be removed afterwards.

No lint, static analysis, full suite, publication, or other pipeline phase ran. CLI-only change: visual evidence is inapplicable. All disposable copies and private test data were removed after recording evidence.
Evidence: Real reader responses and file identities

Source: Real reader responses and file identities

[
  {
    "scenario": "later-epoch-rewrite",
    "before": {
      "device": 16777234,
      "inode": 586256422,
      "size": 11,
      "mtime_ns": 1793188818771602885
    },
    "after": {
      "device": 16777234,
      "inode": 586256422,
      "size": 11,
      "mtime_ns": 1793188820771602885
    },
    "exit": 0,
    "stdout": "schema=fm-remote-delta.v1\nstatus=continuity-broken\npath=state/replies.status\nfrom_offset=11\nto_offset=11\nfrom_prefix_sha256=e49c81e2d2f84e259d40e2fb8192f3bcd198b355184845d76d8f58807d0d78ee\nto_prefix_sha256=105574d777006ec9bddf92f16dae3a0b7aaec1a3161e63033aa041014ec15223\npayload_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\npayload_bytes=0\nreason=prefix-changed\n\n"
  },
  {
    "scenario": "actual-truncation",
    "before": {
      "device": 16777234,
      "inode": 586256422,
      "size": 11,
      "mtime_ns": 1793188819814973652
    },
    "after": {
      "device": 16777234,
      "inode": 586256422,
      "size": 2,
      "mtime_ns": 1793188821814973652
    },
    "exit": 0,
    "stdout": "schema=fm-remote-delta.v1\nstatus=continuity-broken\npath=state/replies.status\nfrom_offset=11\nto_offset=2\nfrom_prefix_sha256=e49c81e2d2f84e259d40e2fb8192f3bcd198b355184845d76d8f58807d0d78ee\nto_prefix_sha256=87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7\npayload_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\npayload_bytes=0\nreason=truncated\n\n"
  }
]
Evidence: Baseline truncate-before-write reproduction

Source: Baseline truncate-before-write reproduction

$ bash -c printf() { if [ "$1" = "OMEGA\nbeta\n" ]; then sleep 0.5; fi; builtin printf "$@"; }; export -f printf; bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh
FM_TEST_BEGIN 2026-10-28T12:00:55Z tests/fm-remote-delta-read.test.sh family=unclassified expected_gate_skip=none
ok - an appended line produces a delta with exact offsets, hashes, and payload
ok - an unchanged log costs one stat per poll and exits 75 at the window
ok - the capture and hashing path runs exactly once a real change lands
ok - a shrunk log breaks continuity as truncated with the remaining hash
not ok - the same-size rewrite was not named prefix-changed (missing: 'reason=prefix-changed')
--- output ---
schema=fm-remote-delta.v1
status=continuity-broken
path=state/replies.status
from_offset=11
to_offset=0
from_prefix_sha256=e49c81e2d2f84e259d40e2fb8192f3bcd198b355184845d76d8f58807d0d78ee
to_prefix_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
payload_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
payload_bytes=0
reason=truncated
FM_TEST_END 2026-10-28T12:01:03Z tests/fm-remote-delta-read.test.sh exit=1 duration_ms=7848 gate_skip=false
FM_TEST_SUMMARY total=1 failed=1 skipped_gate=0 duration_ms=8100
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=7848 failed=1
FM_TEST_SLOWEST rank=1 script=tests/fm-remote-delta-read.test.sh duration_ms=7848

exit=1
Evidence: Candidate delayed-write verification

Source: Candidate delayed-write verification

$ bash -c printf() { if [ "$1" = "OMEGA\nbeta\n" ]; then sleep 0.5; fi; builtin printf "$@"; }; export -f printf; bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh
FM_TEST_BEGIN 2026-10-28T12:00:43Z tests/fm-remote-delta-read.test.sh family=unclassified expected_gate_skip=none
ok - an appended line produces a delta with exact offsets, hashes, and payload
ok - an unchanged log costs one stat per poll and exits 75 at the window
ok - the capture and hashing path runs exactly once a real change lands
ok - a shrunk log breaks continuity as truncated with the remaining hash
ok - a later-epoch same-size in-place rewrite breaks continuity as prefix-changed
ok - a same-second same-size rewrite of the same inode breaks continuity
ok - a removed log breaks continuity as missing
ok - a missing log at the origin cursor keeps waiting until the window closes
ok - an unterminated tail is withheld until the newline completes it
ok - the reader refuses traversal, symlinks, and oversized tail lines
delta-read contract tests complete
FM_TEST_END 2026-10-28T12:00:55Z tests/fm-remote-delta-read.test.sh exit=0 duration_ms=12111 gate_skip=false
FM_TEST_SUMMARY total=1 failed=0 skipped_gate=0 duration_ms=12325
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=12111 failed=0
FM_TEST_SLOWEST rank=1 script=tests/fm-remote-delta-read.test.sh duration_ms=12111

exit=0
Evidence: Prefix-integrity mutation rejected

Source: Prefix-integrity mutation rejected

$ bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh
FM_TEST_BEGIN 2026-10-28T12:01:04Z tests/fm-remote-delta-read.test.sh family=unclassified expected_gate_skip=none
ok - an appended line produces a delta with exact offsets, hashes, and payload
ok - an unchanged log costs one stat per poll and exits 75 at the window
ok - the capture and hashing path runs exactly once a real change lands
ok - a shrunk log breaks continuity as truncated with the remaining hash
not ok - the rewritten read did not exit 0
FM_TEST_END 2026-10-28T12:01:20Z tests/fm-remote-delta-read.test.sh exit=1 duration_ms=16292 gate_skip=false
FM_TEST_SUMMARY total=1 failed=1 skipped_gate=0 duration_ms=16483
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=16292 failed=1
FM_TEST_SLOWEST rank=1 script=tests/fm-remote-delta-read.test.sh duration_ms=16292

exit=1
Evidence: Timestamp-key mutation rejected

Source: Timestamp-key mutation rejected

$ bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh
FM_TEST_BEGIN 2026-10-28T12:01:20Z tests/fm-remote-delta-read.test.sh family=unclassified expected_gate_skip=none
ok - an appended line produces a delta with exact offsets, hashes, and payload
ok - an unchanged log costs one stat per poll and exits 75 at the window
ok - the capture and hashing path runs exactly once a real change lands
ok - a shrunk log breaks continuity as truncated with the remaining hash
not ok - the rewritten read did not exit 0
FM_TEST_END 2026-10-28T12:01:36Z tests/fm-remote-delta-read.test.sh exit=1 duration_ms=15823 gate_skip=false
FM_TEST_SUMMARY total=1 failed=1 skipped_gate=0 duration_ms=16038
FM_TEST_SUMMARY_FAMILY family=unclassified count=1 duration_ms=15823 failed=1
FM_TEST_SLOWEST rank=1 script=tests/fm-remote-delta-read.test.sh duration_ms=15823

exit=1
Evidence: Reproduction driver

Source: Reproduction driver

import os, pathlib, shutil, subprocess, json, hashlib, signal, time, select
root = pathlib.Path.cwd()
scratch = root / '.test-6404'
evidence = pathlib.Path('~/.no-mistakes-upstream-codex/evidence/01M615WTZE3WNR5PSRP781NQD7')
env = os.environ.copy()
env['TMPDIR'] = str(scratch / 'tmp')
records = []
def run(label, command, cwd=root, expected=0):
    t = time.monotonic()
    p = subprocess.run(command, cwd=cwd, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
    text = '$ ' + ' '.join(command) + '\n' + p.stdout + f'\nexit={p.returncode}\n'
    (evidence / (label + '.log')).write_text(text)
    records.append(dict(label=label, exit=p.returncode, expected=expected, elapsed=round(time.monotonic()-t, 3), command=command))
    print(label, 'exit', p.returncode, 'expected', expected, flush=True)
    assert p.returncode == expected, text

def fixture(name):
    dest = scratch / name
    shutil.copytree(root / 'bin', dest / 'bin')
    (dest / 'tests').mkdir()
    for file in ['lib.sh', 'git-config-helpers.sh', 'fm-remote-delta-read.test.sh']:
        shutil.copy2(root / 'tests' / file, dest / 'tests' / file)
    return dest

# The product executable and normal stat/hash programs run without shims.
# Trace the executable only to synchronize after its first unchanged snapshot.
home = scratch / 'live-home'
(home / 'state').mkdir(parents=True)
log = home / 'state' / 'replies.status'
original = b'alpha\nbeta\n'
replacement = b'OMEGA\nbeta\n'
prefix = hashlib.sha256(original).hexdigest()
live = []
for label, payload in [('later-epoch-rewrite', replacement), ('actual-truncation', b'a\n')]:
    log.write_bytes(original)
    before = log.stat()
    reader_env = env.copy()
    reader_env.update(FM_HOME=str(home), FM_REMOTE_DELTA_POLL_SECONDS='0.05')
    process = subprocess.Popen(['bash', '-x', str(root / 'bin/fm-remote-delta-read.sh'), 'state/replies.status', '11', prefix, '10'], env=reader_env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    trace = bytearray()
    deadline = time.monotonic() + 10
    while b'+ sleep 0.05\n' not in trace:
        assert time.monotonic() < deadline, 'reader failed to reach unchanged wait'
        readable, _, _ = select.select([process.stderr], [], [], .1)
        if readable:
            chunk = os.read(process.stderr.fileno(), 65536)
            assert chunk, bytes(trace).decode()
            trace.extend(chunk)
    # At this point the initial prefix check has finished. Suspend the reader
    # while a real in-place writer holds the file truncated before writing.
    os.kill(process.pid, signal.SIGSTOP)
    try:
        with log.open('wb') as stream:
            time.sleep(.5)
            stream.write(payload)
            stream.flush()
            os.fsync(stream.fileno())
        after = log.stat()
        os.utime(log, ns=(after.st_atime_ns, before.st_mtime_ns + 2_000_000_000))
        after = log.stat()
    finally:
        os.kill(process.pid, signal.SIGCONT)
    stdout, stderr = process.communicate(timeout=15)
    trace.extend(stderr)
    output = stdout.decode()
    expected_reason = 'prefix-changed' if label == 'later-epoch-rewrite' else 'truncated'
    assert process.returncode == 0, output
    assert 'reason=' + expected_reason + '\n' in output, output
    assert f'to_offset={len(payload)}\n' in output, output
    assert 'to_prefix_sha256=' + hashlib.sha256(payload).hexdigest() + '\n' in output, output
    assert (before.st_dev, before.st_ino) == (after.st_dev, after.st_ino)
    if label == 'later-epoch-rewrite':
        assert before.st_size == after.st_size == 11
    item = dict(scenario=label, before=dict(device=before.st_dev, inode=before.st_ino, size=before.st_size, mtime_ns=before.st_mtime_ns), after=dict(device=after.st_dev, inode=after.st_ino, size=after.st_size, mtime_ns=after.st_mtime_ns), exit=process.returncode, stdout=output)
    live.append(item)
    (evidence / (label + '-trace.log')).write_bytes(trace)
(evidence / 'live-reader.json').write_text(json.dumps(live, indent=2) + '\n')
print('live unshimmed rewrite/truncation passed', flush=True)

for i in [2, 3]:
    run('focused-' + str(i), ['bash', 'bin/fm-test-run.sh', 'tests/fm-remote-delta-read.test.sh'])

delayed = r'''printf() { if [ "$1" = "OMEGA\nbeta\n" ]; then sleep 0.5; fi; builtin printf "$@"; }; export -f printf; bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh'''
# Shell quotes above are literal Python raw content. No secrets or shell
# interpolation are involved in these authored fixed commands.
run('candidate-delayed-write', ['bash', '-c', delayed])
base = fixture('baseline')
(base / 'tests/fm-remote-delta-read.test.sh').write_bytes(subprocess.check_output(['git', 'show', '417cec2feb4e2976c0acdb2527b87b3ccc71535f:tests/fm-remote-delta-read.test.sh'], cwd=root))
run('baseline-delayed-write', ['bash', '-c', delayed], cwd=base, expected=1)
assert 'reason=truncated' in (evidence / 'baseline-delayed-write.log').read_text()

mutated = fixture('mutation-prefix')
reader = mutated / 'bin/fm-remote-delta-read.sh'
source = reader.read_text()
needle = 'if [ "$ACTUAL" != "$PREFIX" ]; then'
assert source.count(needle) == 1
reader.write_text(source.replace(needle, 'if false; then'))
run('mutation-prefix', ['bash', 'bin/fm-test-run.sh', 'tests/fm-remote-delta-read.test.sh'], cwd=mutated, expected=1)
assert 'not ok - the rewritten read did not exit 0' in (evidence / 'mutation-prefix.log').read_text()

mutated_stat = fixture('mutation-stat')
reader = mutated_stat / 'bin/fm-remote-delta-read.sh'
source = reader.read_text()
needle = 'delta_subsecond "$mtime" && delta_subsecond "$ctime" || KEY='
assert source.count(needle) == 1
# Simulate loss of both timestamp fields from the identity key. Keep the
# real device, inode, size fields, so growth/truncation behavior is unchanged.
reader.write_text(source.replace(needle, needle + '\n  KEY="${KEY%%:*}:${rest#*:}"'))
run('mutation-stat', ['bash', 'bin/fm-test-run.sh', 'tests/fm-remote-delta-read.test.sh'], cwd=mutated_stat, expected=1)
assert 'not ok - the rewritten read did not exit 0' in (evidence / 'mutation-stat.log').read_text()
(evidence / 'verification-runs.json').write_text(json.dumps(records, indent=2) + '\n')
print('all planned verification complete', flush=True)
- Outcome: ⚠️ 1 warning across 1 run (5m10s)

Pipeline

Updates from git push no-mistakes

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

⚠️ **Test** - 1 warning
  • ⚠️ live validation verdict: inconclusive (2 of 5 scenarios were driven live against the product); untested: Run the deterministic fixture repeatedly and with delayed writes: candidate requires prefix-changed while the baseline reproduces truncated, Retain same-second fractional-timestamp rewrite detection alongside the later-epoch case, Disable prefix checking or timestamp identity fields in disposable copies: the revised regression rejects both mutations
  • Live validation: ⚠️ inconclusive - 2 of 5 scenarios driven live against the product
Scenario Result Live Evidence
Rewrite a waiting reader's log in place: preserve device, inode and size, then receive prefix-changed with offset 11 and the rewritten hash ✅ pass live live-reader.json: later-epoch-rewrite
Actually shrink the log: receive truncated with offset 2 and the remaining prefix hash ✅ pass live live-reader.json: actual-truncation
Run the deterministic fixture repeatedly and with delayed writes: candidate requires prefix-changed while the baseline reproduces truncated ⏸️ untested no The prior payload records controlled regression checks using stat and hash dependency shims, so it did not establish a live result for this scenario. Separate unshimmed checks do not establish this fi…
Retain same-second fractional-timestamp rewrite detection alongside the later-epoch case ⏸️ untested no The prior payload records synthetic stat timestamps controlling the fractional change, so it did not establish a live result for same-second fractional-timestamp rewrite detection.
Disable prefix checking or timestamp identity fields in disposable copies: the revised regression rejects both mutations ⏸️ untested no The prior payload records controlled mutation tests against altered disposable product copies, so it did not establish a live result for this scenario.
  • TMPDIR=&#34;$PWD/.test-6404/tmp&#34; bash bin/fm-test-run.sh tests/fm-remote-delta-read.test.sh passed three times.
  • The exported printf command delaying OMEGA\nbeta\n by 0.5 seconds failed on the baseline fixture with reason=truncated and passed on the candidate.
  • The real reader ran without dependency shims against isolated same-inode rewrite and genuine truncation scenarios.
  • Disposable prefix-integrity and timestamp-key mutations each made the focused regression fail as expected.
  • Verified candidate files match d85b4d839c3fadadc2df30cb26c047baf41e9e2c, removed testing scratch, and confirmed a clean working tree.
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@greptile-apps

greptile-apps Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Reviews (1) · Last reviewed commit: "test: sequence later-epoch delta rewrite..." · Reviewed by Greptile

@kunchenguid
kunchenguid merged commit 4a67799 into kunchenguid:main Oct 28, 2026
22 checks passed
@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate: this is merged. Thank you @WTF-Am-ID — really appreciate you taking the time on this.

Test-only change: the later-epoch rewrite now runs through the existing stat/hash shims instead of a 1.1s sleep, and still asserts strictly reason=prefix-changed. CI was 21/21 green on main 417cec2f, and the suite passed twice locally too. #6404 is closed by this.

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.

Flaky test: fm-remote-delta-read same-ctime-second rewrite depends on runner timing

2 participants