Skip to content

Merge pull request #37 from Garycheng92/36-backend-hotfix

f88201d
Select commit
Loading
Failed to load commit list.
Merged

Merge new changes from main into voice-to-text branch #38

Merge pull request #37 from Garycheng92/36-backend-hotfix
f88201d
Select commit
Loading
Failed to load commit list.
Google Cloud Build / rmgpgab-promptmail-us-east4-Garycheng92-PromptMail--mapxn (prompmail) succeeded Aug 4, 2025 in 1m 32s

Summary

Build Information

Trigger rmgpgab-promptmail-us-east4-Garycheng92-PromptMail--mapxn
Build e1aa70c8-751c-4161-8275-53031b3b5813
Start 2025-08-04T15:11:16-07:00
Duration 1m30.896s
Status SUCCESS

Steps

Step Status Duration
gcr.io/cloud-builders/docker SUCCESS 1m11.295s

Details

starting build "e1aa70c8-751c-4161-8275-53031b3b5813"

FETCHSOURCE

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /workspace/.git/
From https://github.com/Garycheng92/PromptMail
 * branch            f88201d501bbdf15936f92e01e33f35b5b52169b -> FETCH_HEAD
HEAD is now at f88201d Merge pull request #37 from Garycheng92/36-backend-hotfix
GitCommit:
f88201d501bbdf15936f92e01e33f35b5b52169b
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  6.334MB

Step 1/30 : FROM node:24-alpine AS dev
24-alpine: Pulling from library/node
9824c27679d3: Already exists
cc6701eaa104: Pulling fs layer
cb0e97c551ce: Pulling fs layer
e77b1be4ed4c: Pulling fs layer
e77b1be4ed4c: Verifying Checksum
e77b1be4ed4c: Download complete
cb0e97c551ce: Verifying Checksum
cb0e97c551ce: Download complete
cc6701eaa104: Verifying Checksum
cc6701eaa104: Download complete
cc6701eaa104: Pull complete
cb0e97c551ce: Pull complete
e77b1be4ed4c: Pull complete
Digest: sha256:e8e882c692a08878d55ec8ff6c5a4a71b3edca25eda0af4406e2a160d8a93cf2
Status: Downloaded newer image for node:24-alpine
 ---> 0b691ce23fac
Step 2/30 : WORKDIR /app
 ---> Running in 7ce85eb671c5
Removing intermediate container 7ce85eb671c5
 ---> 94ff8e7793bd
Step 3/30 : RUN npm install -g nodemon
 ---> Running in ddbd5c2dffc7

added 30 packages in 3s

4 packages are looking for funding
  run `npm fund` for details
�[91mnpm notice
npm notice New patch version of npm available! 11.5.1 -> 11.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
npm notice To update run: npm install -g npm@11.5.2
npm notice
�[0mRemoving intermediate container ddbd5c2dffc7
 ---> 4da3ff7dbc5e
Step 4/30 : WORKDIR /app/frontend
 ---> Running in 275a611eecf8
Removing intermediate container 275a611eecf8
 ---> 6bcd1bad8985
Step 5/30 : COPY frontend/package.json frontend/package-lock.json ./
 ---> 94932d89bde5
Step 6/30 : RUN npm install --include=dev
 ---> Running in 945af6d433e0
�[91mnpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
�[0m�[91mnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
�[0m
added 448 packages, and audited 449 packages in 10s

73 packages are looking for funding
  run `npm fund` for details

1 low severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
Removing intermediate container 945af6d433e0
 ---> 6b399ae97bd5
Step 7/30 : COPY frontend .
 ---> 94c944283b12
Step 8/30 : WORKDIR /app/backend
 ---> Running in 4e6acba00b5f
Removing intermediate container 4e6acba00b5f
 ---> 4e76253a5030
Step 9/30 : COPY backend/package.json backend/package-lock.json ./
 ---> b76b47e04241
Step 10/30 : RUN npm install
 ---> Running in fc70695ffcd7

added 185 packages, and audited 186 packages in 3s

47 packages are looking for funding
  run `npm fund` for details

1 critical severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
Removing intermediate container fc70695ffcd7
 ---> 827b6c5685ae
Step 11/30 : COPY backend .
 ---> 3dae9d93efb1
Step 12/30 : WORKDIR /app
 ---> Running in 1affa09fa637
Removing intermediate container 1affa09fa637
 ---> 06fcaa366c43
Step 13/30 : CMD ["sh", "-c", "cd frontend && npm run dev & cd backend && npm run dev"]
 ---> Running in d774d6cad8ac
Removing intermediate container d774d6cad8ac
 ---> 0018d0e64ad0
Step 14/30 : FROM node:24-alpine AS frontend-builder
 ---> 0b691ce23fac
Step 15/30 : WORKDIR /app/frontend
 ---> Running in da563b6ea0a3
Removing intermediate container da563b6ea0a3
 ---> 79eecfebcc1f
Step 16/30 : COPY frontend/package.json frontend/package-lock.json ./
 ---> 9038528ba711
Step 17/30 : RUN npm install
 ---> Running in 03ceb5c5c38e
�[91mnpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
�[0m�[91mnpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
�[0m
added 448 packages, and audited 449 packages in 11s

73 packages are looking for funding
  run `npm fund` for details

1 low severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
�[91mnpm notice
npm notice New patch version of npm available! 11.5.1 -> 11.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
npm notice To update run: npm install -g npm@11.5.2
npm notice
�[0mRemoving intermediate container 03ceb5c5c38e
 ---> 5ce8615df081
Step 18/30 : COPY frontend .
 ---> 3b22e203c9af
Step 19/30 : RUN npm run build
 ---> Running in c472418adc28

> frontend@0.0.0 build
> vite build

vite v7.0.3 building for production...
transforming...
✓ 365 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                                              0.46 kB │ gzip:  0.29 kB
dist/assets/PromptMail_Logo_Darkmode2-DP30Pih8.png       1,163.40 kB
dist/assets/PromptMail_Logo-D4H7k1Yz.png                 1,472.58 kB
dist/assets/background_circuits_light_blue-CBjDPpdl.png  1,864.42 kB
dist/assets/index-vMHqRiRa.css                             236.83 kB │ gzip: 32.23 kB
dist/assets/index-DQOfAFFq.js                              306.25 kB │ gzip: 98.77 kB
✓ built in 4.63s
Removing intermediate container c472418adc28
 ---> aa0250320e29
Step 20/30 : FROM node:24-alpine AS backend-builder
 ---> 0b691ce23fac
Step 21/30 : WORKDIR /app/backend
 ---> Running in 577b80184395
Removing intermediate container 577b80184395
 ---> d2ec037d5329
Step 22/30 : COPY backend/package.json backend/package-lock.json ./
 ---> f9943907ddcb
Step 23/30 : RUN npm install
 ---> Running in 09f418c0ada1

added 185 packages, and audited 186 packages in 4s

47 packages are looking for funding
  run `npm fund` for details

1 critical severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
�[91mnpm notice
npm notice New patch version of npm available! 11.5.1 -> 11.5.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.5.2
npm notice To update run: npm install -g npm@11.5.2
npm notice
�[0mRemoving intermediate container 09f418c0ada1
 ---> b52e54cb30df
Step 24/30 : COPY backend .
 ---> 6ff61532d3c5
Step 25/30 : FROM node:24-alpine
 ---> 0b691ce23fac
Step 26/30 : WORKDIR /app
 ---> Using cache
 ---> 94ff8e7793bd
Step 27/30 : COPY --from=backend-builder /app/backend ./backend
 ---> cecec3a869b5
Step 28/30 : COPY --from=frontend-builder /app/frontend/dist ./public
 ---> 34739ec74086
Step 29/30 : EXPOSE 5000
 ---> Running in 4d87757bf0c5
Removing intermediate container 4d87757bf0c5
 ---> 319301ed939c
Step 30/30 : CMD ["node", "backend/index.js"]
 ---> Running in c5324df7901b
Removing intermediate container c5324df7901b
 ---> 8c7eac8fbf47
Successfully built 8c7eac8fbf47
Successfully tagged gcr.io/prompmail/your-image-name:latest
PUSH
Pushing gcr.io/prompmail/your-image-name
The push refers to repository [gcr.io/prompmail/your-image-name]
b4b37d16cb3b: Preparing
0c42b28f4bc6: Preparing
de4cd99979a0: Preparing
7a33222fb068: Preparing
12f4d6be233e: Preparing
d0596b02df10: Preparing
418dccb7d85a: Preparing
d0596b02df10: Waiting
418dccb7d85a: Waiting
12f4d6be233e: Layer already exists
7a33222fb068: Layer already exists
de4cd99979a0: Pushed
d0596b02df10: Layer already exists
b4b37d16cb3b: Pushed
418dccb7d85a: Layer already exists
0c42b28f4bc6: Pushed
latest: digest: sha256:eb97a772b21f9606acf300d735409d25700d92be14e088f52dc3f3d45a1282f2 size: 1787
DONE

Build Log: https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%22e1aa70c8-751c-4161-8275-53031b3b5813%22+AND+resource.labels.build_trigger_id%3D%22391f92f6-a6ca-4112-898d-f8167d301382%22&project=prompmail