Publish: stream build output while the gate runs
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- full-stack
調査の方向性
Start with runPublish in src/lib/server/publish.ts, which runs the blog build as a gate and returns output only at the end, and find where the build command's stdout and stderr are collected. Add a streaming path (server-sent events or a polled buffer capped at the last 200 lines) and connect it to the Publish view. Done when output appears within a second, reopening the page mid-publish shows current output, and a failed build keeps its output visible.
索引モデルが issue の本文から書いたものです。
説明
Context
runPublish in src/lib/server/publish.ts runs the blog build as a gate and returns the output tail only when it finishes. A slow build looks like a hang.
Scope
- Stream the build command's stdout and stderr to the Publish view while it runs, through a server-sent events endpoint or a polled log buffer.
- Cap the buffered output (last 200 lines).
Acceptance criteria
- Output appears within a second of being printed by the build command.
- Leaving the page and returning during a publish shows the current output.
- A failed build keeps its output visible after the failure.
Estimate: about 3 hours.
- 主要言語
- HTML
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mrgnw/cfcms のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vendrabuck/HERD#1419 ·
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
numerique-gouv/lasuite-landingpage#311 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
sipeed/NanoKVM-Go#36 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
paperclipai/paperclip#21503 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] List: the reorder hint's Move up stays enabled on the first row, and Move down on the lastオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100