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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions ARCHITECTURAL_GUARDRAILS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The project is organized as a Cargo workspace with the following crates:
| `sensibledb-cli` | `sensibledb-cli/` | CLI tool for project management and query deployment |
| `sensibledb-explorer` | `sensibledb-explorer/` | Web-based data explorer UI |
| `metrics` | `metrics/` | Observability and metrics collection |
| `nql-tests` | `nql-tests/` | SensibleQL query language test suite |
| `sensibleql-tests` | `sensibleql-tests/` | SensibleQL query language test suite |

---

Expand Down Expand Up @@ -118,7 +118,7 @@ The project is organized as a Cargo workspace with the following crates:
## 8. Testing Guardrails

- **Unit tests**: Co-located with source in each crate
- **Query tests**: `nql-tests/` crate for SensibleQL validation
- **Query tests**: `sensibleql-tests/` crate for SensibleQL validation
- **E2E tests**: Playwright-based in `e2e/` directory
- **Metrics**: Collected via `metrics/` crate

Expand Down
16 changes: 8 additions & 8 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ The heart of SensibleDB containing all database functionality.
- `analyzer/` - Type checking, validation, and diagnostics
- `generator/` - Rust code generation from parsed queries

- **`grammar.pest`** - 295-line Pest grammar defining NQL syntax
- **`grammar.pest`** - 295-line Pest grammar defining SensibleQL syntax

- **`protocol/`** - Wire protocol and data types

Expand Down Expand Up @@ -232,8 +232,8 @@ sensibledb-cli/
#### `/sensibledb-macros/` - Procedural Macros
Procedural macros for SensibleDB including route registration and code generation utilities.

#### `/nql-tests/` - NQL Test Suite
Test files for the Nexus Query Language (NQL).
#### `/sensibleql-tests/` - SensibleQL Test Suite
Test files for the Nexus Query Language (SensibleQL).

#### `/metrics/` - Performance Metrics
Performance benchmarking and metrics collection.
Expand Down Expand Up @@ -284,7 +284,7 @@ Run Clippy to check code quality:

The `clippy_check.sh` script at the repository root runs clippy with project-specific rules:
- Treats warnings as errors
- Excludes `nql-tests` crate
- Excludes `sensibleql-tests` crate
- Can run in dashboard mode with additional features

### Testing
Expand All @@ -308,8 +308,8 @@ SensibleDB has a comprehensive test suite organized across multiple levels:
- `init_tests.rs` - Project initialization
- `project_tests.rs` - Project management

**NQL End-to-End Tests**
- `/nql-tests/tests/` - 54+ test directories covering:
**SensibleQL End-to-End Tests**
- `/sensibleql-tests/tests/` - 54+ test directories covering:
- Graph operations (add_n, add_e, traversals)
- Vector search (search_v_with_embed)
- Text search (search_bm25)
Expand All @@ -334,8 +334,8 @@ cargo test --workspace
cargo test -p sensibledb-db
cargo test -p sensibledb-cli

# Run NQL tests
cd nql-tests
# Run SensibleQL tests
cd sensibleql-tests
./test.sh

# Run benchmarks
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = [
"sensibledb-container",
"sensibledb-macros",
"sensibledb-cli",
"nql-tests",
"sensibleql-tests",
"metrics",
"sensibledb-explorer",
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ SensibleDB/
├── sensibledb-container/ # Docker container deployment
├── sensibledb-macros/ # Procedural macros for SensibleQL
├── metrics/ # Telemetry and metrics
├── nql-tests/ # Query language test suite
├── sensibleql-tests/ # Query language test suite
├── e2e/ # Playwright E2E tests (65 tests)
└── docs/ # Documentation source
```
Expand Down
2 changes: 1 addition & 1 deletion assets/sensible-db-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions clippy_check.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# cargo clippy --workspace --locked --exclude nql-tests --exclude metrics -- -D warnings -A clippy::too_many_arguments -A clippy::let-and-return -A clippy::module-inception -A clippy::new-ret-no-self -A clippy::wrong-self-convention -A clippy::large-enum-variant -A clippy::inherent-to-string -A clippy::inherent_to_string_shadow_display -D clippy::unwrap_used
# cargo clippy --workspace --locked --exclude sensibleql-tests --exclude metrics -- -D warnings -A clippy::too_many_arguments -A clippy::let-and-return -A clippy::module-inception -A clippy::new-ret-no-self -A clippy::wrong-self-convention -A clippy::large-enum-variant -A clippy::inherent-to-string -A clippy::inherent_to_string_shadow_display -D clippy::unwrap_used

if [ "$1" = "dashboard" ]; then
cargo clippy -p sensibledb-container --features dev \
Expand All @@ -14,7 +14,7 @@ if [ "$1" = "dashboard" ]; then
-A clippy::inherent_to_string_shadow_display
fi

cargo clippy --workspace --locked --exclude nql-tests --exclude sensibledb-cli --exclude sensibledb-explorer \
cargo clippy --workspace --locked --exclude sensibleql-tests --exclude sensibledb-cli --exclude sensibledb-explorer \
-- -D warnings \
-A clippy::too_many_arguments \
-A clippy::let-and-return \
Expand Down
Loading
Loading