Repository navigation
build-proposal.py: 前の出力を消せないときは traceback・1 でなく 2 で止まり、残ったものを名指しする(#440) - #477
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…とを試料で見る(#440 の 1 パス目) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… パス目) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 27, 2026
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.
Fixes #440
cruise #474 の周(不在の周。
/dev-loop:cruise 474 --absent)。変更
build-proposal.pyのremove_ownedが、消せなかった出力を(理由つきで)返す。消せなかったものがあれば印.build-proposalを残す(次の実行が消せるように)mainは前の出力を消せなければ、作らずに 2 で止まり、消せなかった出力を名指しする(traceback・1 にならない。照合の 1 と取り違えない)write_outputsの書きかけの片付けで消せなくても、2 つ目の例外を逃がさず「書きかけを消せなかった」と名指しして 2is_fileが辿れない先の symlink で例外を投げるので、is_symlinkを先に見る(1 パス目の CR1)--outの親・--outのディレクトリ・書きかけの片付け・一部だけ消せない・辿れない先の symlink の試料と、変異 7 件。この python で当てなかった変異は OK の件数に数えず名指しする(2 パス目の P2-2)references/tree.mdに 1 文。spec-loop 0.26.0 → 0.26.1(patch)確かめたこと
scripts/test-build-proposal.py: python3.12OK: 試料 82 件・変異 97 件、python3.14OK: 試料 82 件・変異 96 件(当てていない 1 件——3.12 でだけ死ぬ変異)scripts/check-all.py: 52/52(main を取り込んだ後も)関門
直す線:
既定(cruise の確かめた線)。/code-review(high)直したのは CR1・CR5(1 パス目)、P2-2(2 パス目)。採否の表は
docs/plans/issue-440.mdの「既知の限界・決着済みの論点」。残課題(直していない指摘)
いずれも受入基準を破らない、または実物で示せていないもの:
Path.unlinkを差し替えた試料だけが見るmainのif left:がStopの報告の経路を写しているwrite_outputsのpath.exists()が python3.12 で辿れない先の symlink(印に無い手置きのもの)に例外を投げ、traceback・1(想定外の例外は spec-loop: 想定外の例外がトレースバックで 1 になり、1(違反)と 2(検査していない)の区別が崩れる #286)tryが成功のprintも包む(stderr が閉じていると消したものを「消せない」にする。走らせていない)lstatが ENAMETOOLONG を投げ、印の名前が長すぎると以後ずっと 2(走らせていない)人間に判断をお願いするもの(狭いパスの所見)
- len(skipped)と名指し)を壊しても、どのテストも赤にならない——表示を判別する試料が無い未証明
マージ
不在の cruise はここで止まる。 このリポジトリのマージは GitHub Pages を再デプロイするので、確かめた線
マージ = 関門を通ればマージが効かない(本番反映。#476 で扱う)。🤖 Generated with Claude Code