Skip to content

fix(validation): preserve result artifact directories - #320

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/isolate-validation-artifacts
Oct 26, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/isolate-validation-artifacts

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #319.

Workspace validation downloaded every result artifact into one directory. Each artifact contains smoke_timings.json, so concurrent writers could corrupt that shared file. Release Integrate run 40288100810 stopped at provenance validation with Extra data in this sidecar before producing its aggregate report.

Preserve one directory per artifact (merge-multiple: false). Existing provenance and aggregation code already recurse through directories. Regression tests verify the workflow boundary, same-named nested sidecars, foreign nested paths, and malformed genuine result shards; the rejection checks remain intact.

Validation

  • Full Heart suite: 1311 passed (82.43 s).
  • Workflow/provenance tests: 38 passed; the pre-fix workflow fails the new directory-isolation witness.
  • Tenant firewall and git diff --check: passed.
  • Retained-artifact replay: downloaded all 47 results-* artifacts from run 40288100810, preserving directories. All 94 JSON files, including 47 same-named sidecars, parse and pass provenance. Unchanged Hands aggregation reports 732 passed, 85 skipped, zero failed over 817 scripts in 47 shards.
  • A controlled overlapping write using two original sidecars reproduces JSON Extra data at a shared destination; the guard still rejects that corruption.
  • This replay validates artifact handling for the retained script surface only. It is not a new release/rehearsal, does not establish current-source freshness, and does not replace adverse smoke or release-readiness evidence. Retained result JSON does not carry library commit pins.

Local evidence: .worktrees/isolate-validation-artifacts/evidence/ (original artifact directories, SHA256 manifest, provenance log, replay report, controlled collision example); full test log in heart-full-tests.log beside the task checkout.

Heart RED development override

Live human authorization on 2026-10-26: "Authorize development override", explicitly covering development on the release blockers needed for the Galaxy dependency. The human approved resolving the PR backlog and green in-turn merges, excluding Pulse #79. This branch fixes the artifact-layout defect; it does not claim Heart is cleared or authorize a release/rehearsal through RED. Current-head CI remains required before a separate merge decision.

Published RED reasons retained verbatim:

  • release validation FAILED (stage integrate)
  • PyAutoHeart/workflows/Release Integrate: failure
  • PyAutoHeart/workflows/Workspace Smoke: failure
  • manifest_drift/checks/workspace checkouts (manifest ↔ disk): red
  • Release readiness: release validation FAILED (stage integrate)
  • autolens: red
  • Workspace validation: NOT ready — 1429p / 1f / 125s @ cloud#40294511523
  • test_run: red
  • Release validation: NOT release_ready — v? profile=? (2026-10-26T07:48:52+00:00)
  • validation_report/stages/integrate: fail
  • PyAutoBrain: red
  • PyAutoLens: red
  • autolens_profiling: red
  • Worktree drift: 1 orphan / 0 missing / 3 dirty

Passed branch gates are listed above; no scientific source, prior bounds, or skip gates changed.

@Jammy2211
Jammy2211 merged commit 15aba81 into main Oct 26, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/isolate-validation-artifacts branch October 26, 2026 16:47
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.

fix: isolate downloaded workspace validation artifacts

1 participant