Repository navigation
#439 適合性テストを GitHub Actions で回す - #441
Merged
Merged
Conversation
…基準(ResultBaseline.csv)と比べて、違ったモジュールだけを回し直すスクリプトを足した(RunPlans.ps1・CompareResults.ps1)。 - 起動・停止の本体を 2_DockerComposeUp.ps1・3_DockerComposeDown.ps1 に移し、.bat は呼ぶだけにした(..\Stub\ と同じ形)。Prepare.ps1・RunTestPlan.ps1 のパスの区切りを / にし、openssl のコンテナを呼んだ利用者で動かす(Linux で秘密鍵が root の持ち物になるのを避ける)。ホストのリソースの場所は E2E_RESOURCE_DIR で替えられる - CTS の OP で、Implicit と ROPC のグラントを compose で開いた(雛形の既定は false。手元の appsettings.json の値に頼っていて、雛形から作る CI では Implicit・Hybrid がすべて落ち、CIBA の端末役が 400 になった) - CompareResults.ps1:結果の JSON を、プラン・モジュール・バリアントごとの基準と比べる(良くなった方向も差とする。-Update で基準を直す)。ResultBaseline.csv は 2026-11-25・26 の手元の全 56 の組の結果から作り、手元のぶれで FAILED のまま入った 3 件を、CI の結果に合わせて PASSED に直した - RunTestPlan.ps1:-Module でモジュールだけを回し直す(結果の JSON に書き戻し、報告書は -retry<N>.zip)。落ちたモジュールは、失敗した判定の名前(src)を画面と結果の JSON に残す(値は残さない) - RunPlans.ps1:プランを順に回し、基準と比べ、違ったモジュールだけを 8 回まで回し直し、REVIEW の材料も比べる。回し直しても残った差が 3 件以下で、すべて自動操作のぶれ(WebRunner)なら、落とさずに警告に留める - ExtractReview.ps1:回し直しの報告書を番号の順に重ね、同じモジュールのログを置き換えて読む - README.md:手順・基準との比較と CI を書いた Tested-with: manual
…にした(conformance.yml。master 宛ての PR・手動・週 1 回)。Open棟梁 の部品は再利用のワークフロー otr-assemblies.yml で 1 回だけ建て、build-and-test.yml もそれを使う。 - conformance.yml:群ごとに Conformance Suite と OP を起動し、container/CTS/RunPlans.ps1 を呼ぶ。残すのは結果の JSON と差の一覧だけ(設定の JSON と報告書は秘密を含むので残さない)。手動の実行では、入力 plans でプランを絞れる。試行のための ci/439 への push の契機は、fixed の前に外す - otr-assemblies.yml:OTR_REF をここ 1 か所にし、1_BuildAll.ps1 -OpenTouryoDir -Only Libs で建てて成果物 otr-assemblies にする。build-and-test.yml の build・e2e-windows・e2e-linux はそれを落として -Libs None で建てる(以前は build と e2e-windows が、それぞれ OpenTouryo を取って建てていた) - 文書:12_BUILDING.md 11 節、14_TESTING.md 5 節「適合性テスト」、QUALITY.md 2 節(リリースの前の全プランは CI。合否は基準との比較) - ci/439 で、conformance.yml の全 10 群が成功(run 46054036484。oidcc-dcr は残ったぶれ 2 件を警告に留めた)、build-and-test.yml の全ジョブが成功(run 46008320781。e2e-windows (npg) はランナーの WSL の Docker に接続できず、1 回回し直した) Tested-with: manual
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
6th_agent の 3 コミットを develop に取り込む。
変更内容
container/CTSを Linux の pwsh でも回せるようにした2_DockerComposeUp.ps1・3_DockerComposeDown.ps1に移し、.batは呼ぶだけにしたResultBaseline.csv。56 の組・1726 行)と比べるCompareResults.ps1を足したRunPlans.ps1を足したRunTestPlan.ps1に-Module(指定したモジュールだけを回す)を足した。ExtractReview.ps1は回し直しの報告書を重ねて読むdocker-compose.ymlで明示した(手元のappsettings.jsonに頼っていた).github/workflows/conformance.yml(新規).github/workflows/otr-assemblies.yml(新規。再利用のワークフロー):Open棟梁 の部品を 1 回だけ建てる。build-and-test.ymlの各ジョブも、部品をここから受け取る形に変えた(OTR_REFは 1 か所)container/CTS/README.md、root/14_TESTING.md5 節、root/12_BUILDING.md11 節、QUALITY.md2 節(リリースの前の全プランは CI で満たす。不適合を直す Issue のfixedの前は手元のまま)OP のコードは変えていない。
検証
ci/439(消した)への push で、両方のワークフローを回したconformance.yml:全 10 群が成功(run 46054036484)。oidcc-dcr だけ、回し直しの後に残ったぶれ 2 件を警告に留めたbuild-and-test.yml:全ジョブが成功(run 46008320781。e2e-windows (npg)はランナーの WSL の Docker に接続できず 1 回回し直した)RunPlans.ps1を回した(5.1 でoidcc-basic・oidcc-config、7 でoidcc-config。基準との差 0)actionlint:指摘なしpush:の契機の分(5254ac10)は、CI では回っていない。workflow_dispatch・schedule・master 宛ての PR の契機は、既定のブランチに入ってから動くCheckExpectationChange.ps1 -Range origin/develop..HEAD -CheckGenerated:exit 0利用者への影響
無し(開発の仕組みだけ)。
チェック
🤖 Generated with Claude Code