Repository navigation
test: remove TUS tests and related dependency tus-php - #41704
Merged
Merged
Conversation
DeepDiver1975
previously approved these changes
Jul 21, 2026
These acceptance tests were used by owncloud/ocis when the acceptance test infrastructure was common with owncloud/core. The tests are all skipped on owncloud/core, which does not support TUS. Delete the TUS tests and test code. Signed-off-by: Phillip Davis <[email protected]>
phil-davis
force-pushed
the
remove-tus-php
branch
from
July 21, 2026 08:53
635c4be to
65be095
Compare
DeepDiver1975
approved these changes
Jul 21, 2026
oc-tmueller
added a commit
that referenced
this pull request
Oct 5, 2026
The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
added a commit
that referenced
this pull request
Oct 5, 2026
The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
added a commit
that referenced
this pull request
Oct 5, 2026
The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
added a commit
that referenced
this pull request
Oct 6, 2026
The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
oc-tmueller
added a commit
that referenced
this pull request
Oct 6, 2026
…41888) * ci: run the API smoke acceptance tests on S3 primary storage Nothing ran the acceptance suite against S3 primary storage. The Drone pipelines could, but every S3 switch was off and the capability was not carried over to GitHub Actions, so a files_primary_s3 release that broke every download went unnoticed upstream. acceptance.yml gains a use-scality-s3 input that follows the Drone recipe: check out files_primary_s3 and `make vendor` it (it has no `ci` target), start a Scality server, and after installing the server enable the app, copy its scality.config.php into config/ and create the bucket. The test run gets OC_TEST_ON_OBJECTSTORE=1 so run.sh skips @skip_on_objectstore. ci.yml runs the existing smoke suite with it on every PR and gates it in "API Acceptance Tests". Closes #41881 Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 9b2292c) * fix: honour @skipOnStorage tags in the S3 acceptance run The first S3 smoke run failed on apiVersions/fileVersions.feature:89, which is tagged @skipOnStorage:scality @files_primary_s3-issue-278: a known objectstore bug that the scenario is meant to be skipped for. Drone set S3_TYPE alongside OC_TEST_ON_OBJECTSTORE, but nothing in core ever read it, so every @skipOnStorage:<type> tag was dead. run.sh now excludes @skipOnStorage:${S3_TYPE} when S3_TYPE is set, and acceptance.yml sets S3_TYPE=scality with use-scality-s3. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit abe333a) * ci: use case() for the S3 env values in acceptance.yml Review feedback: the repo prefers case() over the && || idiom. Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit d8161c1) * ci: run the S3 job against the files_primary_s3 version 10.16 ships The app's default branch requires ownCloud 11 and PHP 8.3, so check out v1.6.4, the version in the 10.16.5 bundle. That tag's tests/drone/scality.config.php targets http://scality:8000/, so point the scality hostname at the host-network container. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci: match the 10.16 smoke job's inputs in the S3 smoke job The S3 job came over from master with master's inputs. On 10.16 that breaks it three ways: it needs the calens job, which 10.16 does not have, so GitHub rejects the whole CI workflow; it checks out the notifications default branch, which requires ownCloud 11; and it drops apiWebdavUploadTUS, which master deleted in #41704 but 10.16 still ships. Use exactly the 10.16 API smoke job's needs and inputs, plus use-scality-s3, the same way the job mirrors the smoke job on master. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci: let the Scality server answer to the scality host name files_primary_s3 v1.6.4's scality.config.php targets http://scality:8000/, but Scality rejects any Host it does not list in its restEndpoints, so s3:create-bucket failed with InvalidURI in every S3 job. Set HOST_NAME, as drone's scality service did. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci: run the S3 job against files_primary_s3 v1.6.5 v1.6.4 fails every S3 download with 503 "Stream is not seekable" (owncloud/files_primary_s3#738). v1.6.5 fixes it and is the latest release for the 10.16 line. Its Makefile and tests/drone/scality.config.php are unchanged from v1.6.4. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Thomas Müller <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These acceptance tests were used by owncloud/ocis when the acceptance test infrastructure was common with owncloud/core. The tests are all skipped on owncloud/core, which does not support TUS.
Delete the TUS tests and test code.
Note: https://github.com/ankitpokhrel/tus-php has not had much maintenance recently, so it will be good to remove the test dependency. Also,
guzzlehttp/guzzlemajor version 8 was just released, and tus-php would be a blocker for that (currently it depends onguzzlehttp/guzzlev7.