Repository navigation
Description
Summary
The acceptance suite is never run against S3 primary storage, on any branch. Core has the
tests and (in .drone.star) the plumbing, but the two never meet, so a whole storage backend
has no end-to-end coverage upstream.
A concrete consequence: files_primary_s3 shipped a broken download path in v1.6.3 and
v1.6.4, and the 10.16.5 server bundle inherited it (owncloud/files_primary_s3#738). Every
download from S3 primary storage returned HTTP 503. The test that detects it already exists
here — tests/acceptance/features/apiMain/checksums.feature:28, "Uploading a file with checksum
should return the checksum in the download header":
When user "Alice" downloads file "/myChecksumFile.txt" using the WebDAV API
Then the HTTP status code should be "200"It was caught by a downstream product image running this very suite against S3, not by any
upstream pipeline.
Measured state
| state | |
|---|---|
.drone.star S3 switches (master and 10.16) |
0 enabled, 6 False |
S3 plumbing in .drone.star |
present — ceph + scality services, installs files_primary_s3 as primary object store (~100 references) |
master Actions acceptance jobs |
10 (acceptance-api-smoke, acceptance-api, -previews, -federation, -cli*, …) |
scality / ceph / files_primary_s3 in any of master's 11 workflow files |
none |
10.16 Actions CI |
Commits, PHP Unit, PHP Unit (Oracle) — no acceptance at all |
So the S3 acceptance capability was built for Drone, switched off, and not carried across the
migration to GitHub Actions.
Why this gap is load-bearing
files_primary_s3 is the storage backend for object-store deployments, and its own CI runs
core's unit suite against real Scality and Ceph — but it has no acceptance job, and its own
feature files are an empty stub plus two unrelated scenarios. Meanwhile dependabot bumps
aws/aws-sdk-php on that app routinely. The SDK is exactly where this breakage came from: a
newer SDK started rewinding response bodies, which fails on the non-seekable bodies that a
streamed download produces. Nothing in either repo gates an SDK bump on a download actually
working.
Proposal
Add one S3-primary-storage variant of the smoke acceptance suite. This is cheap because the
pieces are already wired:
tests/drone/install-server.sh— already invoked by.github/workflows/*— supports
PRIMARY_OBJECTSTORE=files_primary_s3(see line 68)..drone.staralready contains the scality/ceph service definitions and the app-install step
to copy from.
That is: a scality service container, PRIMARY_OBJECTSTORE=files_primary_s3, and the existing
acceptance-api-smoke suite. A single run of apiMain smoke against scality would have caught
the above before v1.6.3 shipped.
Running the full matrix against S3 is not necessary; smoke is enough to catch "downloads are
completely broken".
Happy to prepare the workflow change if this is wanted.
Activity
phil-davis commentedon Oct 5, 2026
Note: core acceptance tests used to be run in drone https://github.com/owncloud/files_primary_s3/blob/master/.drone.star with ceph and/or scality in place. Those drone pipelines have not been converted to GitHub workflows.
ci: run the API smoke acceptance tests on S3 primary storage
ci: run the API smoke acceptance tests on S3 primary storage
ci: run the API smoke acceptance tests on S3 primary storage
ci: run the API smoke acceptance tests on S3 primary storage
ci: run the API smoke acceptance tests on S3 primary storage [10.16] (#…
ci: run the API smoke acceptance tests on S3 primary storage (ownclou…