try-mainnet.sh: wait for the IC API to list a new canister, and add link #43
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 189 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.314
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #43"
general
weight: 0.35
b3hr4d
Behrad's first mainnet run of
try-mainnet.sh install --subnet re2t4-…failed after the wallet was installed. Canisterw7ojd-oyaaa-aaaay-aad6a-caiwas created and installed, then the subnet check failed.ic-api.internetcomputer.org/api/v3/canisters/<id>answered 404, because the API had not listed the new canister yet.curl -ffailed,JSON.parse("")threw,set -estopped the script, and the claim link was never printed.What changes
subnet_ofprints nothing when the API does not list the canister: a 404, a network error or JSON it cannot read.- It retries every 15 seconds for up to five minutes.
- If the API names another subnet, it still stops, and now prints the stop and delete commands.
- If the API still has not listed the canister, it says so, prints the
curlcommand to check later, and goes on to print the claim link.linkprints the installed wallet's claim link again from.icp/try-mainnet/<env>/.linkand the slow listing.Checked
bash -npasses.linkwith a saved key printshttps://<id>.icp0.io/claim#<seed>, the same seed as the install's link. Without state, it exits 1 with "run install first".subnet_ofprints an empty string when the fetch fails, and the name when the JSON hassubnet_id.ic-api.internetcomputer.org.---
_Generated by Claude Code_