Skip to content

Sweep fix: Sparkle update smoke ignores a stale launch report - #2107

Merged
r3dbars merged 2 commits into
mainfrom
claude/sweep-fix-sparkle-smoke-stale-report
Oct 8, 2026
Merged

r3dbars merged 2 commits into
mainfrom
claude/sweep-fix-sparkle-smoke-stale-report

Conversation

@r3dbars

@r3dbars r3dbars commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Split out of #2101 (one PR per bug). Confirmed bug from the Haiku sweep.

What was wrong

SparkleUpdateSmoke.runScenario never removed launch-ui-smoke.json from an earlier run, and the default --output is a fixed /tmp path. If the app crashed or never reported this time, the smoke decoded the old report and passed.

Failing test

  • SparkleUpdateSmokeTests.testScenarioDoesNotPassOnLaunchReportLeftByEarlierRun: a passing report from an earlier run is left in the scenario folder, and the "app" is a shell script that writes nothing. Before the fix the scenario passed; now it fails on launch-report. Red then green.
  • testScenarioPassesOnLaunchReportWrittenByThisLaunch: a report written by this launch still counts.

runScenario went from private to internal so the test can drive it without the native-smoke isolation gate. The fake app is a shell script, never the real app.

Fix

Delete the old report before launching.

Checks

  • swift test --package-path Tools/TranscriptedQA: 94 tests pass
  • bash check.sh: PASS

Independent review: approve with nits (3 rounds, reviewed as part of #2101). No nits for this fix.

🤖 Generated with Claude Code

runScenario never removed launch-ui-smoke.json from a previous run, and
the default --output is a fixed /tmp path, so an app that crashed before
reporting would decode the old report and PASS. Remove it before the
launch so only this run's report counts.
@r3dbars
r3dbars marked this pull request as ready for review October 8, 2026 10:22
@r3dbars r3dbars added the waiting-on-human Needs a human (Justin) to look before anything else happens label Oct 8, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T11:31:46.429210Z 5b84fe3 New commits
🔒 Security Review ✅ Completed 2026-10-08T10:27:38.580183Z 540ed48 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 540ed48310

ℹ️ 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".

@r3dbars r3dbars closed this Oct 8, 2026
@r3dbars r3dbars reopened this Oct 8, 2026
@r3dbars r3dbars closed this Oct 8, 2026
@r3dbars r3dbars reopened this Oct 8, 2026
@r3dbars
r3dbars merged commit b01cb2e into main Oct 8, 2026
25 of 33 checks passed
@r3dbars
r3dbars deleted the claude/sweep-fix-sparkle-smoke-stale-report branch October 8, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-human Needs a human (Justin) to look before anything else happens

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant