@suffolklitlab/alkiln 5.16.1 → 5.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/da_image_v_sha_7d13853.yml +0 -3
- package/.github/workflows/github_server.yml +0 -3
- package/.github/workflows/playground.yml +0 -3
- package/CHANGELOG.md +17 -1
- package/action.yml +7 -7
- package/action_for_github_server/action.yml +3 -3
- package/lib/scope.js +2 -0
- package/package.json +1 -1
|
@@ -36,9 +36,6 @@ jobs:
|
|
|
36
36
|
&& github.event.pull_request.head.repo.fork
|
|
37
37
|
)
|
|
38
38
|
runs-on: ubuntu-latest
|
|
39
|
-
strategy:
|
|
40
|
-
matrix:
|
|
41
|
-
node-version: [24.x]
|
|
42
39
|
|
|
43
40
|
#### Developer note: You can probably leave out these specific
|
|
44
41
|
#### environment variables. You may not even need the `env`
|
package/CHANGELOG.md
CHANGED
|
@@ -43,7 +43,23 @@ Format:
|
|
|
43
43
|
-
|
|
44
44
|
-->
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
## [Unreleased]
|
|
47
|
+
|
|
48
|
+
## [5.17.0] - 2026-09-10
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- GitHub action release: Restored our GitHub action's default for ALKiln version to the latest version 5 again. Released first on GitHub actions. NPM release will come in time, but npm has no impact on GitHub action releases.
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- Fixed GitHub+You action outdated docassemble cli version causing Scenario timeouts.
|
|
57
|
+
- Part 1 of detecting custom AL error screen: Story Table now catches `al_custom_error_screen` error. Previously, Story Tables that ran into this screen would get stuck on the AL error page infinitely. Next steps: Linear Steps may need additional development. Currently linear Steps succeed even when they run into AL's error page. That bears additional discussion. See [issue #656](https://github.com/SuffolkLITLab/ALKiln/issues/656) and [PR #1116](https://github.com/SuffolkLITLab/ALKiln/pull/1116).
|
|
58
|
+
|
|
59
|
+
### Internal
|
|
60
|
+
|
|
61
|
+
- Simplify workflow files by removing `node` env setup (leaving it to the actions)
|
|
62
|
+
- Updated both of our actions' dependencies (the checkout, setup-node, setup-python, upload-artifacts, download-artifacts actions). Closes [#1095](https://github.com/suffolkLITLab/aLKiln/issues/1095). Once again, action related.
|
|
47
63
|
|
|
48
64
|
## [5.16.1] - 2026-06-01
|
|
49
65
|
|
package/action.yml
CHANGED
|
@@ -14,7 +14,7 @@ inputs:
|
|
|
14
14
|
ALKILN_VERSION:
|
|
15
15
|
description: 'Version of ALKiln to get from npm.'
|
|
16
16
|
required: false
|
|
17
|
-
default: '5.
|
|
17
|
+
default: '^5.0.0'
|
|
18
18
|
MAX_SECONDS_FOR_SETUP:
|
|
19
19
|
description: "Amount of time to give the Project to upload your package's GitHub code."
|
|
20
20
|
required: false
|
|
@@ -32,7 +32,7 @@ inputs:
|
|
|
32
32
|
DOCASSEMBLECLI_VERSION:
|
|
33
33
|
description: "The version of docassemblecli to install."
|
|
34
34
|
required: false
|
|
35
|
-
default: "0.0.
|
|
35
|
+
default: "0.0.25"
|
|
36
36
|
ALKILN_MAX_RANDOM_TESTS_PER_SCENARIO:
|
|
37
37
|
description: "The maximum number of tests ALKiln will generate for every Scenario that can generate tests."
|
|
38
38
|
required: false
|
|
@@ -59,7 +59,7 @@ runs:
|
|
|
59
59
|
using: "composite"
|
|
60
60
|
steps:
|
|
61
61
|
# Place the root directory in this branch
|
|
62
|
-
- uses: actions/checkout@
|
|
62
|
+
- uses: actions/checkout@v7
|
|
63
63
|
|
|
64
64
|
# Set environment variables
|
|
65
65
|
- name: "💡 ALK0023 INFO: Set environment variables"
|
|
@@ -111,7 +111,7 @@ runs:
|
|
|
111
111
|
|
|
112
112
|
# Install ALKiln during GitHub workflow
|
|
113
113
|
- name: "💡 ALK0025 INFO: Set up node"
|
|
114
|
-
uses: actions/setup-node@
|
|
114
|
+
uses: actions/setup-node@v6
|
|
115
115
|
with:
|
|
116
116
|
node-version: "24.x"
|
|
117
117
|
package-manager-cache: false
|
|
@@ -155,7 +155,7 @@ runs:
|
|
|
155
155
|
|
|
156
156
|
# Install package on playground
|
|
157
157
|
# Don't rely on the environment's version of python
|
|
158
|
-
- uses: actions/setup-python@
|
|
158
|
+
- uses: actions/setup-python@v6
|
|
159
159
|
if: ${{ inputs.INSTALL_METHOD == 'playground' }}
|
|
160
160
|
with:
|
|
161
161
|
python-version: '3.10'
|
|
@@ -213,7 +213,7 @@ runs:
|
|
|
213
213
|
# Upload artifacts that subscribers can download on the Actions summary page
|
|
214
214
|
- name: "💡 ALK0033 INFO: Upload artifacts folder"
|
|
215
215
|
if: ${{ always() }}
|
|
216
|
-
uses: actions/upload-artifact@
|
|
216
|
+
uses: actions/upload-artifact@v7
|
|
217
217
|
with:
|
|
218
218
|
name: ${{ env.ARTIFACT_FOLDER }}
|
|
219
219
|
path: ./alkiln-*
|
|
@@ -221,7 +221,7 @@ runs:
|
|
|
221
221
|
# Download artifacts folder internally to create action output
|
|
222
222
|
- name: "💡 ALK0183 INFO: Get uploaded artifacts folder"
|
|
223
223
|
if: ${{ always() }}
|
|
224
|
-
uses: actions/download-artifact@
|
|
224
|
+
uses: actions/download-artifact@v8
|
|
225
225
|
with:
|
|
226
226
|
name: ${{ env.ARTIFACT_FOLDER }}
|
|
227
227
|
|
|
@@ -49,7 +49,7 @@ runs:
|
|
|
49
49
|
using: "composite"
|
|
50
50
|
steps:
|
|
51
51
|
# Place the root directory in this branch
|
|
52
|
-
- uses: actions/checkout@
|
|
52
|
+
- uses: actions/checkout@v7
|
|
53
53
|
|
|
54
54
|
- shell: bash
|
|
55
55
|
run: |
|
|
@@ -253,7 +253,7 @@ runs:
|
|
|
253
253
|
done
|
|
254
254
|
|
|
255
255
|
# Don't rely on the environment's version of python
|
|
256
|
-
- uses: actions/setup-python@
|
|
256
|
+
- uses: actions/setup-python@v6
|
|
257
257
|
with:
|
|
258
258
|
python-version: '3.10'
|
|
259
259
|
# No output
|
|
@@ -285,7 +285,7 @@ runs:
|
|
|
285
285
|
echo "$(docker output docassemble_container)" >> "${{ env.DEBUG_LOGS_PATH }}"
|
|
286
286
|
- name: "💡 ALK0020 INFO: Upload artifacts folder"
|
|
287
287
|
if: ${{ always() && env.OUTPUT_DOCKER == 'true' }}
|
|
288
|
-
uses: actions/upload-artifact@
|
|
288
|
+
uses: actions/upload-artifact@v7
|
|
289
289
|
with:
|
|
290
290
|
name: ${{ env.GITHUB_SERVER_ARTIFACT_NAME }}
|
|
291
291
|
path: ${{ env.DEBUG_LOGS_PATH }}
|
package/lib/scope.js
CHANGED
|
@@ -2673,6 +2673,8 @@ module.exports = {
|
|
|
2673
2673
|
// The below does not work if there's not a space between ':' and 'none'
|
|
2674
2674
|
simple_user_error: await scope.page.$$(`xpath/.//*[contains(@class, "da-has-error")][not(contains(@style,"display: none"))]`),
|
|
2675
2675
|
system_error: await scope.page.$$(`xpath/.//meta[@content="docassemble: Error"]` ),
|
|
2676
|
+
// Hardcoding the `al_custom_error_action` screen (that's what the base64 here is). It hides actual errors and looks like a continue screen, but isn't.
|
|
2677
|
+
al_custom_error: await scope.page.$$('.question-custom-error-action .daattributions #trigger[data-variable="YWxfY3VzdG9tX2Vycm9yX2FjdGlvbg"]'),
|
|
2676
2678
|
};
|
|
2677
2679
|
|
|
2678
2680
|
let error_handlers = {};
|