Skip to content

Fix Heart Health writeback when main advances #368

Done

Description

@Jammy2211

Overview

Heart Health checks out the triggering commit and runs a plain push after writing its README and timing record. On 817362c, the bare-remote reproduction with an independent writer rejected the collector push with main -> main (fetch first). The historical October board outage has since recovered (successful run 45224424012).

Plan

  • Start main-branch reruns from current main so the collector and its timing baselines agree.
  • Permit ordinary fast-forward publication over unrelated README prose edits while preserving the writer's edits. If an intervening change affects collector inputs, timing history or the board strip, stop publication visibly and request a fresh run. Preserve append deduplication in heart.timings.
  • Exercise accepted and conflicting advances, duplicate timing observations and unchanged output with a bare remote. Check the workflow wiring, targeted smoke, independent review and scoped Heart verdict.

Effective level: supervised; merge mode: human /prm.

Implementation

PyAutoHeart only, branch feature/heart-health-rerun-stale-push. Update .github/workflows/heart-health.yml and extract its publication logic into a script called by that step. Fetch main even for an unchanged snapshot. Validate intervening changes against the collection base, update only the marked README block and generated timing entries, and rely on a normal push for the final race. Add a bare-remote regression in tests. Release rehearsal is outside this repair.

Activity

  1. Jammy2211 commented on Nov 24, 2026

    @Jammy2211
    ContributorAuthor

    PR #369 is open for human review. The workflow, writeback helper and regression tests are confined to Heart. Targeted smoke selected no workspace scripts, and dashboard and timing imports passed. The bare-remote regression passed in all four cases, including a repeat publication with one timing row. Independent review returned CLEAN. No downstream workspace edits are needed.

  2. Jammy2211 commented on Nov 24, 2026

    @Jammy2211
    ContributorAuthor

    Shipped

    Merged 2026-11-24 via /prm: #369 — Heart Health reruns now publish safely after main advances (stale-push writeback fixed). Issue was already closed by the PR.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions