Skip to content

feat(CT-45): Add preflight build checks before deployment - #178

Merged
Qoder-Voidd merged 4 commits into
Akazajan:mainfrom
Timrossid:fix/ct-45-preflight-checks
Jul 28, 2026
Merged

feat(CT-45): Add preflight build checks before deployment#178
Qoder-Voidd merged 4 commits into
Akazajan:mainfrom
Timrossid:fix/ct-45-preflight-checks

Conversation

@Timrossid

Copy link
Copy Markdown
Contributor

Summary

Adds preflight build checks that validate the contract workspace before deployment.

Changes

  • scripts/preflight-check.sh: Comprehensive preflight validation script with modes:
    • Default: full validation (formatting, clippy, debug build, release build, tests, deps)
    • --fast: skips release build and full test suite
    • --ci: matches CI pipeline checks
    • --deploy: extends with wasm hash verification

Acceptance Criteria

  • Deployment scripts fail fast on incomplete or broken builds
  • Validation covers compilation and test prerequisites
  • Operators can run checks locally before deployment

Closes #124

- Create scripts/preflight-check.sh with multiple validation modes
- Validates: formatting, clippy, debug build, release build, tests, deps
- --fast mode skips release build & full test suite for quick checks
- --deploy mode extends with wasm hash generation
- Fails fast on incomplete or broken builds
- Provides clear pass/fail summary for operators

Closes Akazajan#124
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Timrossid Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Qoder-Voidd Qoder-Voidd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Qoder-Voidd
Qoder-Voidd merged commit 8d2dabd into Akazajan:main Jul 28, 2026
1 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CT-45 — Add preflight build checks before deployment

2 participants