Skip to content

Windows advisory: stale-temp sweep and fingerprint-store-blocked rows fail on hosted Windows #10344

Closed

Description

@EffortlessSteven

Two rows fail in the full windows-advisory job on #10111 head baad210 (job 121133746647). Neither one touches code #10111 changes. Each failed in all three repetitions the job runs.

  1. stale_temp_sweep::next_run_removes_an_old_stranded_temp_file_and_keeps_a_young_one
    • Panics at crates/ripr/tests/stale_temp_sweep.rs:147 with warm run 0 must sweep aged residue.
    • A .ripr-atomic-111-444-0.tmp planted one hour in the past survives a warm ripr check on Windows.
    • The backdating (plant, which sets mtime) or the sweep's age test may not hold on NTFS or under the runner's clock. Not diagnosed yet.
    • It also failed on the earlier full job 121055915286.
  2. analysis::seam_inventory::tests::given_fingerprint_store_blocked_then_failure_row_names_stage
    • Fails at seam_inventory.rs:9410 with left: 0, right: 1.
    • A file at target/ripr/cache/repo-corpus-fingerprint blocks the store directory, yet no corpus_fingerprint_store failure row is produced on Windows.
    • Either the Windows store path doesn't hit that file, or the error is swallowed. Not diagnosed yet.
    • It did not fail on job 121055915286 (b91e80a), so it is newer on main or intermittent.

Goal it hurts: Windows host consistency (#9660). Both are honest-failure surfaces: residue cleanup and a store failure that should be named.

Owner: unowned. A fix needs a Windows-capable proof (the windows-advisory job).

Found while driving #10111. The other rows in that job are this PR's oracles (fixed there), the #9688 real-ACL rows (fail closed by design), and the shallow-base rows (pr_evidence_with_missing_artifacts_writes_error_packet, check_worktree_projects_worktree_scope_on_stderr, the quoting/checkout lane).

Activity

  1. added
    status/needs-work
    on Oct 25, 2026
  2. EffortlessSteven commented on Oct 25, 2026

    @EffortlessSteven
    MemberAuthor

    Update from the 02a5e7c run (job 121167687658): both rows above failed again in all three repetitions. Three xtask rows failed once out of three and passed on the other two, so they look intermittent:

    • reports::fixtures::preparation::tests::absent_pin_refuses_all_offline_proxies_without_installation and preparation_child_entry: offline preparation did not reach the rejecting server.
    • tests::check_pr_failure_report_replaces_stale_success_report: remove report-test scratch …: The process cannot access the file because it is being used by another process. (os error 32). A Windows file lock is held during scratch cleanup.

    None of these touch code #10111 changes.


    Generated by Claude Code

  3. EffortlessSteven commented on Oct 25, 2026

    @EffortlessSteven
    MemberAuthor

    #10443 merged as 0afe7db6. On its head, hosted Windows job 121247689755 shows every row this issue named passing:

    • The stale-temp sweep row.
    • The fingerprint-store row, which now takes the documented non-unix branch.
    • The full-history rows (check_worktree_*, pr_evidence_summary), passing with fetch-depth: 0.

    Windows rows that still fail on that job, and who owns each:

    Rows Owner and state
    3 doctor real-ACL rows #9688 (fail-closed by design)
    check_pr_failure_report_replaces_stale_success_report (os error 32) intermittent; recorded here earlier
    packaged_install_provenance_reads_cargos_real_install_record intermittent; recorded here earlier
    python_eval_sweep_refresh::real_unreadable_subtree_marks_corpus_selection_incomplete intermittent; recorded here earlier
    2 gap_corpus_currentness rows #10458 (new). repo-exposure-json printed invalid JSON with exit 0, at the same column in all three occurrences.
    policy_all ×2 (ci_policy_collects_real_cheap_failures_before_expensive_work, policy_all_healthy_fixture_passes_with_original_leaf_reports) test-fixture collision, fix next from this thread

    On the policy_all rows: git init failed with "File exists" while copying hook templates into xtask-policy-all-<pid>-<nanos>. Six tests in one process name their fixture only by pid and wall-clock nanos, so two parallel tests can share a directory. The fix is a per-process counter in the name.

    I'm leaving this issue open until the policy_all fix lands. The ACL rows and #10458 have their own owners.


    Generated by Claude Code

  4. EffortlessSteven commented on Oct 26, 2026

    @EffortlessSteven
    MemberAuthor

    #10478 (34e5813f) and #10523 (453b6022) have landed, so every row this issue owns is fixed. On #10523's head, the hosted Windows job 121357299487 passes:

    • policy_all ×2 (per-process fixture sequence, test(xtask): give policy_all fixtures a per-process sequence number (#10344) #10478).
    • packaged_install_provenance_reads_cargos_real_install_record. The cause was deterministic, not intermittent: Cargo's install record names the bin ripr.exe on Windows, and the check now matches ripr{EXE_SUFFIX}.
    • check_pr_failure_report_replaces_stale_success_report. The os error 32/33 cleanup race is now retried, bounded at 5 s.

    The only Windows failures left on that job are the 3 doctor real-ACL rows and eval_sweep_refresh::…real_unreadable_subtree_marks_corpus_selection_incomplete. All four fail with the named NOT_ESTABLISHED instrument refusal, which the #9688 decision keeps red on purpose. The gap_corpus_currentness JSON rows stay with #10458; they did not fail on this run.

    Closing as completed.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions