Ben Irvin
e94abcb823
test(e2e): fixes for race conditions and file resets ( #26019 )
2026-04-20 18:38:46 +02:00
Ben Irvin
bac520e9f8
fix(data-transfer): fix large transfer crashes; show transfer progress ( #23479 )
...
* enhancement: update progress per chunk
* fix: check stageprogress exists to make ts happy
* chore: split progress tracker into two methods
* test: fix lint
* enhancement: display readable times
* fix: speed indication for assets
* fix: restore speed indicator and fix double counting
* chore: clean up code
* fix: data transfer memory leak
* fix: yarn.lock
* chore: fix memory logging
* ci: complex project remote transfer
* enhancement: optimized transfer mode
* test(cli): data transfer and env passthrough
* chore: only send one message warning of legacy mode
* enhancement: show transfer totals and estimated time
* test(cli): fix deterministic transfer test files
* fix: push and pull shared utils backwards compatibility
* fix(data-transfer): extract legacy asset chunk parsing and tighten transfer logging/test coverage
* enhancement: checksum negotiation
* enhancement: show skipped file warnings on client
* fix: transfer diagnostics
* test: fix open handle
* fix: clear stall timeout for assets
* chore: fix misleading comments and variables
* test: fix misleading test
* test: fix typo
* test: make checks deterministic, less flaky
* enhancement(data-transfer): speed up asset totals; widen assets start reply window on remote pull
* fix(data-transfer): harden WebSocket JSON serialization for transfer frames
* fix(data-transfer): more transfer hardening
* test: fix test imports
* fix: await async write
* fix(data-transfer): resolve push transfer deadlock and harden async writes
- Extract createAssetsDestinationWritable so Writable callbacks run before
uploadStream completes (same WS batch as PassThrough chunks).
- Add writable-async-write (write callback + drain/finished race; avoid hang
on destroy).
- Wire push/pull, remote-source, file & directory sources to shared write().
- Fire-and-forget pull flush: Promise.resolve(flush).catch(onError); guard
missing stream inside try.
- Add regression tests (assets writable, writable-async-write, handler checks).
* fix(data-transfer): write push stream batches sequentially
Use a for-loop with await write() instead of Promise.all over msg.data
so non-asset stages respect one in-flight write per objectMode Writable
and backpressure from writable-async-write.
- Validate minChunksForBackpressure in assertReadStreamBackpressure
- Add engine test for non-Buffer asset chunk byte progress (counts as 1)
- Assert push.ts keeps sequential msg.data handling in static handler test
* fix(data-transfer): align push streamAsset with remote-source and harden tests
- Push handler: combine stream/end under one branch, error when start is missing
or action is invalid; shorten stage write comments.
- Engine version-matching tests: use a fresh createDestination() per engine so
parallel transfers do not share destination writables (MaxListeners warnings).
- File destination tests: mock createWriteStream with a new Writable per call.
- CLI transfer tests: mock progress.stream so transfer::finish runs after transfer
and clears the progress setInterval (fixes Jest worker hang).
- Misc test cleanup: assets-destination timeout clearTimeout, collect listeners,
writable-async-write teardown; tighten push/static test descriptions.
* test: remove parity test
* fix(data-transfer): harden collect() and stabilize transfer tests
- collect(): settle once, remove listeners on resolve/reject, avoid double completion
- engine tests: add expectHeapGrowthWithinNoise for heap smoke checks
- CLI transfer tests: console spies in beforeAll; jest.restoreAllMocks in afterAll
- stream test: remove removeAllListeners workaround
2026-04-20 16:08:05 +02:00
Ben Irvin
3f4ea0431f
test(cli): fix snapshot updating and replace fixed versions ( #25986 )
2026-04-13 11:43:31 +02:00
Ben Irvin
353a86a60d
security: package upgrades to remove deprecated versions of boolean, tar, and glob ( #25776 )
...
* chore: upgrade tar, global-agent, dedupe yarn.lock
This removes the deprecated packages: boolean, tar<7, node-gyp<12, and others
* chore: upgrade inquirer, file-type, jscodeshift, supertest
* chore: update better-sqlite3
* chore: upgrade pg and mysql2
* fix: use dynamic imports for inquirer esm only
* test(cli): add create-strapi-app test
* test(cli): add scaffold cases
* chore: upgrade to rimraf 6.1.3
* chore: dedupe yarn.lock
* security: update jwk-to-pem
* chore: dedupe yarn.lock
* chore: align inquirer version
* chore: yarn.lock
* test: fix inquirer imports
* test(cli): support zero apps
* test: fix back-end
* test(cli): fix inquirer and fs
* chore: remove accidental file
* chore: dedupe and upgrade pinned deps
2026-03-19 13:44:02 +01:00
Ben Irvin
484b494b02
security(upload): improve mimetype detection for uploads ( #25177 )
2026-03-04 10:39:09 +01:00
HichamELBSI
115aba1855
chore: remove unused media lib files
2025-12-22 10:46:38 +01:00
Nico André
1aba3c8ade
fix(tests/scripts): disable gpgsign for e2e commits ( #24959 )
2025-12-11 17:33:36 +01:00
Ben Irvin
6cc814a191
test: move app-template to common dir
2025-12-03 16:18:46 +01:00
Ben Irvin
7030b57abd
test: test runner commits playwright config
2025-11-20 18:03:32 +01:00
Ben Irvin
bb00d5e691
chore: merge test runners
2025-11-18 16:24:27 +01:00
Ben Irvin
2f1e80a196
revert: move back test files
2025-11-18 15:15:03 +01:00
Ben Irvin
a722518caf
test: merge cli and e2e directories
2025-11-18 14:44:35 +01:00
Ben Irvin
6f3359af36
test(e2e): launch initial server in watch mode ( #23354 )
2025-04-14 10:34:55 +02:00
Ben Irvin
df1dc7b498
test(e2e): improve flakiness and performance of file reset ( #23337 )
2025-04-10 16:56:16 +02:00
Vincent (Wen Yu) Ge
0791cd2736
Fix report generation and upload ( #23231 )
...
* Fix report generation and upload
* revert pointless empty line change
2025-04-07 12:28:49 +02:00
markkaylor
4119cc523a
fix(e2e): update data import and export scripts ( #22071 )
2024-11-12 18:04:44 +01:00
Ben Irvin
bdce42ce6e
test(cli): update snapshots for list commands ( #21496 )
2024-10-01 10:37:37 +02:00
Marc Roig
43f30b747f
chore: merge develop into v5 main ( #21108 )
...
* cron type fix
* Fix typo of query key from 'providers' to 'get-providers'
* Closing #19644 fix filters type
* node-scadule updated + types updated
* Fix formating errors
* fix formatting
* update lock file
* fix patreon oauth 400 error
from lack of user-agent header
* test: backport cli tests (#20433 )
* fix(chore): increase specificity of the Lightning icon color (#20467 )
* test: temporarily disable broken edit ctb tests on CI (#20481 )
* feat(cli): cloud cli commands (v4) (#20119 )
* feat(cli): add cloud commands
Co-authored-by: Gonzalo Garcia <nouvellegon@gmail.com >
Co-authored-by: nathan-pichon <nathan.pichon@strapi.io >
Co-authored-by: Abdallah M <55534657+abdallahmz@users.noreply.github.com >
* v4.25.0 (#20500 )
* NPS: Update frequency of the NPS (#20492 )
* enhancement(admin): change postFirstDismissal and display delays
* enhancement(admin): change the display delay
* fix: prevent use of local ips on webhooks (#20487 )
* chore: mask error on webhook manual trigger
* feat: prevent using local ips
* feat: display webhook edit error
* chore: pr suggestion
* chore: api tests
* chore: allow local ips on development
* chore: only run check on production
* feat: include internationalized urls
* fix: prettier
* Add: Strapi deploy command to README files
* v4.25.1
* Update @aws-sdk/client-s3 package
* feat(cli): add browser logout step (#20502 )
* feat(cli): add browser log out step
* handle error whiile fetching the config
* Update LICENSE packing for packages for v4 (#20576 )
* feat(create-strapi-app): remove the cloud project creation part (#20561 )
* feat(create-strapi-app): remove the cloud project creation part
* fix(create-strapi-app): adding new parameter to cloud service instantiation
* Update Yarn to 4.3.1
Signed-off-by: Sora Morimoto <sora@morimoto.io >
* feat(cli): trigger login sequence when token is missing or invalid (#20572 )
* feat(cli): launch login when auth fails
* fix(cli): abstract create project fn
* fix(cli): guidelines
* fix(cli): rebase
---------
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
* fix clone entity, #20509 (#20531 )
* chore: bump glob from 7.2.0 to 9.0.0
* chore: bump glob to v10.4.2 in core/strapi
* update yarn.lock
* removed redundant packages/core/strapi/src/load/glob.ts file
* v4.25.2 to main (#20676 )
* Fix typo of query key from 'providers' to 'get-providers'
* Closing #19644 fix filters type
* fix patreon oauth 400 error
from lack of user-agent header
* Add: Strapi deploy command to README files
* Update @aws-sdk/client-s3 package
* feat(cli): add browser logout step (#20502 )
* feat(cli): add browser log out step
* handle error whiile fetching the config
* Update LICENSE packing for packages for v4 (#20576 )
* feat(create-strapi-app): remove the cloud project creation part (#20561 )
* feat(create-strapi-app): remove the cloud project creation part
* fix(create-strapi-app): adding new parameter to cloud service instantiation
* Update Yarn to 4.3.1
Signed-off-by: Sora Morimoto <sora@morimoto.io >
* feat(cli): trigger login sequence when token is missing or invalid (#20572 )
* feat(cli): launch login when auth fails
* fix(cli): abstract create project fn
* fix(cli): guidelines
* fix(cli): rebase
---------
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
* fix: support string array
* fix clone entity, #20509 (#20531 )
* v4.25.2
---------
Signed-off-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: smoothdvd <madfxgao@gmail.com >
Co-authored-by: Micah Riggan <micahriggan@gmail.com >
Co-authored-by: Tewson Seeoun <tewson.seeoun@gmail.com >
Co-authored-by: Maxime Castres <mcastres@student.42.fr >
Co-authored-by: Alex Supkay <asupkay1124@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
Co-authored-by: Abdallah M <55534657+abdallahmz@users.noreply.github.com >
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Kirill Verevkin <kira795@yandex.ru >
* v4.25.2 (#20675 )
* fix: support string array
* v4.25.2
---------
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
* feat(cli): use project name from package json by default (#20479 )
* chore: change cloud message in homepage (#20685 )
* chore(cloud-cli): migrate to fs-extra (#20695 )
* feat(cloud-cli): migrate compress-files.ts to fs-extra
* feat(cloud-cli): migrate pkg.ts to fs-extra
* fix(cloud-cli): update using promises in recursive function
* feat(cli): Add projects list command (#20694 )
* feat(cli): projects list command
* fix: updating contributing guide workflow
* chore: release v4.25.3 (#20722 )
* fix: invalid path separator (#20740 )
* fix: invalid path separator
* fix: prettier
* v4.25.4 to develop (#20832 )
* 4.25.4 to main (#20833 )
* cron type fix
* node-scadule updated + types updated
* Fix formating errors
* fix formatting
* update lock file
* chore(cloud-cli): migrate to fs-extra (#20695 )
* feat(cloud-cli): migrate compress-files.ts to fs-extra
* feat(cloud-cli): migrate pkg.ts to fs-extra
* fix(cloud-cli): update using promises in recursive function
* feat(cli): Add projects list command (#20694 )
* feat(cli): projects list command
* fix: invalid path separator (#20740 )
* fix: invalid path separator
* fix: prettier
* v4.25.4
---------
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
* Chore: Removing some people from the issue auto-assignment
Removing Simen and Nick from the array of people issues will be auto-assigned to
* fix(cloud-cli): avoid blocking event loop in deploy command (#20850 )
* chore(cloud-cli): update error handling for config and logs at the ends of function execution
* fix(cloud-cli): clear timeout before returning - free the event loop from waiting
* feat(cli): add project link command to cloud cli (#20714 )
* feat(cli): add link command
* 4.25.5 to main (#20873 )
* cron type fix
* node-scadule updated + types updated
* Fix formating errors
* fix formatting
* update lock file
* chore(cloud-cli): migrate to fs-extra (#20695 )
* feat(cloud-cli): migrate compress-files.ts to fs-extra
* feat(cloud-cli): migrate pkg.ts to fs-extra
* fix(cloud-cli): update using promises in recursive function
* feat(cli): Add projects list command (#20694 )
* feat(cli): projects list command
* fix: updating contributing guide workflow
* fix: invalid path separator (#20740 )
* fix: invalid path separator
* fix: prettier
* v4.25.4 to develop (#20832 )
* Chore: Removing some people from the issue auto-assignment
Removing Simen and Nick from the array of people issues will be auto-assigned to
* fix(cloud-cli): avoid blocking event loop in deploy command (#20850 )
* chore(cloud-cli): update error handling for config and logs at the ends of function execution
* fix(cloud-cli): clear timeout before returning - free the event loop from waiting
* feat(cli): add project link command to cloud cli (#20714 )
* feat(cli): add link command
* v4.25.5
---------
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
Co-authored-by: José Luis <alagunasalahaddin@live.com >
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
Co-authored-by: DMehaffy <derrickmehaffy@gmail.com >
* v4.25.5 to develop (#20872 )
* 4.25.4 to main (#20833 )
* cron type fix
* node-scadule updated + types updated
* Fix formating errors
* fix formatting
* update lock file
* chore(cloud-cli): migrate to fs-extra (#20695 )
* feat(cloud-cli): migrate compress-files.ts to fs-extra
* feat(cloud-cli): migrate pkg.ts to fs-extra
* fix(cloud-cli): update using promises in recursive function
* feat(cli): Add projects list command (#20694 )
* feat(cli): projects list command
* fix: invalid path separator (#20740 )
* fix: invalid path separator
* fix: prettier
* v4.25.4
---------
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
* v4.25.5
---------
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com >
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
* fix custom email provider test issue #19122 (#19123 )
* fix custom email provider test issue #19122
* chore(email): prettier clean up
---------
Co-authored-by: Jamie Howard <jamie.howard@strapi.io >
* Changed Discord username to fit change Discord made.
* v4.25.6
* fix(cli): Update 'project not found' error message in deploy command (#20923 )
* chore: aggregate test result to add a single required status check and make it dynamic
* shard ee tests+ fix broken platform (#20914 )
* v4.25.7
* RBAC Action Aliases - v4 (#20954 )
* test(cli): add list command tests (#20949 )
* feat(cloud-cli): preselect node-version based on local node-version (#20959 )
* [Fix] Validate cloning as entity creation so field validations aren't skipped e.g. unique constraints (#20963 )
* flatten CI workflow tests (#20969 )
* v4.25.8 release to develop (#21011 )
* Removing workflows the support team doesn't need anymore
* chore: getstarted schema sync between v4-v5 (#21047 )
* Chore(CLI): Add validation to prevent deployment of suspended projects (#20976 )
* chore(cli): check project suspension
* Prettier fix
* chore(deps): update axios to 1.7.4 (#21014 )
* fix(cli): Update endpoint path for listLinkProjects (#21052 )
* chore: update lint-staged to 15.2.9 (#21075 )
* v4.25.9
* fix: issue 21079
* fix: rich text selection & deletion issues
* fix: build
* fix: type
* fix: skip failing cli tests
* chore: fix jest options in ci
---------
Signed-off-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: Boegie19 <34578426+Boegie19@users.noreply.github.com >
Co-authored-by: smoothdvd <madfxgao@gmail.com >
Co-authored-by: Micah Riggan <micahriggan@gmail.com >
Co-authored-by: Tewson Seeoun <tewson.seeoun@gmail.com >
Co-authored-by: Ben Irvin <ben.irvin@strapi.io >
Co-authored-by: Simone <startae14@gmail.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Garcia <nouvellegon@gmail.com >
Co-authored-by: Abdallah M <55534657+abdallahmz@users.noreply.github.com >
Co-authored-by: Maxime Castres <mcastres@student.42.fr >
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu >
Co-authored-by: Alex Supkay <asupkay1124@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
Co-authored-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Kirill Verevkin <kira795@yandex.ru >
Co-authored-by: chrismuiruriz <chrismuiruri007@gmail.com >
Co-authored-by: José Luis <alagunasalahaddin@live.com >
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com >
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io >
Co-authored-by: DMehaffy <derrickmehaffy@gmail.com >
Co-authored-by: ahallaha <104538552+ahallaha@users.noreply.github.com >
Co-authored-by: Jamie Howard <jamie.howard@strapi.io >
Co-authored-by: mallowsc <mallowsc@outlook.com >
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com >
Co-authored-by: mallowsc <96073136+mallowsc@users.noreply.github.com >
Co-authored-by: Olli Hiekkaranta <Ohiekkar@users.noreply.github.com >
2024-09-02 14:31:01 +02:00
Josh
e188aac623
Merge branch 'develop' into v5/main
2024-04-08 15:21:08 +01:00
Ben Irvin
5ab818b8ee
test: add e2e tests for CTB restarts from file changes
2024-04-04 18:55:24 +02:00
Ben Irvin
7b669622a6
chore: move cli-tests to tests/cli
2024-04-03 11:56:00 +02:00
Ben Irvin
2ef71bdf4c
Merge branch 'develop' into v5/main
2024-04-02 16:25:24 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs
2024-04-02 11:19:43 +02:00