Skip to content

Gussy Up fauna status #663

Gussy Up fauna status

Gussy Up fauna status #663

Triggered via pull request December 12, 2024 21:51
Status Failure
Total duration 35s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
/home/runner/work/fauna-shell/fauna-shell/test/schema/status.mjs.schema status notifies the user when no local schema is found: test/schema/status.mjs#L113
expected stdout to have been called with arguments 'Staged changes: \u001b[1mnone\u001b[22m' Call 1: '"No changes staged."' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 2: '"\\nNo local changes. No schema files found in \'/home/runner/work/fauna-shell/fauna-shell\'.\\n"' '"Staged changes: \\u001b[1mnone\\u001b[22m"'
/home/runner/work/fauna-shell/fauna-shell/test/schema/status.mjs.schema status fetches the current status when there are no changes: test/schema/status.mjs#L154
expected stdout to have been called with arguments 'Staged changes: \u001b[1mnone\u001b[22m' Call 1: '"No changes staged."' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 2: '"\\nNo local changes.\\n"' '"Staged changes: \\u001b[1mnone\\u001b[22m"'
/home/runner/work/fauna-shell/fauna-shell/test/schema/status.mjs.schema status fetches the current status when there are only local changes: test/schema/status.mjs#L198
expected stdout to have been called with arguments 'Staged changes: \u001b[1mnone\u001b[22m' Call 1: '"No changes staged."' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 2: '"\\nLocal changes:"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 3: '" (use `fauna schema diff` to display local changes)"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 4: '" (use `fauna schema push` to stage local changes)"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 5: '" * Adding collection `NewCollection` to collections.fsl:2:1"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 6: '" * Modifying collection `OrderItem` at collections.fsl:125:1"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 7: '" * Modifying function `createOrUpdateCartItem` at functions.fsl:2:1"' '"Staged changes: \\u001b[1mnone\\u001b[22m"' Call 8: '' '"Staged changes: \\u001b[1mnone\\u001b[22m"'
/home/runner/work/fauna-shell/fauna-shell/test/schema/status.mjs.schema status fetches the current status when there are only staged changes: test/schema/status.mjs#L248
expected stdout to have been called with arguments 'Staged changes: \u001b[1mready\u001b[22m' Call 1: '"Staged changes are \\u001b[1mready\\u001b[22m:"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 2: '" (use `fauna schema commit` to commit staged changes)"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 3: '" \\u001b[1;34m* Adding collection `NewCollection`\\u001b[0m to collections.fsl:2:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 4: '" \\u001b[1;34m* Modifying collection `OrderItem`\\u001b[0m at collections.fsl:125:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 5: '" \\u001b[1;34m* Modifying function `createOrUpdateCartItem`\\u001b[0m at functions.fsl:2:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 6: '"\\nNo local changes.\\n"' '"Staged changes: \\u001b[1mready\\u001b[22m"'
/home/runner/work/fauna-shell/fauna-shell/test/schema/status.mjs.schema status fetches the current status when there are both local and staged changes: test/schema/status.mjs#L295
expected stdout to have been called with arguments 'Staged changes: \u001b[1mready\u001b[22m' Call 1: '"Staged changes are \\u001b[1mready\\u001b[22m:"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 2: '" (use `fauna schema commit` to commit staged changes)"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 3: '" \\u001b[1;34m* Adding collection `NewCollection`\\u001b[0m to collections.fsl:2:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 4: '" \\u001b[1;34m* Modifying collection `OrderItem`\\u001b[0m at collections.fsl:125:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 5: '" \\u001b[1;34m* Modifying function `createOrUpdateCartItem`\\u001b[0m at functions.fsl:2:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 6: '"\\nLocal changes:"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 7: '" (use `fauna schema diff` to display local changes)"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 8: '" (use `fauna schema push` to stage local changes)"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 9: '" * Adding function `newFunction` to functions.fsl:1:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 10: '" * Modifying function `createOrUpdateCartItem` at functions.fsl:5:1"' '"Staged changes: \\u001b[1mready\\u001b[22m"' Call 11: '' '"Staged changes: \\u001b[1mready\\u001b[22m"'
test (22.x)
Process completed with exit code 5.
test (20.x)
The job was canceled because "_22_x" failed.
test (20.x)
The operation was canceled.
test (20.x)
Process completed with exit code 5.
test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636