Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ca39e18
refactor: reorganize and fix compilation errors for no_std support
avrabe Jun 3, 2025
3ac44df
fix: reduce compilation errors and disable problematic features
avrabe Jun 3, 2025
a83e8b4
fix: continue reducing compilation errors in no_std mode
avrabe Jun 3, 2025
9f1ce8b
fix: resolve compilation issues and improve API consistency
avrabe Jun 4, 2025
87e61f5
docs: update architecture documentation and requirements
avrabe Jun 4, 2025
3e9cd36
feat(component): enhance async runtime and resource management
avrabe Jun 4, 2025
8b9b21d
fix(debug): remove conflicting panic handlers and improve decoder
avrabe Jun 4, 2025
d8878dc
refactor(foundation): improve error handling and core types
avrabe Jun 4, 2025
7d4066f
enhance(instructions): improve host functions and control flow integrity
avrabe Jun 4, 2025
b064bbd
feat(platform): enhance threading and hardware optimizations
avrabe Jun 4, 2025
f2a18f3
feat(runtime): comprehensive execution engine improvements
avrabe Jun 4, 2025
0039c41
feat: finalize main library and daemon integration
avrabe Jun 4, 2025
c61e461
fix: finalize panic handler system and test infrastructure
avrabe Jun 4, 2025
b0a9c26
feat\!: advance no_std migration with comprehensive runtime enhancements
avrabe Jun 5, 2025
dad225b
feat(docs): introduce unified safety classification system
avrabe Jun 6, 2025
f9e53d3
feat(runtime): add unified type system for cross-crate compatibility
avrabe Jun 6, 2025
f4520d3
fix(platform): resolve duplicate panic handler conflicts in workspace…
avrabe Jun 6, 2025
4b191b8
build: update workspace configuration for no_std migration
avrabe Jun 6, 2025
f949f21
feat: complete no_std migration across all crates
avrabe Jun 6, 2025
b1d020f
feat(foundation): enhance no_std compatibility and bounded collections
avrabe Jun 6, 2025
55bd74f
feat(component): comprehensive resource management and async improvem…
avrabe Jun 6, 2025
043c4d3
feat(runtime): enhance execution engine with unified type system inte…
avrabe Jun 6, 2025
f048141
feat: enhance core infrastructure crates for production readiness
avrabe Jun 6, 2025
83b73d7
feat: complete no_std migration for utility and tool crates
avrabe Jun 6, 2025
93dc309
feat: complete unified agent system implementation and resource manag…
avrabe Jun 7, 2025
0b5b485
chore: clean up temporary development documentation
avrabe Jun 7, 2025
d1c698a
fix: resolve final compilation issues and complete no_std migration
avrabe Jun 7, 2025
32d704f
feat: finalize no_std migration with enhanced safety and documentatio…
avrabe Jun 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
62 changes: 61 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ jobs:
pip3 install -r docs/source/requirements.txt
- name: Run Strict Documentation Check (Daggerized)
run: cargo xtask check-docs-strict
- name: Initialize Requirements File (if missing)
run: cargo xtask init-requirements
- name: Run Requirements Verification
run: cargo xtask verify-requirements
- name: Generate Safety Summary for Documentation
run: cargo xtask generate-safety-summary

core_tests_and_analysis:
name: Core Tests, Analysis & Coverage
Expand Down Expand Up @@ -106,6 +112,10 @@ jobs:
run: cargo xtask SecurityAudit
- name: Run Coverage Tests (Daggerized)
run: cargo xtask Coverage # This xtask should produce lcov.info and junit.xml
- name: Run Basic Safety Checks
run: |
cargo test -p wrt-foundation asil_testing -- --nocapture || true
cargo xtask check-requirements || cargo xtask init-requirements
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
Expand All @@ -121,12 +131,62 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./target/coverage/junit.xml # Ensure this path is correct

safety_verification:
name: SCORE-Inspired Safety Verification
runs-on: ubuntu-latest
# Run safety verification on all pushes and PRs
steps:
- uses: actions/checkout@v4
- name: Cargo Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-safety-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install xtask dependencies
run: cargo build --package xtask
- name: Check Requirements File
run: cargo xtask check-requirements
continue-on-error: true
- name: Initialize Requirements if Missing
run: cargo xtask init-requirements
if: failure() # Only run if check-requirements failed
- name: Run ASIL Test Suite
run: cargo test -p wrt-foundation asil_testing -- --nocapture
continue-on-error: true
- name: Generate Comprehensive Safety Report (JSON)
run: cargo xtask safety-report --format json --output safety-verification-full.json
- name: Generate Comprehensive Safety Report (HTML)
run: cargo xtask safety-report --format html --output safety-verification-report.html
- name: Generate Safety Dashboard
run: cargo xtask safety-dashboard
- name: Upload Safety Artifacts
uses: actions/upload-artifact@v4
with:
name: safety-verification-artifacts
path: |
safety-verification-full.json
safety-verification-report.html
docs/source/_generated_safety_summary.rst
retention-days: 90
- name: Safety Verification Gate
run: cargo xtask ci-safety --threshold 70.0 --fail-on-safety-issues --json-output

extended_static_analysis:
name: Extended Static Analysis (Miri, Kani)
runs-on: ubuntu-latest
# Only run this job if the workflow was manually dispatched AND the input was true
if: github.event_name == 'workflow_dispatch' && github.event.inputs.run_extended_analysis == true # Compare to boolean true
needs: [ci_checks_and_docs, core_tests_and_analysis] # Optional: wait for other jobs
needs: [ci_checks_and_docs, core_tests_and_analysis, safety_verification] # Optional: wait for other jobs
steps:
- uses: actions/checkout@v4
- name: Cargo Cache
Expand Down
108 changes: 8 additions & 100 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = [
# "wrt-safety", # TODO: Create wrt-safety crate
"wrt",
"wrtd",
"xtask",
Expand All @@ -22,8 +23,7 @@ members = [
"wrt-verification-tool",
"wrt-test-registry",
"wrt-platform",
"wrt-tests/integration",
]
"wrt-tests/integration"]
resolver = "2" # Use edition 2021 resolver

[workspace.package]
Expand All @@ -39,8 +39,10 @@ wit-bindgen = "0.41.0"
dagger-sdk = { version = "0.18.6", features = ["codegen"] }

# Internal crate versions
# wrt-safety = { path = "wrt-safety", version = "0.2.0", default-features = false }
wrt = { path = "wrt", version = "0.2.0", default-features = false }
wrt-error = { path = "wrt-error", version = "0.2.0", default-features = false }
wrt-error-ng = { path = "wrt-error-ng", version = "0.2.0", default-features = false }
wrt-sync = { path = "wrt-sync", version = "0.2.0", default-features = false }
wrt-format = { path = "wrt-format", version = "0.2.0", default-features = false }
wrt-foundation = { path = "wrt-foundation", version = "0.2.0", default-features = false }
Expand Down
Loading
Loading