[TS PBT] Save campaign-file artifacts before stdout publication
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
CampaignFileRequest.ktの57~59行目付近を読み、キャンペーンをどのようにエンコードし、stdoutと要求されたアーティファクトを公開するかをたどってください。最初の追記時にアーティファクトが読み取り可能であることを確認し、その後I/Oエラーで失敗する出力シンクを使った回帰テストを追加または調整してください。完了条件は、stdoutの公開前にアーティファクトが保存されること、両方の出力に同一のJSONが保持されること、ファイル書き込みの失敗時に完全なstdoutフォールバックと元のエラーが保たれることです。
索引モデルが issue の本文から書いたものです。
説明
campaign-file encodes the completed campaign, writes the entire JSON to stdout, and only then saves the requested artifact file. A slow, failed or interrupted stdout operation can therefore discard a result that the runner has already produced and serialized.
The order is present in the minimal public parent #581 (028d5b0c116502525cdb2329f24bde665807922f), in CampaignFileRequest.kt:57-59.
Observed in the frozen local class pilot: multi-algorithms-singly-list-wide / 16061113 / SYMBOLIC_ONLY retained exactly 65536 bytes of campaign JSON on stdout, but no campaign.json. The prefix includes stop=DEADLINE, stoppedAt=CONFIRMATION, elapsedMillis=19611, and Native verification deadline reached; 99 inputs remain unchecked. The outer process guard then returned exit -9. The runner and JSON encoding had completed; stdout publication preceded the missing file write. The retained stdout SHA-256 is c60098bca32dc8ed3bc91816afd5213d5e0a8bab3fa27e7b150da76cc67eed46.
Acceptance:
- Save the requested destination before the first stdout append.
- Keep one JSON encoding and the existing identical stdout/file JSON contract.
- Preserve complete stdout fallback and the original I/O error when the file write itself fails.
- A meaningful regression uses an output sink that checks that a readable artifact already exists on its first append, then fails with an I/O error. The failure must leave the artifact intact.
- Do not rerun the property or add a writer/protocol framework.
This is a narrow result-publication fix under #354. It does not resolve the separate caller/JVM deadline-origin mismatch (#613) or establish the internal cause of other zero-stdout missing-artifact runs. A killed process remains incomplete for primary experimental credit even if its artifact can be retained.
- 主要言語
- Kotlin
- スター
- 33
- フォーク
- 27
- 平均マージ
- 3日 21時間
- マージ済み PR(30日)
- 88
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UnitTestBot/usvm のほかの issue
-
[TS PBT] Preserve class verification after expected PBT budget expiry対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
UnitTestBot/usvm#618 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
UnitTestBot/usvm#613 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
UnitTestBot/usvm#604 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
UnitTestBot/usvm#592 ·
メンテナーはふだん 1 日以内に返信
-
[TS] Invoke declared class getters during property reads対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
UnitTestBot/usvm#577 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
UnitTestBot/usvm の issue をすべて見る
似ている issue
-
enhancement impact:U1 P3 reach:R2 size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
ankidroid/Anki-Android#22677 ·
メンテナーはふだん 1 日以内に返信
-
Type Pick Request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
reactwg/react-native-releases#1456 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yschimke/homeassistant-remotecompose#1038 ·
メンテナーはふだん 1 日以内に返信
-
area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
enorm-labs/event-junkie#3707 ·
メンテナーはふだん 1 日以内に返信