Skip to content

workstation-v0: add revert mode to shell/fish autopatch + CI revert tests#58

Merged
mdheller merged 5 commits into
mainfrom
feat/workstation-v0-shell-revert
Apr 20, 2026
Merged

workstation-v0: add revert mode to shell/fish autopatch + CI revert tests#58
mdheller merged 5 commits into
mainfrom
feat/workstation-v0-shell-revert

Conversation

@mdheller

Copy link
Copy Markdown
Contributor

Adds operational symmetry and stronger test coverage to the workstation-v0 autopatch helpers.

Changes:

  • profiles/linux-dev/workstation-v0/bin/patch-shell.sh
    • add revert mode that removes the bounded marker block
  • profiles/linux-dev/workstation-v0/bin/patch-fish.sh
    • add revert mode that removes the bounded marker block
    • add SOURCEOS_FISH_CONFIG override for CI/testability
  • .github/workflows/workstation-scripts.yml
    • add patch-shell revert smoke test
    • add patch-fish apply/revert smoke test
  • docs/workstation/RUNBOOK.md
    • document revert usage for both helpers

Why:

  • The autopatch flow should be reversible, not just idempotent.
  • CI should validate both application and removal of the patch blocks.

Scope note:

  • This PR improves the helper scripts and CI first.
  • Exposing revert through sourceos fix ... can follow if desired.

@mdheller
mdheller merged commit af3a40a into main Apr 20, 2026
@mdheller
mdheller deleted the feat/workstation-v0-shell-revert branch July 19, 2026 02:07
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