A removed domain is released while its route still serves traffic
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, typescript
調査の方向性
Start with apps/api/src/modules/apps/infrastructure/prisma-application.store.ts and the syncDomains behavior described in the issue. Then trace how the deployment pipeline tracks active releases and route changes, since the fix must coordinate reservation release with route removal. Add a test for removing a domain without redeploying and attempting to claim it from another application; done means the claim is rejected while the route still exists or is switching.
索引モデルが issue の本文から書いたものです。
説明
What
Removing a domain from an application's configuration deletes its reservation at once (syncDomains in apps/api/src/modules/apps/infrastructure/prisma-application.store.ts). The release that is still running keeps serving that domain through Caddy until the next successful deployment, and for longer if that deployment fails.
Meanwhile another application of the same organization can claim the domain. The reservation and the live route then name two different applications, and traffic can reach the wrong service.
Found by a security audit of the repository on 8 November 2026, still true on main. The audit reproduced the reassignment at the store level; the full behavior with Caddy has not been tested.
Design question
A reservation should last as long as something can serve the domain. Options:
- Keep the reservation while the active release, or a deployment in progress, still lists the domain; release it when the route is removed.
- Mark it as "releasing" and refuse new claims until the route is gone.
Both need the deployment pipeline to tell the apps module when a route was removed.
Done when
- A domain cannot be claimed by another application while a route for it exists or is being switched.
- A test covers: remove the domain, do not redeploy, try to claim it from another application.
- 主要言語
- TypeScript
- スター
- 2
- フォーク
- 1
- 平均マージ
- 7時間 17分
- マージ済み PR(30日)
- 197
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
shipkeepdev/shipkeep のほかの issue
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
shipkeepdev/shipkeep#295 ·
メンテナーはふだん 1 日以内に返信
-
good first issue priority:P2 track:control-plane
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
shipkeepdev/shipkeep#212 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue priority:P3 track:web
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
shipkeepdev/shipkeep#144 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue priority:P3 track:control-plane
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
shipkeepdev/shipkeep#143 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue priority:P3 track:control-plane
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
shipkeepdev/shipkeep#142 ·
メンテナーはふだん 1 日以内に返信
shipkeepdev/shipkeep の issue をすべて見る
似ている issue
-
normalizePropName strips `#` characters from Figma property names instead of only the `#id` suffixオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
figma/code-connect#419 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jeanibarz/knowledge-base-mcp-server#1268 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Koenkk/zigbee-herdsman-converters#13820 ·
メンテナーはふだん 2 日以内に返信
-
A live recovery copy treats a large whole number and text with the same digits as the same valueオープンbug sharing & sync
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信