Skip to content

chore: document installer invariants, wire shell tests into CI#113

Merged
CybotTM merged 1 commit into
mainfrom
chore/retro-agents-rules-ci
Jul 17, 2026
Merged

chore: document installer invariants, wire shell tests into CI#113
CybotTM merged 1 commit into
mainfrom
chore/retro-agents-rules-ci

Conversation

@CybotTM

@CybotTM CybotTM commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

Retro follow-ups from this week's bug chain (#106#111):

  1. scripts/AGENTS.md — four hard-won invariants, each of which caused a shipped bug: never verify installs via PATH lookup (resolve the manager's bin dir; pass detected paths into removal code), environments ≠ installations (both detection layers must stay in sync), quiet command wrappers detach stdin and surface failures, and the shellcheck hook lints the whole changed file.
  2. CI Shell Tests job running tests/test_guide_multi_install.sh (52 assertions) and tests/test_reconcile_dryrun.sh (7 assertions) — they were wired into no job, and a dormant assertion in the former (classify nvm path returns npm(...)) predicted the pnpm/nvm misclassification fixed in fix(scripts): remove all detected installations on uninstall #106 long before it bit.

Both suites verified green locally before wiring.

Came from /retro: yes

scripts/AGENTS.md gains the four invariants behind this week's fixes
(no PATH-lookup verification, environments are not installations,
stdin-detached quiet wrappers, whole-file shellcheck hook).

tests/test_guide_multi_install.sh and tests/test_reconcile_dryrun.sh
ran in no CI job; a dormant assertion there predicted the nvm/npm
classification bug fixed in #106. New Shell Tests job runs both.

Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copilot AI review requested due to automatic review settings July 17, 2026 06:10
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@CybotTM
CybotTM merged commit ac83a44 into main Jul 17, 2026
20 of 21 checks passed
@CybotTM
CybotTM deleted the chore/retro-agents-rules-ci branch July 17, 2026 06:21
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.59%. Comparing base (4e581e8) to head (b465b2c).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   72.59%   72.59%           
=======================================
  Files          22       22           
  Lines        3416     3416           
=======================================
  Hits         2480     2480           
  Misses        936      936           
Flag Coverage Δ
unittests 72.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants