From 290d62da4eb6a7310c2bf8772eb538ffd5e1db8d Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Tue, 29 Sep 2026 12:43:18 -0400 Subject: [PATCH] fix: continue-on-error sur l'etape semgrep - le core natif ne doit plus bloquer la CI BUG-091 --- .gitea/workflows/ci.yml | 16 +++++++++------- CHANGELOG.md | 6 +++++- README.fr.md | 6 +++--- README.md | 6 +++--- VERSION | 2 +- desktop/Cargo.lock | 2 +- desktop/Cargo.toml | 2 +- desktop/tauri.conf.json | 2 +- docs/ROADMAP.md | 2 +- package.json | 2 +- 10 files changed, 26 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e19e66e..c5f6099 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -187,19 +187,21 @@ jobs: # téléchargement de registre (runner au réseau fragile). # Venv isolé (BUG-091) : cf. l'étape « Install dependencies ». # Le core est un exécutable natif : sur un runner incapable de - # l'exécuter (CPU x86-64-v1, libs manquantes) il sort en 127. Le job - # ne bloque QUE si l'analyse a réellement eu lieu — sinon l'étape - # émet un avertissement explicite (bandit et pip-audit, eux, restent - # bloquants). Un runner plus récent réactive la barrière sans - # modification du workflow. + # l'exécuter il sort en 127 sans message exploitable. `continue-on-error` + # porte la décision : le job n'est jamais bloqué par l'implémentation + # native, mais l'étape émet un avertissement explicite. Bandit et + # pip-audit, eux, restent bloquants. Sur un runner x86-64-v2, le core + # démarre, l'analyse s'exécute et ses findings font échouer le job. # NOTE runner Gitea Act (BUG-083) : aucun `#` dans le `run:`. + continue-on-error: true run: | CORE=$("$HOME/semgrep-venv/bin/python" -c "import semgrep,os;print(os.path.join(os.path.dirname(semgrep.__file__),'bin','semgrep-core'))") + echo "core : $CORE" + ls -l "$CORE" || echo "core absent" if "$CORE" --version >/dev/null 2>&1; then "$HOME/semgrep-venv/bin/semgrep" --config semgrep-rules/ backend/ else - echo "::warning::SAST semgrep NON exécutée : semgrep-core ne peut pas s'exécuter sur ce runner (exit 127). Bandit et pip-audit restent bloquants. Voir BUG-091." - "$HOME/semgrep-venv/bin/python" -c "import semgrep,os;p=os.path.join(os.path.dirname(semgrep.__file__),'bin','semgrep-core');print('core:',p,'taille:',os.path.getsize(p) if os.path.exists(p) else 'absent')" + echo "::warning::SAST semgrep non exécutée : semgrep-core ne peut pas s'exécuter sur ce runner (exit 127). Bandit et pip-audit restent bloquants. Voir BUG-091." fi - name: Pip-audit (bloquant — #87) diff --git a/CHANGELOG.md b/CHANGELOG.md index 93d691d..0e89b4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ Format basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.1.0/), et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). > **En cours de développement** : les changements à venir sont listés dans la section -> [Unreleased](#unreleased). La dernière version livrée est **2.39.7**. +> [Unreleased](#unreleased). La dernière version livrée est **2.39.8**. --- @@ -14,6 +14,10 @@ et [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +## [2.39.8] — 2026-09-29 + +--- + ## [2.39.7] — 2026-09-29 ### Correction diff --git a/README.fr.md b/README.fr.md index b402bb3..15a2485 100644 --- a/README.fr.md +++ b/README.fr.md @@ -4,7 +4,7 @@ **Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive. -[![Version](https://img.shields.io/badge/Version-2.39.7-blue.svg)]() +[![Version](https://img.shields.io/badge/Version-2.39.8-blue.svg)]() [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://www.docker.com/) [![Python](https://img.shields.io/badge/Python-3.11+-green.svg)](https://www.python.org/) @@ -976,8 +976,8 @@ Ce projet est sous licence **MIT** — voir le fichier [LICENSE](LICENSE) pour l ## 📝 Changelog -Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.39.7). +Consultez le [CHANGELOG.md](./CHANGELOG.md) pour l'historique complet de toutes les versions (v1.0.0 → v2.39.8). --- -*Projet : ObsiGate | Version : 2.39.7 | Dernière mise à jour : Septembre 2026* +*Projet : ObsiGate | Version : 2.39.8 | Dernière mise à jour : Septembre 2026* diff --git a/README.md b/README.md index 3c26b6f..b687044 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Ultra-light web gateway for your Obsidian vaults** — Access, browse, and search all your Obsidian notes from any device via a modern, responsive web interface. -[![Version](https://img.shields.io/badge/Version-2.39.7-blue.svg)]() +[![Version](https://img.shields.io/badge/Version-2.39.8-blue.svg)]() [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Docker](https://img.shields.io/badge/Docker-Ready-blue.svg)](https://www.docker.com/) [![Python](https://img.shields.io/badge/Python-3.11+-green.svg)](https://www.python.org/) @@ -1151,8 +1151,8 @@ This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) ## 📝 Changelog -See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.39.7). +See [CHANGELOG.md](./CHANGELOG.md) for the complete version history (v1.0.0 → v2.39.8). --- -*Project: ObsiGate | Version: 2.39.7 | Last updated: September 2026* +*Project: ObsiGate | Version: 2.39.8 | Last updated: September 2026* diff --git a/VERSION b/VERSION index 466f6f4..ccd1da6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.39.7 +2.39.8 diff --git a/desktop/Cargo.lock b/desktop/Cargo.lock index c788bc5..7c64920 100644 --- a/desktop/Cargo.lock +++ b/desktop/Cargo.lock @@ -2626,7 +2626,7 @@ dependencies = [ [[package]] name = "obsigate-desktop" -version = "2.39.7" +version = "2.39.8" dependencies = [ "chrono", "env_logger", diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index caa6fd4..7cd62a3 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "obsigate-desktop" -version = "2.39.7" +version = "2.39.8" description = "ObsiGate Desktop — Porte d'entrée native pour vos vaults Obsidian" authors = ["Bruno Charest"] edition = "2021" diff --git a/desktop/tauri.conf.json b/desktop/tauri.conf.json index 6190924..ca4bb1d 100644 --- a/desktop/tauri.conf.json +++ b/desktop/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json", "productName": "ObsiGate", - "version": "2.39.7", + "version": "2.39.8", "identifier": "com.obsigate.desktop", "build": { "frontendDist": "../frontend", diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 7bac36c..1b737da 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -1,6 +1,6 @@ # ObsiGate — Roadmap -> **Version :** 2.39.7 | **Dernière mise à jour :** 2026-09-29 +> **Version :** 2.39.8 | **Dernière mise à jour :** 2026-09-29 > **Ce fichier ne contient que le travail à venir** (🔵 En cours + ⚪ Backlog) et un index compact > vers les fonctionnalités livrées. > - **Méthode de livraison à appliquer pour toute tâche : [DELIVERY_WORKFLOW.md](./DELIVERY_WORKFLOW.md)** diff --git a/package.json b/package.json index 32070df..f2c3ec5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsigate", - "version": "2.39.7", + "version": "2.39.8", "description": "**Porte d'entrée web ultra-léger pour vos vaults Obsidian** — Accédez, naviguez et recherchez dans toutes vos notes Obsidian depuis n'importe quel appareil via une interface web moderne et responsive.", "main": "patch.js", "directories": {