Releases: scenario-test-framework/stfw
Releases · scenario-test-framework/stfw
Release list
v1.6.2
What's Changed
- ci(deps): bump actions/setup-go from 5 to 7 by @dependabot[bot] in #33
- ci(deps): bump goreleaser/goreleaser-action from 6 to 7 by @dependabot[bot] in #32
- ci(deps): bump actions/upload-pages-artifact from 4 to 5 by @dependabot[bot] in #31
Full Changelog: v1.6.1...v1.6.2
v1.6.1
What's Changed
- chore(deps): bump google.golang.org/grpc from 1.81.1 to 1.82.1 by @dependabot[bot] in #29
Full Changelog: v1.6.0...v1.6.1
v1.6.0
⚠️ 挙動変化 (Behavior changes)
v1.6.0 は実行ワークスペース方式を導入しました。同一シナリオを含む複数 run を並走できるようになり、--resume で前 run の生成物を引き継いで途中から再開できます。以下の挙動変化があります。
1. 実行時生成物の出力先が変わりました
evidence//actual//result/等はscenario/配下ではなく、run ごとの実行ワークスペース.stfw/runs/{run_id}/workspace/{シナリオ名}/内の同じ相対位置に出力されます (scenario/正本には書き込みません)。- 影響対象: エビデンスを
scenario/配下のパスから回収しているスクリプト・CI。 - 確認事項: run 開始時に stdout へ
workspace: {パス}が出力されます。回収パスをワークスペース配下へ変更してください。
2. エビデンスはハウスキープで run と共に削除されます
- ワークスペース (エビデンス含む) は
stfw.housekeep.retention_days超過で.stfw/runs/{run_id}/ごと削除されます。 - 確認事項: 保存が必要なエビデンスは保存期間内に外部へ回収してください。
retention_daysは想定される最長の run 実行時間より十分長く設定してください。
3. 部分実行 (--from / --only) は過去 run のエビデンスを暗黙再利用しません
- 毎回クリーンなワークスペースで実行されるため、compare を含む部分実行が過去 run の収集エビデンスへ暗黙に依存していた場合は動かなくなります。
- 確認事項: 前 run の生成物を引き継ぐには
--resume(最新の完了済み run) または--resume=<run_id>を併用してください。
4. 同梱プラグインの実行時展開先が run 単位になりました
.stfw/plugins/→.stfw/runs/{run_id}/plugins/(並走 run 間の展開衝突を防止)。stfw plugin installの展開先は従来どおり.stfw/plugins/です。
詳細な契約: docs/AS-BUILT.md §5.7 (実行ワークスペース) / §5.8 (resume)
Changelog
Features
- 265f00b feat: isolate runs in per-run workspaces and add --resume (evidence moves to .stfw/runs/{run_id}/workspace/)
Others
- 2afc586 ci(deps): bump docker/login-action from 3 to 4 (#26)
- 39c6015 ci(deps): bump docker/setup-qemu-action from 3 to 4 (#25)
- caa9f49 docs(distillery): follow up NFR wording (user-approved) and resolve DIST-004 arch coverage
- 8a4b78a docs(distillery): retract file-log/timezone requirements and reflect parallel in USDM/RDRA/NFR/arch
v1.5.0
v1.4.1
What's Changed
- ci(deps): bump actions/configure-pages from 5 to 6 by @dependabot[bot] in #24
- ci(deps): bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in #23
- ci(deps): bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in #22
Full Changelog: v1.4.0...v1.4.1
v1.4.0
v1.3.0
Changelog
Features
- ba3c8b9 feat: add partial run (--from resume / --only pinpoint) to stfw run
Others
v1.2.0
⚠️ 挙動変化 (Behavior change)
プロセスプラグイン / scripts ステップの exit 3 は、Warn として記録され実行が継続するようになりました。
- v1.1 以前: 成否判定は「exit 0 か否か」で、exit 3 も Error 扱い (実行停止 + 後続 Blocked)
- v1.2.0 以降: exit 3 = Warn (記録して続行)。exit 6 等 (非 0・非 3) は従来どおり停止 + Blocked 伝播
- 影響対象: exit 3 を返す独自プラグイン・ステップスクリプトは「止まらなくなり」ます。従来どおり停止させたい場合は exit 6 を返してください
- RC 契約 (0=Success / 3=Warn / 6=Error) 自体は変わりません
Warn 一級ステータス (差分確認モード)
- 階層集約は Error > Warn > Success。
stfw runの終了コードは 全 Success=0 / Warn あり (Error なし)=3 / Error あり=6 で、CI から「差分あり」を検知できます stfw status(TTY で黄色表示) / HTML レポート (黄バッジ) / OTLP トレース (スパンステータス Ok +stfw.node.status=Warn属性) で Warn を確認できます- compare プラグインに
on_mismatch: error (既定) | warnを追加。warnにすると比較 NG でも最後まで実行が進み、HTML レポートがそのまま「比較 NG の鳥瞰」ビューになります (回帰テスト運用は既定のerrorのままで後方互換) - 旧バージョンの run のジャーナルとの混在も、status / report / housekeep で引き続き扱えます
Changelog
Features
- f504766 feat: promote exit 3 to first-class Warn status (exit 3 no longer stops the run)