ci / protondrive (push) Successful in 23m29s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
Task 18: Wider hermetic suites and fork CI
Files:
- Create:
fstest/testserver/init.d/TestProtonDriveFake - Modify:
fstest/testserver/init.d/PORTS.md - Modify:
fstest/test_all/config.yaml(add backendprotondriveremoteTestProtonDriveFake:entry,fastlist: false) - Create:
.gitea/workflows/ci.yml - Modify:
docs/TODO.md,docs/PERMISSIONS.md
Model the init.d script on fstest/testserver/init.d/TestWebdavRclone
(rclone-serve.bash/run.bash helpers): start protonfake on a port
allocated in PORTS.md, echo its key=value lines and
_connect=127.0.0.1:PORT.
Read "Notes for Tasks 18 to 21" in the handoff before starting: this text leaves out how the script obtains
protonfake's output and manages its process, and the commands below needRCLONE_CONFIG=/notfound.
- Step 1: Add the script and config entry. Run
go run ./fstest/test_all -backends protondrive -remotes TestProtonDriveFake: -maxtries 1 -n 4and fix backend failures infs/operations,fs/sync,vfsuntil the report is clean.cmd/bisyncandcmd/gitannex: run them; if they fail for reasons that need M5/M6 work, addignoretestsfor those two on the fake remote and list the failures indocs/TODO.md. - Step 2:
.gitea/workflows/ci.ymlon push and pull request:actions/setup-gowithgo-version-file: go.mod; stepsgo build ./...;go vet ./backend/protondrive/...;golangci-lint run ./backend/protondrive/...;go test -race ./backend/protondrive/...; a 20s fuzz run per target;go run golang.org/x/vuln/cmd/govulncheck@latest ./backend/protondrive/.... It cannot be verified locally: say so indocs/TODO.md("first push must confirm the Gitea runner picks it up"). - Step 3: Update
docs/PERMISSIONS.mdverified-commands table for the host toolchain (Go 1.27.4, golangci-lint 2.15.0) and addgolangci-lint runto the Allow tier in it and in the three tool files. - Step 4: Commit
protondrive: run the wider suites against the fake server in fork CI.