Skip to content

test(linux): share the installer package fixture between test classes - #253

Merged
nervouna merged 1 commit into
mainfrom
simplify-2026-11-25
Nov 25, 2026
Merged

nervouna merged 1 commit into
mainfrom
simplify-2026-11-25

Conversation

@nervouna

Copy link
Copy Markdown
Owner

Summary

No issue: weekly simplification of 2026-11-18 to 2026-11-25 commits.

  • Linux/scripts/test_install.py: InstallTests.package/manifest and UpdateTests.build_archive each built the
    required payload files and the package.json manifest with duplicated code. Both now use module-level
    write_payload and write_manifest. Net -4 lines (22 insertions, 26 deletions).

No behavior change: no test expectation changed, and the fixture package identifiers printed by the tests are the
same before and after.

Acceptance

  • TMPDIR=$(cd "$TMPDIR" && pwd -P) python3 -B Linux/scripts/test_install.py: 30 tests, OK (macOS host).
  • python3 -B Linux/scripts/test_quality.py: 2 tests, OK.

Deviations and open issues

  • With the default macOS TMPDIR, test_install_upgrade_rollback_and_uninstall fails on main as well, because
    /var is a symlink to /private/var and the test compares a resolved path with an unresolved one. Not touched
    here; the test targets Linux and passes in CI.
  • Reviewed the other commits of the week (Rust portable tests, comment lint, Linux quality and release scripts,
    docs) and found no other simplification that removes lines without changing behavior.

Delivery record

Implementer model Implementer tokens Rework rounds Dispatch to merge Defects found in review Defects found in acceptance
Claude Fable 5.2 0

🤖 Generated with Claude Code

InstallTests and UpdateTests each wrote the required payload files and the
package manifest with their own copy of the same code. Both now call
module-level write_payload and write_manifest. Package identifiers and all
assertions are unchanged; 4 lines fewer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@nervouna
nervouna enabled auto-merge November 25, 2026 02:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T02:18:33.343832Z 50e76f3 PR opened
🔒 Security Review ✅ Completed 2026-11-25T02:20:40.706051Z 50e76f3 PR opened
ℹ️ 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.

@nervouna
nervouna merged commit ed799ec into main Nov 25, 2026
8 checks passed
@nervouna
nervouna deleted the simplify-2026-11-25 branch November 25, 2026 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant