← Back to Pull requests

deploy(render): the walk makes no service when render.yaml's image isn't published #3375

Open
unknown opened this pull request with 390 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 21, 2026 05:34 UTC
Author

Why

A release PR moves render.yaml's pin before the release's image is published. Tonight that window is hours: release: 0.1.0-beta.50 merged at 00:16Z, and the release run is waiting for npm-release approval, so ghcr.io/parcha-ai/agentrun-server:v0.1.0-beta.50 isn't on GHCR yet. The daily walk's Render row deploys render.yaml's image. In that window it makes a paid service whose deploy fails at the pull, waits on the deploy, and reports only "deploy failed".

What

  • deploy/render/walk.mjs:

  • - New imagePublished(ref). It asks GHCR for the tag the way an anonymous pull does: a token for repository:<repo>:pull, then a HEAD of the manifest, accepting both index and manifest types. It returns true on 200 and false on 404. It returns undefined when it can't tell: another registry, a digest, any other status, or a network failure.
    - Before the walk makes its service (after it deletes an earlier walk's leftover), a false stops it with nothing made. The report names the missing tag and says the Deploy to Render button fails the same way. true adds an "image published" row. undefined leaves Render's pull to decide, as before.
  • changes/render-walk-image-published.md (ci).
  • Evidence

  • packages/serve/test/render-walk.test.mjs, 7/7:

  • - The lookup: the requests it sends; 200 → true, 404 → false; 401, 429, 500 and a network error → undefined; a non-GHCR ref, a digest or a missing tag sends nothing.
    - The walk: run as a process with Render's API and GHCR stubbed (404). It exits 1 with no POST or DELETE sent, and the report holds is not published … nothing made and no cost row. With the throw disabled, this test fails on "no service made".
  • Live, against GHCR at 05:4xZ: v0.1.0-beta.49 true, v0.1.0-beta.50 false, beta true.
  • Test plan

  • node --test packages/serve/test/render-walk.test.mjs

  • node scripts/changes.mjs --check

  • CI
  • 🤖 Generated with Claude Code

    <!-- codesmith:footer -->
    ---
    <a href="https://dashboardbackend.blacksmith.sh/track/run-proof?expires=1797831287&installation_model_id=431113&pr_number=3375&ref=codesmith_pr_footer&repository=Parcha-ai%2Fagentrun&return_to=https%3A%2F%2Fgithub.com%2FParcha-ai%2Fagentrun%2Fpull%2F3375&variant=see_it_in_action&signature=c039f74b1f7bb3c9a8a901308c899e4bd6c6c482abcde8083e06ecb1d2ecde5c"><picture><source media="(prefers-color-scheme: dark)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-see-it-in-action-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://pr-comments-assets.blacksmith.sh/codesmith/proof-see-it-in-action-v2-light.svg"><img alt="See it in action" src="https://pr-comments-assets.blacksmith.sh/codesmith/proof-see-it-in-action-v2-dark-3x.png" width="132" height="28"></picture></a>
    <sup><a href="https://app.blacksmith.sh/Parcha-ai/codesmith/agentrun/pr/3375?autoLogin=true&ref=codesmith_pr_footer">Open in [code]smith</a> · Need help on this PR? Tag <code>@codesmith-bot</code> with what you need.</sup>

    <!-- codesmith:autofix:disabled -->
    <!-- /codesmith:footer -->

    Diff: 390 lines (+292 / -98) across 4 files Reviewer: greptile-apps[bot] Review duration: 12m
    All Vouch review confidence checks passed
    Residual risk 0.39 = Change Risk (0.66) × (1 − Review Confidence (0.40)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.66 · 390 lines diff across 4 files
    0.66
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    40%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.357
    Shallow Review Depth shallow_review_depth
    0.344
    Sensitive Paths sensitive_paths
    0.066
    Real PR Conversation Timeline
    1 comments
    "Review active on #3375"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 40.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 66.3% (HIGH) · Higher = larger blast radius
    66.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 40.5% · Lower = rushed or shallow review
    40.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 39.5% · Moderate risk
    39.5%