Repository navigation
PS4: route through the prompt-error containment channel - #3593
Merged
Merged
Conversation
Refs #3542 GNU expand_prompt_string (subst.c:4392-4418) runs the PS4 word pass under no_longjmp_on_fatal_error and returns the decoded string on any verdict, so a `:?` error operator REPORTS (subst.c:8216 parameter_brace_expand_error) and the xtrace prefix stays literal: `PS4='+${q:?err}'` prints `q: err` then `+${q:?err}: hi`. The PS4 path used the bare embedded-parameter walk, which substituted the message (`+err: hi`) and never diagnosed; it now goes through the same expand_prompt_string-grade channel PS1 and `${var@P}` already use. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Member
Author
|
【WIN-AGENT-AUDIT】 机制核查:
腿(逐项):
F 点:无。 |
Member
Author
|
【队长终裁】PASS 核过审计报告(6886615221)+ CI 全表,并纠正批量汇总表的记录错误:汇总表把本单标 FAIL,但审计报告正文写的是 PASS,且审计内容自洽——钉 2/2,fail-first 1/1(红 = issue 形状,base 输出 |
Member
Author
|
【WIN-AGENT-REWORK】 补跑缺腿(本机,CARGO_INCREMENTAL=0,-j 2):
按终裁合入,正文 Refs #3542。 |
caomengxuan666
marked this pull request as ready for review
November 15, 2026 05:01
This was referenced Nov 15, 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.
Summary
Refs #3542
GNU expand_prompt_string (subst.c:4392-4418) runs the PS4 word pass
under no_longjmp_on_fatal_error and returns the decoded string on any
verdict, so a
:?error operator REPORTS (subst.c:8216parameter_brace_expand_error) and the xtrace prefix stays literal:
PS4='+${q:?err}'printsq: errthen+${q:?err}: hi. The PS4 pathused the bare embedded-parameter walk, which substituted the message
(
+err: hi) and never diagnosed; it now goes through the sameexpand_prompt_string-grade channel PS1 and
${var@P}already use.Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>