deploy-status: success · phase complete

This commit is contained in:
DH V2 Deploy Bot
2026-09-16 08:38:35 -03:00
commit 54af125d5e
2 changed files with 429 additions and 0 deletions
+417
View File
@@ -0,0 +1,417 @@
============================================================
DH V2 · DEPLOY DESDE GITEA · deploy
============================================================
From https://git.korexlabs.com.ar/admin/dh-inspeccion-v2
* branch deploy -> FETCH_HEAD
* branch main -> FETCH_HEAD
0b731b7..a414d0e main -> origin/main
Actual: 0b731b722f874a87b37a146d95fc72182f6a45df
Objetivo: a414d0ed36db385e8a38d93929316beae881f9be
Main: a414d0ed36db385e8a38d93929316beae881f9be
API candidata: 0.29.0-15
WEB candidata: 0.23.0-11
========== PREFLIGHT DE DEPLOY ==========
Gitea Actions ya validó tests, migraciones e imágenes de producción.
El VPS valida únicamente composición, scripts, backup, migraciones reales, recreación y health.
========== BACKUP PRE ==========
database-before.dump: OK
source-before.tar.gz: OK
.env: OK
previous.sha: OK
target.sha: OK
docker-before.txt: OK
========== FAST-FORWARD ==========
a414d0e fix(web): clarify act context and operational map
Updating 0b731b7..a414d0e
Fast-forward
api-v3/package-lock.json | 4 +-
api-v3/package.json | 2 +-
.../asset-master/asset-geometries.controller.ts | 22 +++
.../src/asset-master/asset-geometries.service.ts | 220 +++++++++++++++++++++
api-v3/src/asset-master/asset-master.module.ts | 4 +
.../src/inspection-acts/inspection-acts.service.ts | 82 +++++++-
.../inspection-findings.service.ts | 50 ++++-
api-v3/src/version.ts | 4 +-
api-v3/test/unit/f4-health-metadata.test.ts | 6 +-
.../unit/f6-1-presentation-ready-contract.test.ts | 2 +-
api-v3/test/unit/f6-15-act-map-context.test.ts | 60 ++++++
docs/PHASE_F6_15_WEB_ACT_MAP.md | 23 +++
web-v2/package-lock.json | 4 +-
web-v2/package.json | 2 +-
web-v2/src/config/version.ts | 4 +-
.../inspections/InspectionActMediaPanel.tsx | 13 +-
web-v2/src/features/map/DhMap.tsx | 29 ++-
web-v2/src/lib/api.ts | 47 ++++-
web-v2/src/lib/inspectionActF4Api.ts | 12 ++
web-v2/src/pages/ActsPage.tsx | 6 +-
web-v2/src/pages/InspectionActEditorPage.tsx | 15 +-
web-v2/src/pages/MapPage.tsx | 100 ++++++----
web-v2/src/styles.css | 6 +
23 files changed, 642 insertions(+), 75 deletions(-)
create mode 100644 api-v3/test/unit/f6-15-act-map-context.test.ts
create mode 100644 docs/PHASE_F6_15_WEB_ACT_MAP.md
========== BUILD PRODUCCIÓN ==========
Image dhv2-migrate Building
Image dhv2-web Building
Image dhv2-api Building
#1 [internal] load local bake definitions
#1 reading from stdin 1.35kB done
#1 DONE 0.0s
#2 [api internal] load build definition from Dockerfile
#2 transferring dockerfile: 657B done
#2 DONE 0.0s
#3 [web internal] load build definition from Dockerfile
#3 transferring dockerfile: 451B done
#3 DONE 0.0s
#4 [web internal] load metadata for docker.io/library/node:24-alpine
#4 DONE 0.9s
#5 [api internal] load .dockerignore
#5 transferring context: 147B done
#5 DONE 0.0s
#6 [api internal] load build context
#6 DONE 0.0s
#7 [migrate builder 1/8] FROM docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81
#7 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done
#7 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done
#7 DONE 0.0s
#8 [web internal] load metadata for docker.io/library/nginx:alpine
#8 DONE 1.1s
#6 [api internal] load build context
#6 transferring context: 444.66kB 0.1s done
#6 DONE 0.1s
#7 [web builder 1/8] FROM docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81
#7 resolve docker.io/library/node:24-alpine@sha256:50c8e8ca1d27439048670df5883f32d57cf81cff6233222c893fd0d9884cbd81 0.0s done
#7 DONE 0.0s
#9 [web internal] load .dockerignore
#9 transferring context: 148B done
#9 DONE 0.0s
#10 [api runner 2/8] RUN apk add --no-cache unzip
#10 CACHED
#11 [migrate runner 3/8] WORKDIR /app
#11 CACHED
#12 [api builder 2/8] WORKDIR /app
#12 CACHED
#13 [web internal] load build context
#13 transferring context: 384.02kB 0.0s done
#13 DONE 0.1s
#14 [api runner 4/8] COPY package*.json ./
#14 DONE 0.1s
#15 [api runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#15 ...
#16 [api builder 3/8] COPY package*.json ./
#16 DONE 0.1s
#17 [web stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da
#17 resolve docker.io/library/nginx:alpine@sha256:c8497b180665e631ec92a5091125bec5b214f0e2b99409e30653a125b37557da 0.2s done
#17 DONE 0.2s
#18 [web builder 3/9] COPY package*.json ./
#18 DONE 0.1s
#19 [api builder 4/8] RUN npm ci
#19 ...
#20 [web builder 4/9] RUN npm ci
#20 6.880 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#20 6.880 npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js)
#20 6.880 npm warn install-scripts
#20 6.880 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#20 6.881
#20 6.881 added 95 packages, and audited 96 packages in 6s
#20 6.881
#20 6.881 11 packages are looking for funding
#20 6.881 run `npm fund` for details
#20 6.881
#20 6.881 found 0 vulnerabilities
#20 6.892 npm notice
#20 6.892 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#20 6.892 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#20 6.892 npm notice To update run: npm install -g npm@12.0.2
#20 6.892 npm notice
#20 DONE 7.5s
#15 [api runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#15 ...
#21 [web builder 5/9] COPY tsconfig*.json vite.config.ts index.html ./
#21 DONE 1.3s
#15 [api runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#15 8.061 npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
#15 ...
#22 [web builder 6/9] COPY public ./public
#22 DONE 0.3s
#23 [web builder 7/9] COPY scripts ./scripts
#23 DONE 0.3s
#15 [api runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#15 ...
#24 [web builder 8/9] COPY src ./src
#24 DONE 0.3s
#25 [web builder 9/9] RUN npm run build
#25 0.583
#25 0.583 > dhv2-web@0.23.0-11 build
#25 0.583 > tsc -b && vite build && node scripts/copy-maplibre-worker.mjs
#25 0.583
#25 ...
#15 [api runner 5/8] RUN npm ci --omit=dev && npm cache clean --force
#15 12.59
#15 12.59 added 270 packages, and audited 271 packages in 12s
#15 12.59
#15 12.59 79 packages are looking for funding
#15 12.59 run `npm fund` for details
#15 12.59
#15 12.59 found 0 vulnerabilities
#15 12.59 npm warn install-scripts 1 package has install scripts not yet covered by allowScripts:
#15 12.59 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build)
#15 12.59 npm warn install-scripts
#15 12.59 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#15 12.60 npm notice
#15 12.60 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#15 12.60 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#15 12.60 npm notice To update run: npm install -g npm@12.0.2
#15 12.60 npm notice
#15 12.89 npm warn using --force Recommended protections disabled.
#15 DONE 14.0s
#19 [api builder 4/8] RUN npm ci
#19 10.47 npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
#19 16.85
#19 16.85 added 465 packages, and audited 466 packages in 16s
#19 16.85
#19 16.85 112 packages are looking for funding
#19 16.85 run `npm fund` for details
#19 16.85
#19 16.85 2 high severity vulnerabilities
#19 16.85
#19 16.85 To address all issues, run:
#19 16.85 npm audit fix
#19 16.85
#19 16.85 Run `npm audit` for details.
#19 16.85 npm warn install-scripts 2 packages have install scripts not yet covered by allowScripts:
#19 16.85 npm warn install-scripts argon2@0.45.1 (install: cross-env ZERO_AR_DATE=1 node-gyp-build)
#19 16.85 npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js)
#19 16.85 npm warn install-scripts
#19 16.85 npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
#19 16.85 npm notice
#19 16.85 npm notice New major version of npm available! 11.19.0 -> 12.0.2
#19 16.85 npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
#19 16.85 npm notice To update run: npm install -g npm@12.0.2
#19 16.85 npm notice
#19 DONE 17.5s
#26 [migrate builder 5/8] COPY nest-cli.json tsconfig.json ./
#26 DONE 0.3s
#27 [api builder 6/8] COPY src ./src
#27 DONE 0.2s
#28 [migrate builder 7/8] COPY assets ./assets
#28 DONE 0.1s
#29 [migrate builder 8/8] RUN npm run build
#29 0.644
#29 0.644 > dhv2-api@0.29.0-15 build
#29 0.644 > nest build
#29 0.644
#29 ...
#25 [web builder 9/9] RUN npm run build
#25 15.64 vite v7.3.6 building client environment for production...
#25 15.73 transforming...
#25 21.18 ✓ 192 modules transformed.
#25 21.53 rendering chunks...
#25 ...
#29 [api builder 8/8] RUN npm run build
#29 DONE 13.5s
#25 [web builder 9/9] RUN npm run build
#25 22.10 computing gzip size...
#25 22.15 dist/index.html 0.54 kB │ gzip: 0.33 kB
#25 22.15 dist/assets/index-D0w0apMW.css 228.48 kB │ gzip: 34.98 kB
#25 22.15 dist/assets/AssetGeometryEditor-BgV6BfaE.js 7.71 kB │ gzip: 3.15 kB
#25 22.15 dist/assets/DocumentDeliveryPage-CfvBpih5.js 10.60 kB │ gzip: 3.41 kB
#25 22.15 dist/assets/MapPage-BtNV7hnJ.js 11.22 kB │ gzip: 3.60 kB
#25 22.15 dist/assets/index-DYbTGUfL.js 701.08 kB │ gzip: 182.25 kB
#25 22.15
#25 22.15 (!) Some chunks are larger than 500 kB after minification. Consider:
#25 22.15 - Using dynamic import() to code-split the application
#25 22.15 - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
#25 22.15 - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
#25 22.15 dist/assets/maplibre-gl-D8_spFpn.js 938.81 kB │ gzip: 245.97 kB
#25 22.15 ✓ built in 6.47s
#25 22.25 MapLibre worker: /app/dist/assets/maplibre-gl-worker.mjs (18592 bytes)
#25 DONE 22.3s
#30 [web stage-1 2/3] COPY nginx/default.conf /etc/nginx/conf.d/default.conf
#30 CACHED
#31 [web stage-1 3/3] COPY --from=builder /app/dist /usr/share/nginx/html
#31 DONE 0.0s
#32 [web] exporting to image
#32 exporting layers
#32 exporting layers 0.5s done
#32 exporting manifest sha256:d6a74a125ed1f91225351428de85068f5f9340fe3eaad7805eac562f2a15f8c1 0.0s done
#32 exporting config sha256:3381e05060852205c12b494ff171ec7fd0f20c1a8b51fb4f6532d001252a1c45 0.0s done
#32 exporting attestation manifest sha256:65cd80d691139cd705f3c427712880d6aa122e20aaf69bafa3f05369401b4261
#32 ...
#33 [api runner 6/8] COPY --from=builder /app/dist ./dist
#33 DONE 0.3s
#32 [web] exporting to image
#32 exporting attestation manifest sha256:65cd80d691139cd705f3c427712880d6aa122e20aaf69bafa3f05369401b4261 0.1s done
#32 exporting manifest list sha256:d2fc08d9da15489f7c1cd19f34de55b83c58ca17a38422849f2d15ac5594ce79 0.0s done
#32 naming to docker.io/library/dhv2-web:latest done
#32 unpacking to docker.io/library/dhv2-web:latest
#32 unpacking to docker.io/library/dhv2-web:latest 0.1s done
#32 DONE 0.8s
#34 [migrate runner 7/8] COPY --from=builder /app/assets ./assets
#34 DONE 0.1s
#35 [migrate runner 8/8] RUN mkdir -p /app/storage/asset-media/imports && chown -R node:node /app/storage
#35 DONE 0.2s
#36 [api] exporting to image
#36 ...
#37 [web] resolving provenance for metadata file
#37 DONE 0.4s
#38 [migrate] exporting to image
#38 ...
#36 [api] exporting to image
#36 exporting layers 6.1s done
#36 exporting manifest sha256:1e698832687083b9ae8f1ba97da70c04bea4ab87b4c57b1b3635d425fc747d3a
#36 exporting manifest sha256:1e698832687083b9ae8f1ba97da70c04bea4ab87b4c57b1b3635d425fc747d3a 0.0s done
#36 exporting config sha256:3e6a872027bd0d5ab4e428526e403c756bc6abc771b040a386b6bbf204ac54f3 0.0s done
#36 exporting attestation manifest sha256:f31c1af9e35e56d40b24e9222a13b24b9c3be7d215a2563054da0a61bf418c63 0.0s done
#36 exporting manifest list sha256:5eff1b2078caa3772a79fbe9447745ab194d0d3a5938089a728be187e565a069
#36 exporting manifest list sha256:5eff1b2078caa3772a79fbe9447745ab194d0d3a5938089a728be187e565a069 0.0s done
#36 naming to docker.io/library/dhv2-api:latest done
#36 unpacking to docker.io/library/dhv2-api:latest
#36 unpacking to docker.io/library/dhv2-api:latest 2.5s done
#36 DONE 8.8s
#38 [migrate] exporting to image
#38 exporting layers 6.1s done
#38 exporting manifest sha256:025bdbce23b68712f7e9dde5af661dcf0559c75bef327232bd8ea0939034e865 0.0s done
#38 exporting config sha256:8dbc66702f4ca3a571bdc406e7accb2d7eeb6111010192829f4965e280e3fe29 0.0s done
#38 exporting attestation manifest sha256:c407c479e7b99f26fc50a82f77349109b39b647048ba44fda62d9bc94efbe151 0.0s done
#38 exporting manifest list sha256:90b414f71408ab04ff186e6b2c976a35738074bfdee760fa899d6116d012f950 0.0s done
#38 naming to docker.io/library/dhv2-migrate:latest done
#38 unpacking to docker.io/library/dhv2-migrate:latest 2.5s done
#38 DONE 8.8s
#39 [migrate] resolving provenance for metadata file
#39 DONE 0.0s
#40 [api] resolving provenance for metadata file
#40 DONE 0.0s
Image dhv2-api Built
Image dhv2-migrate Built
Image dhv2-web Built
========== MIGRACIONES ==========
Container dhv2-db Running
Container dhv2-db Waiting
Container dhv2-db Healthy
Container dhv2-migrate-run-7f8e823ebf20 Creating
Container dhv2-migrate-run-7f8e823ebf20 Created
> dhv2-api@0.29.0-15 migration:run
> node dist/database/migration-cli.js run
Applied migrations: 0
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.0.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
npm notice To update run: npm install -g npm@12.0.2
npm notice
Container dhv2-db Running
Container dhv2-db Waiting
Container dhv2-db Healthy
Container dhv2-migrate-run-0c6480f4b524 Creating
Container dhv2-migrate-run-0c6480f4b524 Created
> dhv2-api@0.29.0-15 migration:show
> node dist/database/migration-cli.js show
Pending migrations: no
npm notice
npm notice New major version of npm available! 11.19.0 -> 12.0.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
npm notice To update run: npm install -g npm@12.0.2
npm notice
========== RECREATE API + WEB ==========
Container dhv2-api Recreate
Container dhv2-api Recreated
Container dhv2-web Recreate
Container dhv2-web Recreated
Container dhv2-api Starting
Container dhv2-api Started
Container dhv2-web Starting
Container dhv2-web Started
========== HEALTH ==========
{"status":"ok","service":"dhv2-api","api":"v3","version":"0.29.0-15","phase":"F6.15","database":"ok","time":"2026-09-16T11:38:34.238Z","latencyMs":2}
========== VERIFICACIÓN FINAL ==========
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
dhv2-api dhv2-api "docker-entrypoint.s…" api 4 seconds ago Up 2 seconds 127.0.0.1:3101->3000/tcp
dhv2-db postgis/postgis:16-3.5 "docker-entrypoint.s…" db 4 weeks ago Up 4 weeks (healthy) 5432/tcp
dhv2-web dhv2-web "/docker-entrypoint.…" web 3 seconds ago Up 2 seconds 127.0.0.1:8182->80/tcp
Servicios críticos: OK
database-before.dump: OK
source-before.tar.gz: OK
.env: OK
previous.sha: OK
target.sha: OK
docker-before.txt: OK
database-after.dump: OK
deployed.sha: OK
deployed-versions.txt: OK
health.json: OK
migrations.txt: OK
docker-after.txt: OK
============================================================
DH V2 · DEPLOY OK
============================================================
Commit: a414d0ed36db385e8a38d93929316beae881f9be
API: 0.29.0-15
WEB: 0.23.0-11
Backup: /root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_083738
============================================================
+12
View File
@@ -0,0 +1,12 @@
status=success
exit_code=0
phase=complete
timestamp=2026-09-16T08:38:35-03:00
deploy_ref=deploy
previous_sha=0b731b722f874a87b37a146d95fc72182f6a45df
target_sha=a414d0ed36db385e8a38d93929316beae881f9be
current_sha=a414d0ed36db385e8a38d93929316beae881f9be
api_version=0.29.0-15
web_version=0.23.0-11
app_touched=1
backup=/root/DH_V2_BACKUPS/GITEA_DEPLOY_20260916_083738