Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,14 @@ jobs:
name: feature-timing-mysql-${{ matrix.shard }}
path: build/test-results/mysql-shard-${{ matrix.shard }}*

- name: Verify bounded dashboard reads on MySQL
if: ${{ matrix.shard == 0 }}
run: vendor/bin/phpunit tests/Unit/V2/OperatorDashboardReadBoundsTest.php --fail-on-warning
env:
DB_CONNECTION: mysql
QUEUE_CONNECTION: redis
XDEBUG_MODE: off

- name: Upload laravel.log if MySQL tests fail
if: ${{ github.server_url == 'https://github.com' && (failure() || steps.mysql_suite.outcome == 'failure') }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
Expand Down Expand Up @@ -936,6 +944,14 @@ jobs:
# than a silent hang.
PGOPTIONS: "-c synchronous_commit=off -c statement_timeout=120000 -c lock_timeout=30000 -c idle_in_transaction_session_timeout=60000"

- name: Verify bounded dashboard reads on PostgreSQL
if: ${{ matrix.shard == 0 }}
run: vendor/bin/phpunit tests/Unit/V2/OperatorDashboardReadBoundsTest.php --fail-on-warning
env:
DB_CONNECTION: pgsql
QUEUE_CONNECTION: redis
XDEBUG_MODE: off

- name: Emit PostgreSQL shard diagnostics
if: ${{ always() }}
env:
Expand Down Expand Up @@ -1057,6 +1073,23 @@ jobs:
REDIS_PASSWORD: ''
XDEBUG_MODE: off

- name: Verify bounded dashboard reads on MariaDB
run: |
vendor/bin/phpunit tests/Unit/V2/OperatorDashboardReadBoundsTest.php --fail-on-warning
DB_CONNECTION=mariadb vendor/bin/phpunit tests/Unit/V2/OperatorDashboardReadBoundsTest.php --fail-on-warning
env:
APP_KEY: base64:i3g6f+dV8FfsIkcxqd7gbiPn2oXk5r00sTmdD6V5utI=
DB_CONNECTION: mysql
DB_DATABASE: testbench
DB_USERNAME: root
DB_PASSWORD: password
CACHE_DRIVER: redis
CACHE_STORE: redis
QUEUE_CONNECTION: redis
QUEUE_FAILED_DRIVER: 'null'
REDIS_PASSWORD: ''
XDEBUG_MODE: off

- name: Upload Laravel log if MariaDB tests fail
if: ${{ github.server_url == 'https://github.com' && failure() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"dev-main": "2.0.x-dev"
},
"durable-workflow": {
"product-train": "2.4.2",
"product-train": "2.4.3",
"laravel-embedded-upgrade-contract": "resources/laravel-embedded-upgrade-contract.json",
"laravel-dependency-security-policy": "resources/laravel-dependency-security-policy.json"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Traits/TimersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function testStoresResult(): void
$storedWorkflow->timers()
->create([
'index' => 0,
'stop_at' => now(),
'stop_at' => WorkflowStub::now(),
]);

WorkflowStub::timer('1 minute')
Expand Down
Loading