Repository navigation
fix(release): restore trusted Telegram validation - #104455
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 252d54bf5b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const result = spawnSync("bash", ["-n"], { | ||
| encoding: "utf8", | ||
| input: launcherSource, |
There was a problem hiding this comment.
Parse the inner launcher script in the syntax test
When the launcher has a quoting bug inside the inner /bin/bash -ceu program, this check only validates the outer launcher file and does not expand or parse the nested script argument that failed in the release lane. The immediately previous broken launcher with shell's pre-exec still exits 0 under this bash -n assertion, so the regression test would pass on the exact failure it is meant to guard; extract the nested runtime payload or execute through a stubbed launcher path and validate that script too.
Useful? React with 👍 / 👎.
|
Codex review: needs real behavior proof before merge. Reviewed July 11, 2026, 8:12 AM ET / 12:12 UTC. Summary PR surface: Tests +17, Config 0. Total +17 across 2 files. Reproducibility: yes. The linked live release run shows the unmatched-quote failure at Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review findings
Review detailsBest possible solution: Keep the production quote fix, but replace the ineffective outer-script syntax check with a regression that captures or exercises the actual program passed to nested Do we have a high-confidence way to reproduce the issue? Yes. The linked live release run shows the unmatched-quote failure at Is this the best way to solve the issue? No, not as currently tested. The production edit is the narrow root-cause repair, but the proposed regression test cannot distinguish the broken current-main artifact from the fixed artifact. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1285fd6db457. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +17, Config 0. Total +17 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where the trusted Telegram release lane could not launch the isolated gateway after the proc-visibility hardening landed. The generated launcher terminated with an unmatched-quote parse error before writing its process identity, blocking beta release validation.
Why This Change Was Made
Removes the apostrophe that escaped the launcher's nested single-quoted Bash program. Adds a regression test that extracts the complete generated launcher and checks it with
bash -n, covering the actual artifact that failed in CI.User Impact
Release operators can run the trusted Telegram validation lane again. No product runtime behavior changes.
Evidence
launch-runtimewithunexpected EOF while looking for matchingsingle quote.git diff --checkAI-assisted: yes. The generated change and regression test were reviewed and understood.