Skip to content
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9f8b9ae
Move archive reads and writes onto zip 9.7.0.
cursoragent Nov 17, 2026
867eaca
Move datagram sockets onto quinn-udp 0.5.16.
cursoragent Nov 18, 2026
13d5728
Replace wall-clock timestamps with time.
cursoragent Nov 18, 2026
915aa7c
Keep omitted timestamps and year text compatible with stored JSON.
cursoragent Nov 18, 2026
050af76
Pin the probe lock to quote 1.0.44 and redox_syscall 0.5.17.
cursoragent Nov 18, 2026
4c8eb37
Point clock notes at time and pin candle-core zip exactly.
cursoragent Nov 18, 2026
15e6161
Fail closed on out-of-range clock input and kill the survivor mutants.
cursoragent Nov 18, 2026
1beaa42
Point the hello_companion banner test at the archived console binary.
cursoragent Nov 18, 2026
aaf15e0
Harden duration arithmetic and cover the feature-gated tests.
cursoragent Nov 19, 2026
7b52a75
Merge origin/main into the patched zip and time branch.
cursoragent Nov 20, 2026
7248235
Keep configured deadlines inside the clock range.
cursoragent Nov 20, 2026
3cb7e5f
Store a finite strength for a zero-second temporal window.
cursoragent Nov 20, 2026
e388a99
Match voxel brush display tests to the icon and the name.
cursoragent Nov 20, 2026
042bfc4
Correct editor autosave citations and the audit comment.
cursoragent Nov 20, 2026
401597d
Correct editor cites and run the bin tests in editor CI.
cursoragent Nov 20, 2026
3ba61d4
Gate the editor bin tests on the pull-request archive job.
cursoragent Nov 21, 2026
788afbd
Describe the editor bin step and correct the editor cites.
cursoragent Nov 21, 2026
3463485
Correct the PR 702 link, skipped-job wording, and zip pin comment.
cursoragent Nov 21, 2026
7117ca4
Correct the skip-semantics and rollup wording in the CI docs.
cursoragent Nov 22, 2026
f4cd05b
Bump url to 2.5.9 for RUSTSEC-2026-0592
cursoragent Nov 22, 2026
7c53eb8
Document the full-workspace rollup path and the four cleared advisories.
cursoragent Nov 22, 2026
13b0273
Correct the #756 advisory record and the full=true trigger cite.
cursoragent Nov 23, 2026
d9896c2
Name the pull-request full=true rows in the rollup parenthetical.
cursoragent Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
# `ignore` is a list of advisory IDs. The schema has no reason field;
# the reason and tracking issue live in the comment and in `deny.toml`.
#
# Vulnerability IDs below have no upgrade that keeps the current parents.
# Unmaintained IDs have no patched release. Each one has a tracking issue.
# The IDs below are unmaintained. There is no patched release.
# Each one has a tracking issue.
# zip 1.1.4 is gone. third_party/candle-core is crates.io candle-core 0.8.4
# pinned to zip 9.0.3, the patched line for RUSTSEC-2026-0367, 0368, and 0369.
# pinned to zip 9.7.0, patched for the advisories it addresses.
# Drop that directory and the [patch.crates-io] entry once candle upstream
# depends on zip >= 9. No published candle release does, through 0.11.0.
# https://github.com/lazyxeon/AstraWeave/issues/324
# url is 2.5.9. form_urlencoded is 1.2.3, which that url release requires.
# RUSTSEC-2026-0592 is fixed by url 2.5.9. It is not an ignore.

[advisories]
ignore = [
Expand Down
31 changes: 18 additions & 13 deletions .github/workflows/aw-editor-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
test:
name: Test AW Editor (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 45
# Skip if editor has known compilation issues - allows CI to pass while editor is being fixed
continue-on-error: true
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -62,7 +60,17 @@ jobs:
# Run library unit tests (headless tests work everywhere)
- name: Run Unit Tests
run: cargo test -p aw_editor --lib --all-features -- --nocapture
continue-on-error: true # Don't fail CI on test failures (89% pass rate acceptable)
continue-on-error: true # Kept from the previous policy. The bin step fails the job.

# Bin harness for aw_editor only (`--bin aw_editor`). ci.yml job
# Test (ubuntu, build archive) runs
# `cargo test --locked -p aw_editor --all-features --bins`, which also
# builds the aw_game_runtime harness. That harness has no tests.
# This workflow is not on pull_request. PR Rust checks needs the
# archive job. Ruleset enforcement is PR #702
# (https://github.com/lazyxeon/AstraWeave/pull/702).
- name: Run editor bin tests
run: cargo test -p aw_editor --all-features --bin aw_editor -- --nocapture
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved

# Run integration tests (require headless environment)
- name: Run Integration Tests
Expand All @@ -73,11 +81,11 @@ jobs:
# Code quality checks
- name: Check Formatting
run: cargo fmt -p aw_editor -- --check
continue-on-error: true # Don't block on format issues
continue-on-error: true # Kept from the previous policy.

- name: Run Clippy
run: cargo clippy -p aw_editor --all-features -- -D warnings
continue-on-error: true # Don't block on lints (52 warnings exist)
continue-on-error: true # Kept from the previous policy. editor-ci.yml enforces clippy -D warnings.

# Generate test report
- name: Generate Test Summary
Expand All @@ -88,13 +96,10 @@ jobs:
echo "**Platform**: ${{ matrix.os }}" >> $GITHUB_STEP_SUMMARY
echo "**Rust Version**: $(rustc --version)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Test Coverage" >> $GITHUB_STEP_SUMMARY
echo "- **Unit Tests**: 146/164 passing (89%)" >> $GITHUB_STEP_SUMMARY
echo "- **Integration Tests**: 9 test files (ui_gizmo_smoke, play_mode, prefab_workflow, etc.)" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Known Issues" >> $GITHUB_STEP_SUMMARY
echo "- 18 unit test failures (gizmo math, undo stack, scene serialization)" >> $GITHUB_STEP_SUMMARY
echo "- 52 warnings (dead code, unused fields - tracked in Known Issues)" >> $GITHUB_STEP_SUMMARY
echo "### Steps" >> $GITHUB_STEP_SUMMARY
echo "- Bin tests: cargo test -p aw_editor --all-features --bin aw_editor fails the job. The harness includes the library modules redeclared by src/main.rs, not only recovery_tests and voxel_tools." >> $GITHUB_STEP_SUMMARY
echo "- The test job keeps continue-on-error on --lib, integration, fmt, and clippy. The coverage job keeps it on Generate Coverage Report and Upload Coverage to Codecov." >> $GITHUB_STEP_SUMMARY
echo "- A pull request that is not docs-only, and whose affected set is the full workspace or at least one package, runs cargo test --locked -p aw_editor --all-features --bins in ci.yml, job Test (ubuntu, build archive). PR Rust checks needs that job. Ruleset enforcement is PR #702, https://github.com/lazyxeon/AstraWeave/pull/702. The step has no continue-on-error. --bins also builds the aw_game_runtime harness, which has no tests." >> $GITHUB_STEP_SUMMARY

# Coverage job (optional - Linux only for speed)
coverage:
Expand Down
63 changes: 59 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ name: Comprehensive CI Pipeline
# Determinism Replay, which is a separate workflow with no path filter.
# Heavy optional workflows (PBR, editor, AW Editor tests) are not on
# pull_request, so they do not occupy runners ahead of this workflow.
# The aw_editor bin harness is a step of Test (ubuntu, build archive),
# which the PR Rust checks job needs. Ruleset enforcement is tracked in
# PR #702, https://github.com/lazyxeon/AstraWeave/pull/702. That job is skipped
# on a docs-only pull request and when no crate is selected
# (`full` is not set and the package list is empty).
# The step runs `cargo test --locked -p aw_editor --all-features --bins`
# with no continue-on-error. `--bins` builds every bin harness, including
# aw_game_runtime (test = false, and that harness has no tests).
# editor-ci.yml and aw-editor-tests.yml stay off pull_request.
#
# Main, schedule, and workflow_dispatch: the same gate against the full
# workspace, then the 3-OS test matrix and a release build. Sanitizers,
Expand Down Expand Up @@ -141,10 +150,11 @@ jobs:
# 60, not 45. Run 40235303264 compiled the test profile in 24m 12s and
# then spent 6m 05s running 31672 tests. A dev-profile aw_audio_probe
# before that compile took another 7m 15s and could not be reused.
# This job compiles once (debuginfo off, same as the Windows archive),
# builds the probe with the test profile, and uploads both. Partition
# jobs do not compile. The archive is not built inside the gate: that
# would hold the Windows archive until this compile finished.
# The nextest archive is one compile (debuginfo off). The editor bin
# step compiles aw_editor again with --all-features. Run 44916883830
# spent 6m 06s on that step and 37m 24s on this job. Partition jobs do
# not compile. The archive is not built inside the gate: that would
# hold the Windows archive until this compile finished.
timeout-minutes: 60
if: >-
github.event_name == 'pull_request' &&
Expand Down Expand Up @@ -240,6 +250,28 @@ jobs:
echo "Model crates are not in the affected set; skipping the ollama feature tests"
fi

- name: Feature-gated tests
# After the archive upload so a feature rebuild does not hold the artifact.
# The default archive does not pass --features bevy or --features metrics.
env:
CARGO_PROFILE_TEST_DEBUG: "0"
AW_CI_FULL: ${{ needs.changes.outputs.full }}
AW_CI_PACKAGES: ${{ needs.changes.outputs.packages }}
AW_CI_PROFILE: ci-pr
run: bash scripts/ci/feature-gated-tests.sh

- name: Editor bin tests
# aw_editor stays in EXCLUDED_PACKAGES, so the archive does not run
# these. recovery_tests and voxel_tools compile only in this bin.
# --all-features matches editor-ci. The feature set is fixed in the
# lock (including profiling/tracy-client). It is not a replay hash.
# `--bins` builds every bin harness. aw_game_runtime has test = false
# and no #[test], so its harness runs 0 tests. Cargo 1.89 does not
# skip test = false when --bins selects the target.
env:
CARGO_PROFILE_TEST_DEBUG: "0"
run: cargo test --locked -p aw_editor --all-features --bins

test-linux:
name: Test (ubuntu, ${{ matrix.partition }}/3)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -360,6 +392,16 @@ jobs:
echo "Model crates are not in the affected set; skipping the model HTTP probes"
fi

- name: Feature-gated tests
# After the archive upload. Keep the archive profile so this does not
# rebuild with debug info.
env:
CARGO_PROFILE_TEST_DEBUG: "0"
AW_CI_FULL: ${{ needs.changes.outputs.full }}
AW_CI_PACKAGES: ${{ needs.changes.outputs.packages }}
AW_CI_PROFILE: ci
run: bash scripts/ci/feature-gated-tests.sh

test-windows:
name: Test (windows, ${{ matrix.partition }}/3)
runs-on: windows-latest
Expand Down Expand Up @@ -528,6 +570,12 @@ jobs:
AW_CI_EXCLUDES: ${{ env.EXCLUDED_PACKAGES }}
run: bash scripts/ci/run-tests.sh

- name: Feature-gated tests
env:
AW_CI_FULL: "true"
AW_CI_PROFILE: ci
run: bash scripts/ci/feature-gated-tests.sh

- name: Report GPU skips
if: always()
shell: bash
Expand Down Expand Up @@ -595,6 +643,13 @@ jobs:
cargo nextest run --locked --profile ci -p astraweave-llm --features ollama --test loopback_http_proxy --test ollama_chat_probe
cargo nextest run --locked --profile ci -p astraweave-llm --features ollama --lib ollama_assembled

- name: Feature-gated tests
env:
CARGO_PROFILE_TEST_DEBUG: "0"
AW_CI_FULL: "true"
AW_CI_PROFILE: ci
run: bash scripts/ci/feature-gated-tests.sh

test-full-windows-part:
name: Test full (windows, ${{ matrix.partition }}/3)
runs-on: windows-latest
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/editor-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
editor-ci:
name: editor-ci
runs-on: ubuntu-latest
timeout-minutes: 45
# Skip if editor has known compilation issues
continue-on-error: true
timeout-minutes: 75

steps:
- name: Checkout repository
Expand All @@ -53,6 +51,15 @@ jobs:
- name: Unit tests
run: cargo test -p aw_editor --all-features --lib -- --nocapture

- name: Editor bin tests
# This workflow stays off pull_request. ci.yml job
# Test (ubuntu, build archive) runs
# `cargo test --locked -p aw_editor --all-features --bins`.
# `--bins` also builds the aw_game_runtime harness, which has no
# tests. PR Rust checks needs that job. Ruleset enforcement is
# PR #702, https://github.com/lazyxeon/AstraWeave/pull/702.
run: cargo test -p aw_editor --all-features --bin aw_editor -- --nocapture
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved

- name: Headless smoke tests
run: >
cargo test -p aw_editor --all-features
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/toolchain-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,17 @@ jobs:
# runner's libvulkan1 is new enough (#434).
# aw_headless also builds InstanceDescriptor::default() and forbids
# unsafe, so it cannot include that constructor. Its lib tests run
# below with RUST_TEST_THREADS=1. aw_editor is in EXCLUDED_PACKAGES;
# editor-ci.yml still runs its tests with continue-on-error, so this
# hook is not workspace-wide.
# below with RUST_TEST_THREADS=1. aw_editor stays in EXCLUDED_PACKAGES,
# so this hook does not run it. Pull requests run
# `cargo test --locked -p aw_editor --all-features --bins` in ci.yml
# job Test (ubuntu, build archive), with no continue-on-error.
# `--bins` also builds the aw_game_runtime harness (test = false,
# no tests). PR Rust checks needs that job. Ruleset enforcement
# is PR #702, https://github.com/lazyxeon/AstraWeave/pull/702. The job
# is skipped on a docs-only pull request and when no crate
# is selected (`full` is not set and the package list is empty).
# editor-ci.yml has no continue-on-error. It runs on push to main,
# the 06:50 UTC schedule, and workflow_dispatch, not on pull_request.
# runner.os, not `uname`: windows-latest runs this file under
# PowerShell, which does not evaluate a bash `if`.
cargo test --locked --workspace --lib ${{ env.EXCLUDED_PACKAGES }} --exclude aw_headless
Expand Down
Loading
Loading