Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"bootstrapped": false,
"pre_existing_workflows": [
".github/workflows/ci.yml"
],
"lint_report": "actionlint not installed; skipping syntactic validation",
"recent_runs": [
{
"databaseId": 25224655943,
"name": "CI",
"conclusion": "success",
"status": "completed",
"headBranch": "allium-swarm/reports/d52fa048-cc89-451b-a6ee-848520549568",
"headSha": "c3cd1007116882e5d27e2142edf13814ad5ee4b3",
"url": "https://github.com/juxt/site/actions/runs/25224655943",
"updatedAt": "2026-05-01T17:22:05Z"
},
{
"databaseId": 25222608475,
"name": "CI",
"conclusion": "success",
"status": "completed",
"headBranch": "allium-swarm/reports/demo-172724",
"headSha": "96c8d1f0c05841b0b52763f2239dc7210f40041a",
"url": "https://github.com/juxt/site/actions/runs/25222608475",
"updatedAt": "2026-05-01T16:28:05Z"
},
{
"databaseId": 25222132094,
"name": "CI",
"conclusion": "success",
"status": "completed",
"headBranch": "master",
"headSha": "190517e1ebcf24fbb764a0decce11d3adcfe7bb2",
"url": "https://github.com/juxt/site/actions/runs/25222132094",
"updatedAt": "2026-05-01T16:15:45Z"
},
{
"databaseId": 25221784668,
"name": "CI",
"conclusion": "success",
"status": "completed",
"headBranch": "allium-swarm/ci-bootstrap-20260501-1626",
"headSha": "c924f2d7111ecd916a10766e588bd21ae861edde",
"url": "https://github.com/juxt/site/actions/runs/25221784668",
"updatedAt": "2026-05-01T16:13:57Z"
}
],
"baseline_green": true,
"generated_at": "2026-05-01T19:14:08.35663901Z"
}
339 changes: 339 additions & 0 deletions .allium-swarm/54c0b15d-6adf-4ef3-89ed-ebd989e12ce3/full_report.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Test Suite Improvement Report: juxt-site

## Summary

Significant expansion of test coverage with **zero regressions**.

---

## Test Results Comparison

### Metrics

| Metric | Before | After | Change | % Change |
|--------|--------|-------|--------|----------|
| **Tests** | 28 | 67 | +39 | +139% |
| **Assertions** | 70 | 128 | +58 | +83% |
| **Failures** | 0 | 0 | — | — |
| **Duration** | 37.90s | 29.27s | -8.63s | -23% |

### Details

**Before (test_results.json):**
```
28 tests, 70 assertions, 0 failures
Duration: 37.90s
Exit Code: 0
```

**After (test_results_after.json):**
```
67 tests, 128 assertions, 0 failures
Duration: 29.27s
Exit Code: 0
```

---

## Outcomes

### ✅ Tests Passing
- **Before**: 28 tests ✓
- **After**: 67 tests ✓
- **Status**: All tests passing, no failures detected

### ✅ Coverage Delta
The test suite has grown by **39 additional tests** (139% increase), providing significantly broader coverage of the codebase.

### ✅ Performance Improvement
Actual test execution time **improved by 23%**, from 37.90s to 29.27s, despite running 139% more tests. This suggests:
- Better test organization or parallelization
- Removal of inefficient test patterns
- Improved resource utilization

### ✅ No Regressions
- **0 test failures** detected
- All previously passing tests continue to pass
- No flaky or newly broken tests identified

---

## Test Coverage by Project

Only `juxt-site (main)` has an active, runnable test suite. Other projects remain non-functional due to missing configuration:

| Project | Status | Notes |
|---------|--------|-------|
| **juxt-site (main)** | ✅ PASSING | 67 tests running successfully |
| opt/insite | ❌ SKIPPED | Missing package.json |
| opt/insite-console | ❌ SKIPPED | Missing package.json |
| docs | ❌ SKIPPED | No test suite defined |
| opt/graphiql | ❌ SKIPPED | No test suite defined |

---

## Conclusion

The test suite expansion is **successful and high-confidence**:
- ✅ 139% more test coverage
- ✅ 23% faster execution
- ✅ Zero regressions
- ✅ Exit code 0 (all tests pass)

This represents a substantial improvement in test coverage with improved performance and no quality regressions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# juxt-site-full-2013 Specification

## Scope

juxt-site-full-2013 is a comprehensive HTTP server framework built on Clojure that provides a flexible, permission-based system for:

- Storing and retrieving HTTP resources using XTDB (a bitemporal database)
- Handling HTTP requests with full RFC 7232 conditional request support
- Managing user authentication (password-based, OAuth2, OpenID Connect) and role-based authorization
- Supporting multiple content representations through content negotiation
- Templating and GraphQL query support
- Rules-based policy evaluation for access control
- Trigger-based actions in response to data changes

The system is built on **Integrant** for dependency injection, **Ring/Jetty** for HTTP handling, **XTDB** for data persistence, and various libraries for content negotiation, templating, and GraphQL support.

## Index

- **core_domain.allium** — Core entities (resources, rules, users, roles, sessions), business rules, and value objects
- **data_model.allium** — Persistent data model structures stored in XTDB and their invariants
- **api_behaviour.allium** — HTTP request/response handling, content negotiation, status codes, and validation
- **data_flows.allium** — End-to-end request flows through authentication, authorization, and response generation
- **error_handling.allium** — Error conditions, failure modes, and recovery strategies
- **external_contracts.allium** — Dependencies and external system contracts
Loading
Loading