arnaud.dartois
23a47d426c
fix(security): update dotnet 10.0.15 container bases
Heimdall Gitea / Detect CI scope (pull_request) Successful in 7s
Heimdall Gitea / Build and tests (pull_request) Failing after 2m24s
Heimdall Gitea / Build and scan server image (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Skipped
Heimdall Gitea / Build and scan NVIDIA Agent image (pull_request) Skipped
Heimdall Gitea / Publish versioned installer release (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Failing after 2s
2026-11-11 23:36:49 +01:00
arnaud.dartois
4c790e0489
fix(agent): repair installation and release paths
...
Heimdall Gitea / Detect CI scope (push) Successful in 5s
Heimdall Gitea / Build and tests (push) Successful in 20m50s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 6m39s
Heimdall Gitea / Build and scan agent image (push) Successful in 9m12s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m21s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 20m14s
Heimdall Gitea / CI policy (push) Successful in 3s
Refs #293
Co-authored-by: Arnaud Dartois <admin@tordais.cc >
2026-11-08 08:55:07 +01:00
arnaud.dartois
636154572b
Complete remaining Heimdall features and acceptance
...
Heimdall Gitea / Build and scan server image (push) Successful in 6m13s
Heimdall Gitea / Build and scan agent image (push) Successful in 14m44s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m48s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 19m9s
Heimdall Gitea / CI policy (push) Successful in 10s
Heimdall Gitea / Detect CI scope (push) Successful in 6s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and tests (push) Successful in 19m19s
Merge pull request #138
Co-authored-by: Arnaud Dartois <admin@tordais.cc >
2026-11-06 11:14:49 +01:00
arnaud.dartois
6e61d38ca8
fix(web): serve native agent Python supervisor ( #140 )
...
Heimdall Gitea / Detect CI scope (push) Successful in 6s
Heimdall Gitea / Build and tests (push) Successful in 22m48s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 8m18s
Heimdall Gitea / Build and scan agent image (push) Successful in 20m1s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 2m15s
Heimdall Gitea / CI policy (push) Successful in 12s
## Résumé
Ajoute le type MIME `text/x-python` au middleware statique Central. Sans cette association, ASP.NET Core renvoie 404 pour le superviseur Linux `.py` même si le fichier figure dans le publish.
## Validation
- Recette Compose jetable source : `/healthz` sain; `install-agent.sh` et `agent-supervisor.py` répondent 200 et sont identiques aux sources.
- Teardown vérifié : 0 conteneur, volume, réseau; tag unique supprimé et absent.
- `git diff --check` passé.
La vérification de l’instance publique reste requise après publication de l’image et redémarrage de Central.
Reviewed-on: #140
Co-authored-by: Arnaud Dartois <admin@tordais.cc >
2026-11-06 09:41:48 +01:00
arnaud.dartois
89c4c43922
fix(identity): harden user lifecycle and permissions ( #136 )
...
Heimdall Gitea / Detect CI scope (push) Successful in 7s
Heimdall Gitea / Build and tests (push) Successful in 14m48s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 4m27s
Heimdall Gitea / Build and scan agent image (push) Successful in 15m42s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m27s
Heimdall Gitea / CI policy (push) Successful in 2s
Co-authored-by: Arnaud Dartois <admin@tordais.cc >
2026-11-04 13:33:30 +01:00
Arnaud Dartois
18813106a5
Merge remote-tracking branch 'origin/main' into fix/agent-container-nonroot
...
Heimdall Gitea / Build and tests (pull_request) Failing after 1m35s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
# Conflicts:
# docker/Dockerfile.agent
2026-10-22 19:16:22 +02:00
Arnaud Dartois
8ebb231c17
fix(agent): run container as non-root
Heimdall Gitea / Build and tests (pull_request) Failing after 4m46s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 07:00:12 +02:00
Arnaud Dartois
8ebcdb81a6
fix(agent): secure diagnostics and require TLS to central
Heimdall Gitea / Build and tests (pull_request) Failing after 2m24s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 06:56:06 +02:00
Arnaud Dartois
ad2a582b63
build(gitea): reconstruct tests packaging images and release lanes (Refs #1 )
Heimdall Gitea / Build and tests (push) Failing after 1m12s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and tests (pull_request) Failing after 40s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-20 02:29:19 +02:00
Arnaud Dartois
421b2e21e5
feat(docker): add GPU exposure for agent (issues #76 , #77 )
...
- Update Dockerfile.agent with multi-runtime support:
- NVIDIA CUDA runtime (nvidia/cuda:12.6-runtime-ubuntu22.04)
- AMD ROCm runtime (rocm/rocm-runtime:6.3.3-ubuntu22.04)
- Intel VAAPI/iGPU runtime (intel/intel-extension-for-pytorch:2.3.0-ubuntu22.04)
- CPU-only fallback (mcr.microsoft.com/dotnet/aspnet:10.0-alpine)
- Add TARGET_RUNTIME build arg (nvidia|amd|intel|cpu)
- Add GPU device exposure in docker-compose.yml and docker-compose.prod.yml:
- NVIDIA: driver=nvidia, capabilities=[gpu]
- AMD: devices /dev/kfd:/dev/kfd, /dev/dri:/dev/dri
- Intel: device /dev/dri:/dev/dri
- Add ORT_PROVIDER and ORT_CUDA_DEVICE_ID env vars for ONNX Runtime GPU provider selection
- Default to CPU runtime for backward compatibility
All 1700+ tests pass
2026-10-11 12:27:20 +02:00
Arnaud Dartois
acf3a4304c
fix(ci): réduire artifact build + corriger URL YOLO ONNX ( #181 )
2026-08-30 09:45:37 +02:00
Arnaud Dartois
4b3068e12f
feat(agent): align FrameAnalyzerService with spec §16 — IntraOpNumThreads, MinConfidence, model path ( #169 )
2026-08-27 00:36:03 +02:00
Arnaud Dartois
733d075572
fix(seed): check idempotent storage insensible à la casse (accessKey/secretKey)
...
Même bug que les intégrations : storage.s3.accessKey/secretKey en camelCase
ne matchaient pas les clés lowercase en base → re-Add à chaque démarrage →
violation IX_app_settings_key → crash loop (exit 139).
2026-08-12 11:29:03 +02:00
Arnaud Dartois
aa996d764c
fix(docker): add krb5 package for Npgsql GSSAPI support
...
Prevents 'Cannot load library libgssapi_krb5.so.2' error on startup.
Npgsql attempts to load GSSAPI for PostgreSQL authentication; krb5
provides the required shared library on Alpine.
2026-07-20 14:03:59 +00:00
Arnaud Dartois
58f46fe3dd
feat(agent): add health check endpoint and Docker HEALTHCHECK
...
Migrate from Microsoft.NET.Sdk.Worker to Microsoft.NET.Sdk.Web to
enable HTTP health checks. Add /healthz endpoint via
AgentHealthCheck (reports healthy when registered with Central).
Configure Docker HEALTHCHECK with 30s interval and 15s start period.
2026-07-18 14:09:32 +00:00
Arnaud Dartois
e5e88ff83f
chore: remove dead Heimdall.Contracts project
...
Project had zero source files, no project references, and no consumers.
It only added build overhead and Docker cache layer noise.
2026-07-17 19:25:32 +00:00
Arnaud Dartois
b217c932e8
feat(mvp): implement MVP multi-site platform
...
Complete MVP implementation (Étape 1) covering:
- Domain: primitives (Entity<TId>, ValueObject), 10 entities, 6 enums
- EF Core: AppDbContext + Identity, 8 EntityTypeConfigurations, audit/soft-delete interceptors, initial migration
- Application: service interfaces, DTOs, FluentValidation, ServiceResult pattern
- Security: Identity + JWT + API Key multi-auth, role-based permissions, constant-time key validation
- API: Auth/Sites/Agents controllers with explicit auth scheme policies
- Workers: Hangfire PostgreSQL setup with schema isolation, HeartbeatMonitorJob
- Agent: registration service + 30s heartbeat loop
- Docker: multi-stage Dockerfiles for central + agent, docker-compose.yml
- CI/CD: GitHub Actions pipeline with build+test and Docker build
- Tests: 13 domain tests (Site, Agent, Camera entities)
Architecture decisions per deliberation council:
- API Key via AuthenticationHandler<T> (not middleware)
- Explicit [Authorize(AuthenticationSchemes)] on all endpoints
- Event/Recording/Person/Vehicle deferred from initial migration
- Hangfire compatible with .NET 10 (v1.8.17)
2026-07-16 20:53:56 +00:00