Skip to content

[do not merge] example to move inclusion override #359

[do not merge] example to move inclusion override

[do not merge] example to move inclusion override #359

Triggered via pull request October 1, 2024 23:58
Status Failure
Total duration 53s
Artifacts 1

heat-stack.yml

on: pull_request
⬣ Heat-Stack - ESLint
34s
⬣ Heat-Stack - ESLint
ʦ Heat-Stack - TypeScript
36s
ʦ Heat-Stack - TypeScript
⚡ Heat-Stack - Vitest pyodide.test.ts
43s
⚡ Heat-Stack - Vitest pyodide.test.ts
Matrix: Rules Engine - Build
Matrix: Rules Engine - Lint
Matrix: Rules Engine - Mypy
Matrix: Rules Engine - Pytest
🚀 Heat-Stack - Deploy
0s
🚀 Heat-Stack - Deploy
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Rules Engine - Pytest (3.11.3)
Process completed with exit code 2.
Rules Engine - Mypy (3.11.3)
Process completed with exit code 2.
app/utils/pyodide.test.ts > pyodide solves climate change: heat-stack/app/utils/pyodide.test.ts#L251
PythonError: Traceback (most recent call last): File "<exec>", line 22, in execute File "/lib/python3.11/site-packages/rules_engine/engine.py", line 75, in get_outputs_natural_gas inclusion_override=bool(input_val.inclusion_override), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/lib/python3.11/site-packages/pydantic/main.py", line 761, in __getattr__ raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}') AttributeError: 'NaturalGasBillingRecordInput' object has no attribute 'inclusion_override' ❯ new_error public/pyodide-env/pyodide.asm.js:9:12519 ❯ null.<anonymous> wasm:/wasm/02250ad6:1:1411112 ❯ null.<anonymous> wasm:/wasm/02250ad6:1:1411373 ❯ Object.Module._pythonexc2js public/pyodide-env/pyodide.asm.js:9:640895 ❯ Object.Module.callPyObjectKwargs public/pyodide-env/pyodide.asm.js:9:81856 ❯ Object.Module.callPyObject public/pyodide-env/pyodide.asm.js:9:82066 ❯ Qe.apply public/pyodide-env/pyodide.asm.js:9:97147 ❯ Object.apply public/pyodide-env/pyodide.asm.js:9:95381 ❯ app/utils/pyodide.test.ts:251:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { __error_address: 33000248 }
⚡ Heat-Stack - Vitest pyodide.test.ts
Process completed with exit code 1.
Rules Engine - Pytest (3.11.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rules Engine - Lint (3.11.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rules Engine - Build (3.11.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rules Engine - Mypy (3.11.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
⬣ Heat-Stack - ESLint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/heat/CaseSummaryComponents/EnergyUseHistoryChart.tsx#L18
`@faker-js/faker` import should occur before import of `zod`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/table.tsx#L4
`class-variance-authority` import should occur before import of `react`
⬣ Heat-Stack - ESLint: heat-stack/app/components/ui/table.tsx#L4
Imports "VariantProps" are only used as type
ʦ Heat-Stack - TypeScript
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
⚡ Heat-Stack - Vitest pyodide.test.ts
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
python-rules-engine-wheel Expired
89.9 KB