Skip to content

test: add failure handling tests for deployment scripts#508

Merged
Jagadeeshftw merged 6 commits intoJagadeeshftw:masterfrom
ekumamatthew:test/deployment-script-failure-handling
Feb 26, 2026
Merged

test: add failure handling tests for deployment scripts#508
Jagadeeshftw merged 6 commits intoJagadeeshftw:masterfrom
ekumamatthew:test/deployment-script-failure-handling

Conversation

@ekumamatthew
Copy link
Contributor

  • Add comprehensive test suite (test_all_script_failures.sh) covering all deployment scripts
  • Enhance existing deploy.sh and upgrade.sh test files with additional edge cases
  • Add tests for configuration file missing/invalid scenarios
  • Add tests for environment variable validation failures
  • Create failure tests for rollback.sh and verify-deployment.sh scripts
  • Update CI to run comprehensive test suite
  • Add detailed documentation for tested failure scenarios

Closes #468

- Add comprehensive test suite (test_all_script_failures.sh) covering all deployment scripts
- Enhance existing deploy.sh and upgrade.sh test files with additional edge cases
- Add tests for configuration file missing/invalid scenarios
- Add tests for environment variable validation failures
- Create failure tests for rollback.sh and verify-deployment.sh scripts
- Update CI to run comprehensive test suite
- Add detailed documentation for tested failure scenarios

Closes Jagadeeshftw#468
@vercel
Copy link

vercel bot commented Feb 23, 2026

@ekumamatthew is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Jagadeeshftw
Copy link
Owner

@ekumamatthew fix the pipeline

@Jagadeeshftw
Copy link
Owner

@ekumamatthew

1 similar comment
@Jagadeeshftw
Copy link
Owner

@ekumamatthew

@ekumamatthew
Copy link
Contributor Author

Just got to see your message now

@ekumamatthew
Copy link
Contributor Author

I'm doing that right now

- Fix WASM file path in Stellar build check to use correct relative path
- Add Stellar identity setup step to create grainlify-deployer identity for script tests
- Update stellar keys command to use correct 'ls' subcommand
- Fix WASM file path in Stellar build check to use correct relative path
- Add Stellar identity setup step to create grainlify-deployer identity for script tests
- Update stellar keys command to use correct 'ls' subcommand
- Update test_upgrade_scenarios.rs to use current Soroban SDK API
- Replace env.ledger().with_mut(|l| l.timestamp += 200) with env.ledger().set_timestamp()
- Fixes compilation error with soroban-sdk v21.7.7
@Jagadeeshftw
Copy link
Owner

@ekumamatthew

@ekumamatthew
Copy link
Contributor Author

@ekumamatthew

Hi @Jagadeeshftw ci fails but runs on my end

@ekumamatthew
Copy link
Contributor Author

Well please have a look, I may be missing something I'm nt attentive to. Please help out

@Jagadeeshftw
Copy link
Owner

@ekumamatthew, the cargo test is failing. I believe some of the changes you made impacted the test cases. Please check them. It’s passing in the main branch.

@Jagadeeshftw Jagadeeshftw merged commit 45a00c9 into Jagadeeshftw:master Feb 26, 2026
1 of 4 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.

Add Tests for Deployment Script Failure Handling

2 participants