generated from BreadchainCoop/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Context
#119 introduces upgrade safety validation and deploy/upgrade guardrail scripts.
This follow-up issue intends to track and improve these workflows.
Objective
Improve reliability, clarity, and operational safety of upgrade validation and deployment scripts used in CI and release processes.
Scope
- Upgrade safety CI workflow (
.github/workflows/upgrade-safety-check.yml) - Upgrade safety script (
scripts/check_upgrade_safety.sh) - Deploy/upgrade scripts:
script/UpgradeValidate.s.solscript/UpgradeExecute.s.solscript/UpgradePostValidate.s.sol
Proposed improvements
- Standardize workflow naming, job naming, and step labeling for clarity.
- Ensure all script/tool invocations are CI-safe and non-interactive.
- Improve script ergonomics:
- clearer errors
- stronger precondition checks
- better logging for operators
- Revisit warning handling strategy (avoid permanent suppression where possible).
- Document expected env vars and recommended execution sequence for upgrades.
- Verify branch/reference assumptions are explicit and consistent (
devbaseline vs PR HEAD).
Acceptance criteria
- CI upgrade safety workflow is stable on PRs to
dev. - Deploy/upgrade scripts have clear failure modes and operator guidance.
- Validation flow is reproducible locally and in CI.
- Documentation covers end-to-end upgrade validation + execution + post-validation steps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels