Ensure session data is always returned #4780
tests.yml
on: pull_request
Formatting
43s
Tests
1m 29s
Verify Init
40s
End-to-End Linter
1m 2s
Matrix: End-to-End Tests
Annotations
14 errors and 33 warnings
End-to-End Tests (ubuntu-latest, e2e-svelte):
node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts#L39
Cannot find module 'csstype'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
Process completed with exit code 1.
|
End-to-End Tests (ubuntu-latest, e2e-react):
node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts#L39
Cannot find module 'csstype'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
|
End-to-End Tests (ubuntu-latest, e2e-react)
Process completed with exit code 1.
|
End-to-End Linter:
node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts#L39
Cannot find module 'csstype'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
|
End-to-End Linter
Process completed with exit code 1.
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The job was canceled because "ubuntu-latest_e2e-svelte" failed.
|
End-to-End Tests (ubuntu-latest, e2e-kit):
node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts#L39
Cannot find module 'csstype'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The operation was canceled.
|
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts > kit route processor > route with +page.gql query:
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts#L544
Error: Snapshot `kit route processor > route with +page.gql query 4` mismatched
- Expected
+ Received
export async function load(event) {
- const __houdini__vite__plugin__return__value__ = {};
-
return {
...event.data,
- ...__houdini__vite__plugin__return__value__
+ ...{}
};
}
❯ packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts:544:31
|
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts > kit route processor > route with +layout.gql query:
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts#L583
Error: Snapshot `kit route processor > route with +layout.gql query 4` mismatched
- Expected
+ Received
import { load_TestLayoutQuery } from "$houdini/plugins/houdini-svelte/stores/TestLayoutQuery";
import { getCurrentConfig } from "$houdini/runtime/lib/config";
import { RequestContext } from "$houdini/plugins/houdini-svelte/runtime/session";
export async function load(context) {
- const houdini_context = new RequestContext(context);
- const houdiniConfig = getCurrentConfig();
- const promises = [];
- const inputs = {};
- inputs["TestLayoutQuery"] = {};
+ const houdini_context = new RequestContext(context);
+ const houdiniConfig = getCurrentConfig();
+ const promises = [];
+ const inputs = {};
+ inputs["TestLayoutQuery"] = {};
- promises.push(load_TestLayoutQuery({
- "variables": inputs["TestLayoutQuery"],
- "event": context,
- "blocking": undefined
- }));
+ promises.push(load_TestLayoutQuery({
+ "variables": inputs["TestLayoutQuery"],
+ "event": context,
+ "blocking": undefined
+ }));
- let result = {};
+ let result = {};
- try {
- result = Object.assign({}, ...(await Promise.all(promises)));
- } catch (err) {
- throw err;
- }
+ try {
+ result = Object.assign({}, ...(await Promise.all(promises)));
+ } catch (err) {
+ throw err;
+ }
- const __houdini__vite__plugin__return__value__ = {
- ...houdini_context.returnValue,
- ...result
- };
+ return {
+ ...context.data,
- return {
- ...context.data,
- ...__houdini__vite__plugin__return__value__
- };
+ ...{
+ ...houdini_context.returnValue,
+ ...result
+ }
+ };
}
❯ packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts:583:31
|
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts > layout loads:
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts#L1123
Error: Snapshot `layout loads 1` mismatched
- Expected
+ Received
@@ -10,55 +10,54 @@
const store2 = new MyQuery2Store();
export function _MyQuery2Variables() {}
export const _houdini_load = [store1, store2];
async function __houdini___MyQuery2Variables(config, event) {
- const result = {};
+ const result = {};
- Object.assign(result, marshalInputs({
- config: config,
- input: await _MyQuery2Variables(event),
- artifact: _MyQuery2Artifact
- }));
+ Object.assign(result, marshalInputs({
+ config: config,
+ input: await _MyQuery2Variables(event),
+ artifact: _MyQuery2Artifact
+ }));
- return result;
+ return result;
}
export async function load(context) {
- const houdini_context = new RequestContext(context);
- const houdiniConfig = getCurrentConfig();
- const promises = [];
- const inputs = {};
- inputs["MyQuery1"] = {};
+ const houdini_context = new RequestContext(context);
+ const houdiniConfig = getCurrentConfig();
+ const promises = [];
+ const inputs = {};
+ inputs["MyQuery1"] = {};
- promises.push(load_MyQuery1({
- "variables": inputs["MyQuery1"],
- "event": context,
- "blocking": undefined
- }));
+ promises.push(load_MyQuery1({
+ "variables": inputs["MyQuery1"],
+ "event": context,
+ "blocking": undefined
+ }));
- inputs["MyQuery2"] = await __houdini___MyQuery2Variables(houdiniConfig, context);
+ inputs["MyQuery2"] = await __houdini___MyQuery2Variables(houdiniConfig, context);
- promises.push(load_MyQuery2({
- "variables": inputs["MyQuery2"],
- "event": context,
- "blocking": undefined
- }));
+ promises.push(load_MyQuery2({
+ "variables": inputs["MyQuery2"],
+ "event": context,
+ "blocking": undefined
+ }));
- let result = {};
+ let result = {};
- try {
- result = Object.assign({}, ...(await Promise.all(promises)));
- } catch (err) {
- throw err;
- }
+ try {
+ result = Object.assign({}, ...(await Promise.all(promises)));
+ } catch (err) {
+ throw err;
+ }
- const __houdini__vite__plugin__return__value__ = {
- ...houdini_context.returnValue,
- ...result
- };
+ return {
+ ...context.data,
- return {
- ...context.data,
- ...__houdini__vite__plugin__return__value__
- };
+ ...{
+ ...houdini_context.returnValue,
+ ...result
+ }
+ };
}
❯ packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts:1123:30
|
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts > layout inline query:
packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts#L1235
Error: Snapshot `layout inline query 2` mismatched
- Expected
+ Received
@@ -2,35 +2,34 @@
import { getCurrentConfig } from "$houdini/runtime/lib/config";
import { RequestContext } from "$houdini/plugins/houdini-svelte/runtime/session";
import _TestQueryArtifact from "$houdini/artifacts/TestQuery";
export async function load(context) {
- const houdini_context = new RequestContext(context);
- const houdiniConfig = getCurrentConfig();
- const promises = [];
- const inputs = {};
- inputs["TestQuery"] = {};
+ const houdini_context = new RequestContext(context);
+ const houdiniConfig = getCurrentConfig();
+ const promises = [];
+ const inputs = {};
+ inputs["TestQuery"] = {};
- promises.push(load_TestQuery({
- "variables": inputs["TestQuery"],
- "event": context,
- "blocking": undefined
- }));
+ promises.push(load_TestQuery({
+ "variables": inputs["TestQuery"],
+ "event": context,
+ "blocking": undefined
+ }));
- let result = {};
+ let result = {};
- try {
- result = Object.assign({}, ...(await Promise.all(promises)));
- } catch (err) {
- throw err;
- }
+ try {
+ result = Object.assign({}, ...(await Promise.all(promises)));
+ } catch (err) {
+ throw err;
+ }
- const __houdini__vite__plugin__return__value__ = {
- ...houdini_context.returnValue,
- ...result
- };
+ return {
+ ...context.data,
- return {
- ...context.data,
- ...__houdini__vite__plugin__return__value__
- };
+ ...{
+ ...houdini_context.returnValue,
+ ...result
+ }
+ };
}
❯ packages/houdini-svelte/src/plugin/transforms/kit/load.test.ts:1235:30
|
Tests
Process completed with exit code 1.
|
Verify Init
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Verify Init
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Verify Init
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Verify Init
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Verify Init
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Formatting
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-svelte)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-react)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-End Tests (ubuntu-latest, e2e-react)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-react)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-react)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-react)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
End-to-End Linter
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Linter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Linter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Linter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
End-to-End Tests (ubuntu-latest, e2e-kit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|