Ionia-Devs / chameleon

https://chameleon-sandy.vercel.app
1 stars 1 forks source link

improvements #89

Closed Balance8 closed 4 months ago

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chameleon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 16, 2024 0:55am
Balance8 commented 4 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Balance8 and the rest of your teammates on Graphite Graphite

github-actions[bot] commented 4 months ago

🌟 Important Action Required! 🌟

FINAL STEPS:

To finalize the changes to the schema and successfully merge them to PlanetScale, your action is needed. Please review the steps below:

Step Action
1 Review the proposed schema changes for accuracy.
2 Test the changes locally to ensure they work as expected.
3 Comment /ps-merge on this PR to trigger the merge process.
4 Await the automated merge process to apply your changes.

This will trigger the merge process and apply your changes to PlanetScale. 🚀

✨✨✨✨✨✨✨✨✨✨

  /ps-merge

✨✨✨✨✨✨✨✨✨✨

railway-app[bot] commented 4 months ago

This PR is being deployed to Railway 🚅

chameleon: ◻️ REMOVED

Balance8 commented 4 months ago

/ps-create

github-actions[bot] commented 4 months ago

The latest updates on your build

Name Status Updated (UTC)
fd00fd5 ❌ Failed Sat, 16 Mar 2024 00:56:32 GMT

Build failed:


 >  NX   No explicit --base argument provided, but found environment variable NX_BASE so using its value as the affected base: 9f3690407c558d81f85b6af7f89497194e8df399

 >  NX   No explicit --head argument provided, but found environment variable NX_HEAD so using its value as the affected head: fd00fd553a834b42c6a86f7a3aea4b993ed81c9c

The affected projects might have not been identified properly. The package(s) @auth/prisma-adapter, @wundergraph/sdk, next-auth, @wundergraph/nextjs, zod-prisma-types were not found. Please open an issue in GitHub including the package.json file.

 >  NX   Running target build for project chameleon and 3 tasks it depends on:

    - chameleon

> nx run db:generate

Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.4.1) to ./../../node_modules/.pnpm/@prisma+client@5.4.1_prisma@5.4.1/node_modules/@prisma/client in 174ms

✔ Generated Zod Prisma Types to ./prisma/generated/zod in 448ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
̀̀̀
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
̀̀̀
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
̀̀̀
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
̀̀̀

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

> nx run chameleon:contentlayer

Contentlayer (Warning): Importing from ̀contentlayer/generated̀ might not work.
Config option ̀compilerOptions.baseUrl̀ not found in "tsconfig.json".

For more information see https://www.contentlayer.dev/docs/getting-started
To disable this warning you can set ̀disableImportAliasWarning: truè in your Contentlayer config.

Generated 15 documents in .contentlayer

> nx run chameleon:wunderctl-generate

{"level":"info","time":1710550441447,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1710550441909,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1710550471926,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.179.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"Authentication failed against database server at ̀aws.connect.psdb.cloud̀, the provided database credentials for ̀9i8r59gdw4bqsbctf07t̀ are not valid.\\n\\nPlease make sure to provide valid database credentials for the database server at ̀aws.connect.psdb.cloud̀.\",\"meta\":{\"database_user\":\"9i8r59gdw4bqsbctf07t\",\"database_host\":\"aws.connect.psdb.cloud\"},\"error_code\":\"P1000\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1710550441923,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az1426-867\",\"pid\":2200,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1710550441926,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2200,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1710550441927,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2200,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1710550471926,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1710550501943,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.179.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"Authentication failed against database server at ̀aws.connect.psdb.cloud̀, the provided database credentials for ̀9i8r59gdw4bqsbctf07t̀ are not valid.\\n\\nPlease make sure to provide valid database credentials for the database server at ̀aws.connect.psdb.cloud̀.\",\"meta\":{\"database_user\":\"9i8r59gdw4bqsbctf07t\",\"database_host\":\"aws.connect.psdb.cloud\"},\"error_code\":\"P1000\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1710550471940,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az1426-867\",\"pid\":2227,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1710550471943,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2227,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1710550471944,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2227,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1710550501943,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1710550531959,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.179.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"Authentication failed against database server at ̀aws.connect.psdb.cloud̀, the provided database credentials for ̀9i8r59gdw4bqsbctf07t̀ are not valid.\\n\\nPlease make sure to provide valid database credentials for the database server at ̀aws.connect.psdb.cloud̀.\",\"meta\":{\"database_user\":\"9i8r59gdw4bqsbctf07t\",\"database_host\":\"aws.connect.psdb.cloud\"},\"error_code\":\"P1000\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1710550501956,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az1426-867\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1710550501960,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1710550501960,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1710550531959,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1710550561976,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.179.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"Authentication failed against database server at ̀aws.connect.psdb.cloud̀, the provided database credentials for ̀9i8r59gdw4bqsbctf07t̀ are not valid.\\n\\nPlease make sure to provide valid database credentials for the database server at ̀aws.connect.psdb.cloud̀.\",\"meta\":{\"database_user\":\"9i8r59gdw4bqsbctf07t\",\"database_host\":\"aws.connect.psdb.cloud\"},\"error_code\":\"P1000\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1710550531973,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az1426-867\",\"pid\":2280,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1710550531976,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2280,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1710550531978,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2280,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1710550561976,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1710550591994,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.179.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"Authentication failed against database server at ̀aws.connect.psdb.cloud̀, the provided database credentials for ̀9i8r59gdw4bqsbctf07t̀ are not valid.\\n\\nPlease make sure to provide valid database credentials for the database server at ̀aws.connect.psdb.cloud̀.\",\"meta\":{\"database_user\":\"9i8r59gdw4bqsbctf07t\",\"database_host\":\"aws.connect.psdb.cloud\"},\"error_code\":\"P1000\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1710550561990,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az1426-867\",\"pid\":2302,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1710550561993,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2302,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1710550561994,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az1426-867\",\"pid\":2302,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1710550591994,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1710550591994,"pid":2181,"hostname":"fv-az1426-867","component":"@wundergraph/sdk","msg":"introspection of prisma database failed after 5 attempts, make sure it's accessible at: ../../../data-access/db/prisma/schema.prisma\n    Did you forget to add tables to the database? Make sure, you've run your initial migration.\n    The introspection fails if there are no tables.\n    Are you using a custom database schema? Make sure it's selected in the database URL.\n    Please restart \"wunderctl up\" once the DB is running.\n    "}
Error: configuration could not be generated. Process exit with code 1
configuration could not be generated. Process exit with code 1
Warning: run-commands command "wunderctl generate" exited with non-zero status code

 >  NX   Running target build for project chameleon and 3 tasks it depends on failed

   Tasks not run because their dependencies failed or --nx-bail=true:

   - chameleon:build:production

   Failed tasks:

   - chameleon:wunderctl-generate

View structured, searchable error logs at https://cloud.nx.app/runs/zIOfhz7Nd5

BUILD_FAILED
github-actions[bot] commented 4 months ago

👋 Balance8, creating DB branch 03-15-improvements for Git branch 03-15-improvements now ...

You can watch the progress and authorize access here.

github-actions[bot] commented 4 months ago

Creating PS branch and DR failed for branch 03-15-improvements :cry:. View error logs.

Balance8 commented 4 months ago

/ps-delete

github-actions[bot] commented 4 months ago

Script .pscale/env/ps-env-03-15-improvements.sh does not exists, could not identify associated branch.