fix: parallel certificate deletes fail with 500 while a backup is running

オープン
#2,049 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Wikid82 がすでに取り組んでいます。

2026年11月25日 から。

評価

この issue はまだ評価されていません。

説明

backend ssl

Found during QA of #2048.

Where: backend/internal/api/handlers/certificate_handler.go:536-540 returns 500 "failed to create backup before deletion" when another backup is in progress (ErrBackupInProgress).

Evidence: two parallel certificate deletes collide; this explains the failures at tests/core/certificates.spec.ts:1075 and :1136. The group passes 8/8 with --workers=1.

Severity: low.

Suggested approach: return 409 with a retry message (or wait for the lock), and make those specs serial.

主要言語
Go
スター
17
フォーク
2
平均マージ
1時間 42分
マージ済み PR(30日)
173

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Wikid82/Charon のほかの issue

Wikid82/Charon の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。