Skip to content

feat: add file system integration tests to CI#23

Merged
bkontur merged 16 commits intodevfrom
feat/fs-integration-tests
Mar 2, 2026
Merged

feat: add file system integration tests to CI#23
bkontur merged 16 commits intodevfrom
feat/fs-integration-tests

Conversation

@mudigal
Copy link
Collaborator

@mudigal mudigal commented Feb 28, 2026

Summary

Solving - #22

  • Add ci_integration_test.rs example that runs the full file system workflow: create drive, create directories, upload/download files
  • Add fs-demo-ci command to justfile with configurable chain/provider URLs
  • Update CI workflow to run file system integration test after the Layer 0 demo test

The test uses the same CI infrastructure (chain on port 2222, provider on port 3333) and verifies:

  • Drive creation with automatic bucket/agreement setup
  • Directory creation (nested structure)
  • File upload and download
  • Content verification

Test plan

  • CI integration tests pass
  • File system workflow completes successfully

🤖 Generated with Claude Code

- Add ci_integration_test.rs example that runs the full file system
  workflow: create drive, create directories, upload/download files
- Add fs-demo-ci command to justfile with configurable chain/provider URLs
- Update CI workflow to run file system integration test after the
  Layer 0 demo test

The test uses the same CI infrastructure (chain on port 2222, provider
on port 3333) and verifies:
- Drive creation with automatic bucket/agreement setup
- Directory creation (nested structure)
- File upload and download
- Content verification
- Add RELAY_PORT, CHAIN_PORT, PROVIDER_PORT variables
- Add RELAY_WS, CHAIN_WS, PROVIDER_URL constructed from ports
- Replace all hardcoded ports/URLs with variables
- Simplifies overriding ports for different environments
@mudigal mudigal requested a review from bkontur February 28, 2026 08:00
Remove hardcoded defaults - justfile is now the single source of truth
for network configuration.
The runtime was built with SDK commit c7b9c08 (2026-01-28) but CI
downloaded binaries from polkadot-stable2512 tag (2025-12-19). This
version mismatch caused polkadot-omni-node to fail executing the
runtime WASM in CI, while working locally due to cached binaries.

Changes:
- Update all SDK references to polkadot-stable2512-2 (00fbc91)
- Fix generate_session_keys API change (signature changed in new SDK)
- Add node_spawn_timeout = 240 to zombienet.toml for slower CI
@bkontur
Copy link
Collaborator

bkontur commented Mar 2, 2026

I need to fix flaky CI before merging this #25

mudigal and others added 8 commits March 2, 2026 14:06
Explicitly specify that the collator needs 'aura' keys in its keystore.
This ensures zombienet properly creates the Aura signing keys needed
for block production.
@bkontur bkontur force-pushed the feat/fs-integration-tests branch from 410fca6 to f2bb41c Compare March 2, 2026 20:59
@bkontur bkontur enabled auto-merge (squash) March 2, 2026 21:02
@bkontur bkontur merged commit 98aabb7 into dev Mar 2, 2026
9 checks passed
@bkontur bkontur deleted the feat/fs-integration-tests branch March 2, 2026 21:29
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.

2 participants