feat: unify scf discovery and fix shell tooling bugs

- scf: discover referenced text files with source-based ordering; cache canonical paths and bound scans, parsing and candidate display
- config: rewrite config includes atomically
- installer: preserve configuration contents, permissions and links; fix dry-run
- updater: recover stale updater scripts and report update failures
- riot: fix riot batches, dry runs, empty arguments and IPv6 SCP paths
- frigg: propagate Frigg authentication failures
- add offline regression tests and CI coverage

Signed-off-by: Dict Xiong <me@dxng.cn>
This commit is contained in:
Dict Xiong
2026-11-18 09:25:33 +08:00
parent 02ea21c839
commit 277c124d3b
13 changed files with 1834 additions and 251 deletions

View File

@@ -3,6 +3,21 @@ on:
push: ~
workflow_dispatch: ~
jobs:
test-offline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run offline regression tests
run: |
bash tools/test-getopts.sh
bash tools/test-install.sh
bash tools/test-update.sh
bash tools/test-riot.sh
bash tools/test-riot-gpg.sh
bash tools/test-sagent-gpg-pin.sh
bash tools/test-scf.sh
bash tools/test-frigg-client.sh
test-signed-updates:
runs-on: ubuntu-latest
steps: