ronnieholm/FSharp-onion-architecture-sample
54.3
Adequate · 15 November 2026
2.2k
lines of production code
F#
primary language
5
measurements over time
What this system is
Behavioural changes
Migrate Scrum web layer to Giraffe and introduce vertical slice architecture
The Scrum web application has been refactored from an ASP.NET Core MVC controller-based approach to a Giraffe-based functional pipeline. This change introduces a vertical slice architecture, moving handlers (such as story creation, task addition, and retrieval) into dedicated modules rather than a monolithic application layer. The migration includes the removal of the legacy \Application.fs\, \Domain.fs\, and \Infrastructure.fs\ files in favor of new seedwork and route handler modules. Additionally, the application now supports JWT authentication with token issuance and renewal, integrates SQLite health checks, and applies standardized error handling via ProblemDetails filters.
src/Scrum · high confidence
Project restructured and documentation updated for F\# onion architecture sample
The repository has been reorganized to reflect a shift from a generic clean architecture sample to a specific F\# onion architecture Scrum sample. The solution structure was updated, moving the test project from src/Scrum.Tests to tests/Scrum.Tests. Documentation was significantly expanded to detail the modular monolith design, vertical slice architecture, and adherence to Zalando API guidelines, including JWT role-based security and CQRS. A BSD 2-Clause license was added, and .gitignore was updated to exclude SQLite database files (scrum\_web.sqlite, scrum\_test.sqlite) generated during local development.
(repo-wide) · high confidence
Updated Scrum database schema with event sourcing and pagination support
The SQLite database schema for the Scrum module has been replaced with a new version that supports event sourcing and improved pagination. The new schema introduces an \events\ table to store aggregate events, replacing the previous \domain\_events\ table. It also adds unique constraints on \created\_at\ columns and specific indexes to the \stories\, \tasks\, and \events\ tables to enable efficient pagination. Foreign key cascading is now explicitly defined for task deletion when associated stories are removed.
src/Scrum/Sql · high confidence
Test coverage
Added integration and web test suites for Scrum; Added k6 load test script for API endpoints; Removed integration tests for Story and Task commands.
Dependencies
Upgrade to .NET 10 and enable Central Package Management
The application and its test suite have been upgraded from .NET 7 to .NET 10. To streamline dependency management, Central Package Management has been enabled via a new Directory.Packages.props file, which now centrally defines versions for key libraries including Giraffe 8.2.0, Microsoft.AspNetCore.Authentication.JwtBearer 10.0.0, and various OpenTelemetry exporters. Individual project files no longer specify version numbers for these packages, relying instead on the central definitions.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 64 → 54 (-9.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 91 → 59 (-32.6)
- Architecture 99 → 100 (+0.5)
- Maturity 86 → 90 (+4.1)
- Readiness 32 → 27 (-5.1)
- Security 95 → 95 (+0.1)
- Domain Modelling 100 → 100 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (18)
- Deprecated: OpenTelemetry.Exporter.Jaeger (Directory.Packages.props)
- Deprecated: xunit (Directory.Packages.props)
- IL efficiency: 2 authored method(s) exceed the IL budget (src/Scrum/Story.fs)
- Leaked secret: signing-key (src/Scrum/appsettings.json)
- Medium CVE: OpenTelemetry.Api 1.14.0 (src/Scrum/Scrum.fsproj)
- Medium CVE: OpenTelemetry.Exporter.Jaeger 1.5.1 (Directory.Packages.props)
- Medium CVE: OpenTelemetry.Exporter.OpenTelemetryProtocol 1.14.0 (Directory.Packages.props)
- Outdated: Giraffe
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.NET.Test.Sdk
- Outdated: OpenTelemetry.Exporter.Console
- Outdated: OpenTelemetry.Exporter.OpenTelemetryProtocol
- Outdated: OpenTelemetry.Extensions.Hosting
- Outdated: OpenTelemetry.Instrumentation.AspNetCore
- Outdated: System.Data.SQLite.Core
- Outdated: xunit.runner.visualstudio
- Vulnerable: OpenTelemetry.Exporter.Jaeger
- Vulnerable: OpenTelemetry.Exporter.OpenTelemetryProtocol
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- (root) — 1 commit
Notable commits
- change: Update .NET version
Architecture
- Containers 0 added · 0 removed · contexts 0 added · 1 removed · edges 0 added · 0 removed
Removed bounded contexts (1)
- Scrum
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ronnieholm/FSharp-onion-architecture-sample was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit cffc723fb1999891ff1832288c22ab0275768432 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.