Skip to content

Bound Pages preview health checks to tolerate observed deployment propagation #396

Closed

Description

@coisa

Observed failures (not application/test failures)

Single source / current contract

.github/actions/github-pages/verify-deployment/action.yml defaults attempts=6, delay=5; run.sh polls each configured URL. Legacy .github/workflows/reports.yml calls this action for main and PR checks. Native asset hash propagation was separately addressed by #364; do not duplicate or regress that implementation.

Proposed small correction

Use a bounded propagation budget for this health-check action (e.g. 12 checks,10s interval), with explicit curl connection/total timeouts, keeping final nonzero failure for missing/broken deployments. Preserve configurable attempts/delay and validate bounded positive inputs. No infinite retry, workflow reruns, publishing changes, credentials/permission changes, or status success without actual successful HTTP response.

Acceptance

Deterministic fake curl/sleep tests:404→200 succeeds; persistent404/500 and network timeout exhaust budget and fail; success exits immediately; multiple paths checked; input validation rejects zero/malformed/unbounded values; timeout options passed. Document timing budget, retain failure annotations and gate behavior.

This is a robustness improvement backed by two propagation incidents, not a diagnosed application defect. Related historical #70 and native-only #364; separate from guard diagnostics #394/#395.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions