Closed BBruington closed 9 months ago
This PR was not deployed automatically as @BBruington does not have access to the Railway project.
In order to get automatic PR deploys, please add @BBruington to the project inside the project settings page.
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 | Feb 11, 2024 10:01pm |
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
✨✨✨✨✨✨✨✨✨✨
/ps-create
👋 Balance8, creating DB branch 74-edit-profile-page for Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
Here's how it looks thus far:
Hovering the image shows the x button to remove it if you want.
I just want to know how we should store the images before i implement a way to add photos.
Here's light mode (aka mistake mode) too:
Name | Status | Updated (UTC) |
---|---|---|
70445c2 | ❌ Failed | Sun, 11 Feb 2024 22:02:54 GMT |
Build failed:
> NX No explicit --base argument provided, but found environment variable NX_BASE so using its value as the affected base: 2872dd8fdac8bd39689e5362b0e3eeab40f110bd
> NX No explicit --head argument provided, but found environment variable NX_HEAD so using its value as the affected head: 70445c25f0a14e34dd30d996bdd78c849f52a349
> 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 226ms
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 Nx Cloud Heartbeat missing
Expected to find process with PID 1950 but none was found.
Output:
Unable to find shutdown logs, likely the heartbeat process was sent a SIGKILL
(node:1916) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use ̀node --trace-deprecation ...̀ to show where the warning was created)
> nx run chameleon:wunderctl-generate
{"level":"info","time":1707688823465,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1707688824162,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1707688854179,"pid":2092,"hostname":"fv-az693-612","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.177.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\":1707688824176,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az693-612\",\"pid\":2111,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1707688824179,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2111,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1707688824180,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2111,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1707688854179,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1707688884195,"pid":2092,"hostname":"fv-az693-612","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.177.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\":1707688854192,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az693-612\",\"pid\":2138,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1707688854195,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2138,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1707688854196,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2138,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1707688884195,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1707688914212,"pid":2092,"hostname":"fv-az693-612","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.177.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\":1707688884209,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az693-612\",\"pid\":2235,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1707688884212,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2235,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1707688884213,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2235,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1707688914212,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1707688944230,"pid":2092,"hostname":"fv-az693-612","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.177.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\":1707688914227,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az693-612\",\"pid\":2262,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1707688914230,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2262,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1707688914231,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2262,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1707688944230,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1707688974248,"pid":2092,"hostname":"fv-az693-612","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.177.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\":1707688944244,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az693-612\",\"pid\":2284,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1707688944247,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2284,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1707688944248,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az693-612\",\"pid\":2284,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1707688974248,"pid":2092,"hostname":"fv-az693-612","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1707688974249,"pid":2092,"hostname":"fv-az693-612","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/4b1Kd0crK8
BUILD_FAILED
/ps-update
👋 Balance8, updating information of Git branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
Edits look good, let's try to get in some error handling and toast feedback on success/fail then you should be good to go
/ps-merge
👋 BBruington, merging schema changes associated with database branch 74-edit-profile-page now ...
You can watch the progress and authorize access here.
/ps-delete
Script .pscale/env/ps-env-74-edit-profile-page.sh
does not exists, could not identify associated branch.
WIP