Skip to content

Commit 5beeb1d

Browse files
Refresh sample-app locks for current v2 artifacts (#316)
1 parent ddc9080 commit 5beeb1d

6 files changed

Lines changed: 41 additions & 41 deletions

File tree

composer.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/waterline/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/vendor/waterline/mix-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"/app.js": "/app.js?id=fc63813198009f036388c35cf49ada40",
2+
"/app.js": "/app.js?id=a2a386e68ea05bae2f461da9c6adbe22",
33
"/app-dark.css": "/app-dark.css?id=a84f0f42b0d872355eb4eca96e5be831",
44
"/app.css": "/app.css?id=f87a5bb3ecda2dceae68cca620f0cd5e",
55
"/img/favicon.png": "/img/favicon.png?id=7c006241b093796d6abfa3049df93a59",

scripts/resolve-current-artifacts.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
pinned_server_image="durableworkflow/server:0.2.530"
5-
pinned_cli_version="0.1.82"
6-
pinned_python_sdk_version="0.4.92"
7-
pinned_workflow_version="2.0.0-alpha.241"
8-
pinned_waterline_version="2.0.0-alpha.112"
4+
pinned_server_image="durableworkflow/server:0.2.544"
5+
pinned_cli_version="0.1.84"
6+
pinned_python_sdk_version="0.4.93"
7+
pinned_workflow_version="2.0.0-alpha.242"
8+
pinned_waterline_version="2.0.0-alpha.113"
99
current_artifact_tuple_url="${DURABLE_WORKFLOW_CURRENT_ARTIFACT_TUPLE_URL:-https://durable-workflow.com/docs-page-release-audit.json}"
1010
waterline_catalog_url="${DURABLE_WORKFLOW_WATERLINE_CATALOG_URL:-https://repo.packagist.org/p2/durable-workflow/waterline.json}"
1111

tests/Feature/SampleTeachingMaterialTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function test_full_conformance_harness_is_public_and_names_required_surfa
143143
$this->assertStringContainsString('DURABLE_WORKFLOW_WATERLINE_CATALOG_URL', $artifactResolver);
144144
$this->assertStringContainsString('https://durable-workflow.com/docs-page-release-audit.json', $artifactResolver);
145145
$this->assertStringNotContainsString('latest_dockerhub_server_version', $artifactResolver);
146-
$this->assertStringContainsString('pinned_cli_version="0.1.82"', $artifactResolver);
146+
$this->assertStringContainsString('pinned_cli_version="0.1.84"', $artifactResolver);
147147
$this->assertStringNotContainsString('latest_github_release_version durable-workflow/cli', $artifactResolver);
148148
$this->assertMatchesRegularExpression('/pinned_python_sdk_version="0\.4\.\d+"/', $artifactResolver);
149149
$this->assertStringNotContainsString('latest_pypi_version durable-workflow', $artifactResolver);

tests/Unit/PolyglotComposeContractTest.php

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -411,20 +411,20 @@ public function test_polyglot_smoke_installs_published_cli_and_configures_waterl
411411
$this->assertStringNotContainsString('DURABLE_WORKFLOW_WATERLINE_VERSION:=2.0.0-', $smokeShell);
412412
$this->assertIsArray($lockedPackages['durable-workflow/workflow'] ?? null);
413413
$this->assertSame(
414-
'2.0.0-alpha.241',
414+
'2.0.0-alpha.242',
415415
$lockedPackages['durable-workflow/workflow']['version'] ?? null,
416416
);
417417
$this->assertSame(
418-
'fbbe74c5f14a032a1465020f28530077e15a5447',
418+
'2eb930ffbf2ef6c5b0f87d034daaa38214914c82',
419419
$lockedPackages['durable-workflow/workflow']['source']['reference'] ?? null,
420420
);
421421
$this->assertIsArray($lockedPackages['durable-workflow/waterline'] ?? null);
422422
$this->assertSame(
423-
'2.0.0-alpha.112',
423+
'2.0.0-alpha.113',
424424
$lockedPackages['durable-workflow/waterline']['version'] ?? null,
425425
);
426426
$this->assertSame(
427-
'c3cfd68205e4cbb43d633c404c2e29251b088110',
427+
'8935693adaaf613d58b26bf14c70df8eca6c99c5',
428428
$lockedPackages['durable-workflow/waterline']['source']['reference'] ?? null,
429429
);
430430

@@ -517,15 +517,15 @@ public function test_committed_waterline_assets_match_current_locked_package():
517517
);
518518

519519
$this->assertSame([
520-
'/app.js' => '/app.js?id=fc63813198009f036388c35cf49ada40',
520+
'/app.js' => '/app.js?id=a2a386e68ea05bae2f461da9c6adbe22',
521521
'/app-dark.css' => '/app-dark.css?id=a84f0f42b0d872355eb4eca96e5be831',
522522
'/app.css' => '/app.css?id=f87a5bb3ecda2dceae68cca620f0cd5e',
523523
'/img/favicon.png' => '/img/favicon.png?id=7c006241b093796d6abfa3049df93a59',
524524
'/img/sprite.svg' => '/img/sprite.svg?id=afc4952b74895bdef3ab4ebe9adb746f',
525525
], $manifest);
526526

527527
foreach ([
528-
'public/vendor/waterline/app.js' => 'd09de30cf22397d4f4a282946166a5bbd236ff41aa8aecdf0a9d313385bdef7a',
528+
'public/vendor/waterline/app.js' => '0dfc235ffcb05a490189f1687b518ab9a19bc59cc03f195224db819e8c7cc877',
529529
'public/vendor/waterline/app-dark.css' => '3ab900036ac2eaa4fd4e6ca29147cc387463a1d2d5897319b95ffc0037ad5990',
530530
'public/vendor/waterline/app.css' => '75ea859e81f5df8749c0721fc56b4b769bd593a1ba3c71d46290db71660ebe85',
531531
] as $path => $expectedHash) {
@@ -624,12 +624,12 @@ public function test_polyglot_artifact_resolver_keeps_default_current_tuple_at_c
624624
'DURABLE_WORKFLOW_WATERLINE_CATALOG_URL' => 'file://'.$this->repoPath('tests/Fixtures/lagging-waterline-catalog.json'),
625625
], false);
626626

627-
$this->assertSame('durableworkflow/server:0.2.530', $assignments['DURABLE_SERVER_IMAGE'] ?? null);
628-
$this->assertSame('0.2.530', $assignments['DURABLE_SERVER_VERSION'] ?? null);
629-
$this->assertSame('0.1.82', $assignments['DURABLE_WORKFLOW_CLI_VERSION'] ?? null);
630-
$this->assertSame('0.4.92', $assignments['DURABLE_WORKFLOW_PYTHON_SDK_VERSION'] ?? null);
631-
$this->assertSame('2.0.0-alpha.241', $assignments['DURABLE_WORKFLOW_PHP_SDK_VERSION'] ?? null);
632-
$this->assertSame('2.0.0-alpha.112', $assignments['DURABLE_WORKFLOW_WATERLINE_VERSION'] ?? null);
627+
$this->assertSame('durableworkflow/server:0.2.544', $assignments['DURABLE_SERVER_IMAGE'] ?? null);
628+
$this->assertSame('0.2.544', $assignments['DURABLE_SERVER_VERSION'] ?? null);
629+
$this->assertSame('0.1.84', $assignments['DURABLE_WORKFLOW_CLI_VERSION'] ?? null);
630+
$this->assertSame('0.4.93', $assignments['DURABLE_WORKFLOW_PYTHON_SDK_VERSION'] ?? null);
631+
$this->assertSame('2.0.0-alpha.242', $assignments['DURABLE_WORKFLOW_PHP_SDK_VERSION'] ?? null);
632+
$this->assertSame('2.0.0-alpha.113', $assignments['DURABLE_WORKFLOW_WATERLINE_VERSION'] ?? null);
633633
}
634634

635635
public function test_polyglot_artifact_resolver_keeps_pinned_tuple_explicit(): void
@@ -638,19 +638,19 @@ public function test_polyglot_artifact_resolver_keeps_pinned_tuple_explicit(): v
638638
'DURABLE_WORKFLOW_ARTIFACT_SOURCE' => 'pinned',
639639
]);
640640

641-
$this->assertSame('durableworkflow/server:0.2.530', $assignments['DURABLE_SERVER_IMAGE'] ?? null);
642-
$this->assertSame('0.2.530', $assignments['DURABLE_SERVER_VERSION'] ?? null);
643-
$this->assertSame('0.1.82', $assignments['DURABLE_WORKFLOW_CLI_VERSION'] ?? null);
644-
$this->assertSame('dw==0.1.82', $assignments['DURABLE_WORKFLOW_CLI_PIN'] ?? null);
645-
$this->assertSame('0.4.92', $assignments['DURABLE_WORKFLOW_PYTHON_SDK_VERSION'] ?? null);
646-
$this->assertSame('2.0.0-alpha.241', $assignments['DURABLE_WORKFLOW_PHP_SDK_VERSION'] ?? null);
641+
$this->assertSame('durableworkflow/server:0.2.544', $assignments['DURABLE_SERVER_IMAGE'] ?? null);
642+
$this->assertSame('0.2.544', $assignments['DURABLE_SERVER_VERSION'] ?? null);
643+
$this->assertSame('0.1.84', $assignments['DURABLE_WORKFLOW_CLI_VERSION'] ?? null);
644+
$this->assertSame('dw==0.1.84', $assignments['DURABLE_WORKFLOW_CLI_PIN'] ?? null);
645+
$this->assertSame('0.4.93', $assignments['DURABLE_WORKFLOW_PYTHON_SDK_VERSION'] ?? null);
646+
$this->assertSame('2.0.0-alpha.242', $assignments['DURABLE_WORKFLOW_PHP_SDK_VERSION'] ?? null);
647647
$this->assertSame(
648-
'durable-workflow/workflow:2.0.0-alpha.241',
648+
'durable-workflow/workflow:2.0.0-alpha.242',
649649
$assignments['DURABLE_WORKFLOW_PHP_SDK_PIN'] ?? null,
650650
);
651-
$this->assertSame('2.0.0-alpha.112', $assignments['DURABLE_WORKFLOW_WATERLINE_VERSION'] ?? null);
651+
$this->assertSame('2.0.0-alpha.113', $assignments['DURABLE_WORKFLOW_WATERLINE_VERSION'] ?? null);
652652
$this->assertSame(
653-
'durable-workflow/waterline:2.0.0-alpha.112',
653+
'durable-workflow/waterline:2.0.0-alpha.113',
654654
$assignments['DURABLE_WORKFLOW_WATERLINE_PIN'] ?? null,
655655
);
656656
}

0 commit comments

Comments
 (0)