Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .claude/commands/ci.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Commit working changes and push them to CI

Run `cargo clippy -- -D warning` before pushing changes.

Enter loop where you wait for CI to complete, resolve issues,
and return to user once CI is green or a major decision is needed
to resolve it.
4 changes: 0 additions & 4 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
{
"type": "command",
"command": "cargo fmt"
},
{
"type": "command",
"command": "cargo clippy --all-targets -- -D warnings"
}
]
}
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Run smoke tests
run: cargo nextest run --profile ci --test smoke_test --verbose

- name: Run script integration tests
run: cargo nextest run --profile ci --test script_integration --verbose

- name: Run weak mode integration tests
run: |
# On macOS, we only support weak mode due to PF limitations
Expand Down Expand Up @@ -112,6 +115,11 @@ jobs:
source ~/.cargo/env
cargo nextest run --profile ci --test smoke_test --verbose

- name: Run script integration tests
run: |
source ~/.cargo/env
cargo nextest run --profile ci --test script_integration --verbose

- name: Run Linux jail integration tests
run: |
source ~/.cargo/env
Expand Down Expand Up @@ -148,6 +156,9 @@ jobs:
- name: Build
run: cargo build --verbose

- name: Run script integration tests
run: cargo nextest run --profile ci --test script_integration --verbose

- name: Run weak mode integration tests
run: cargo nextest run --profile ci --test weak_integration --verbose

Expand Down
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ on both targets.
## Formatting

After modifying code, run `cargo fmt` to ensure consistent formatting before committing changes.

## Logging

In regular operation of the CLI-only jail (non-server mode), info and warn logs are not permitted as they would interfere with the underlying process output. Only use debug level logs for normal operation and error logs for actual errors. The server mode (`--server`) may use info/warn logs as appropriate since it has no underlying process.
Loading
Loading