Fail closed for SMB referral transports
This commit is contained in:
@@ -138,12 +138,13 @@ cd /mnt/DATA/git/govoplan-files/dev/connectors
|
||||
/mnt/DATA/git/govoplan-core/.venv/bin/python smoke.py
|
||||
```
|
||||
|
||||
The script reads `.env` from this directory when present, seeds tiny WebDAV,
|
||||
Nextcloud, SMB, and MinIO fixtures, then browses and imports them through the
|
||||
connector helper layer. Pass `--require-smb` after recreating the SMB container
|
||||
to fail on SMB access errors instead of reporting them as an optional skip. Pass
|
||||
`--require-s3` after starting MinIO and installing `govoplan-files[s3]` to fail
|
||||
on S3 access errors instead of reporting them as an optional skip.
|
||||
The script reads `.env` from this directory when present and seeds tiny WebDAV,
|
||||
Nextcloud, SMB, and MinIO fixtures. WebDAV and Nextcloud are browsed and imported
|
||||
through the pinned connector transport. SMB and S3 product access deliberately
|
||||
fails closed until their SDK transports support peer pinning, so their fixtures
|
||||
are retained for transport development and reported as expected optional skips.
|
||||
The `--require-smb` and `--require-s3` switches are useful only while developing
|
||||
that transport support and currently make the smoke check fail by design.
|
||||
|
||||
SMB smoke checks need the optional Python dependency in the environment running
|
||||
the script:
|
||||
|
||||
Reference in New Issue
Block a user