Commit Graph

327 Commits

Author SHA1 Message Date
ebcdd128f0 meta(tasks): create [minio-variant-cache-bucket] in OpeItcLoc03/admin 2026-07-04 07:50:45 +00:00
9daea393a2 ops(imgproxy): close [imgproxy-stack29-watermark-rollback] — WATERMARK_DATA removed from stack 29, prod tenants verified clean
Оператор сменил watermark-подход на in-process sharp → снял глиф со SHARED imgproxy стека 29 (books-vds).
Вырезал IMGPROXY_WATERMARK_DATA (byte-identical pre-watermark бэкапу, cross-check true) → PUT+redeploy+purge.
Verify: pilorama98 (главный консюмер) 3 рендера == baseline (43950/172042/160010B); stostayer НЕ imgproxy-консюмер (не задет); tandem featured→чистый (ожидаемо). Глиф-бинарь 7127e92a оставлен для sharp.
tandemmebel-deploy теперь ждёт пересбора образа на sharp-пин.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 09:22:38 +03:00
38368adccd meta(tasks): create [imgproxy-stack29-watermark-rollback] in OpeItcLoc03/admin 2026-07-04 06:15:36 +00:00
0e1bceb14d meta(tandemmebel): cutover PAUSED by operator — imgproxy-vs-sharp watermark review; staging-20 held UP 2026-07-04 08:38:49 +03:00
85fa2d7ad9 deploy(tandemmebel): staging GREEN on vds-kzntsv — stack 20, image 0facb35, cutover held on operator
Финал тиража tandemmebel. Ops-часть до cutover, всё зелёное.

- Образ registry.kzntsv.site/tandemmebel:0facb35 (snolla@0.32.2/core@0.13.8,
  digest 464d2f22, watermark-override в пине) собран НА VDS (обход traefik-499).
- Стек Portainer tandemmebel Id 20 (ep1), staging-rule Host(tandemmebel.vds.kzntsv.site),
  env verbatim из labtools стека 17 (8/8). Контейнер healthy, MSSQL+S3, listening :5000.
  Source-of-truth compose: host-stacks/vds-kzntsv/tandemmebel.compose.yml.
- PURGE imgproxy-nginx кэша (books-vds стек 29) — stale-clean featured ушли,
  featured отдаёт 27820B вотермарк без cache-bust.

Staging-smoke с VDS GREEN: status-parity 10/10; sitemap staging index (184) ⊇
prod (172) prod-only=0 + 12 /projects/categories/* (benign#3); trailing 301/301;
blog-post 200 +3.5KB (benign#2 imgproxy vs /galleries/ 26/26); 2012-посты 31/31;
theme 21/22 MD5-OK. Находка (не блокер): prod Gotham-Pro.css=0B пустой,
staging=4436B корректный → cutover чинит латентный прод-баг шрифта.

HOLD cutover — DNS-флип gated оператором (reg.ru → 89.253.255.94).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 08:34:36 +03:00
f5a8a0256a meta(tasks): create [tandemmebel-web-vds-deploy] in OpeItcLoc03/admin 2026-07-04 05:18:05 +00:00
0188507344 ops(imgproxy): close [imgproxy-watermark-glyph-books-vds] — tandem glyph LIVE on books-vds stack 29
Ops-подхват по тиражу tandemmebel. Воркшоп попросил выставить брендовый
глиф-вотермарк на imgproxy стек 29 (books-vds, отдаёт картинки всем тенантам).

Первый base64 (в inbox И в закоммиченном таске) был БИТЫЙ на источнике —
tasks_create порезал 10КБ-поле: sha f8f0…≠e995…, IEND нет, зацикленный хвост.
Поймал sha256-сверкой ДО прода → не запушил битьё (imgproxy бы упал на парсе
WATERMARK_DATA = отвал картинок у всех тенантов).

Воркшоп до-доставил logo.png бинарём в git (7127e92a, sha256 e995…971fc, 8015B).
PUT стека 29 (Portainer portainer.kzntsv.site ep1, X-API-Key, IMGPROXY_WATERMARK_DATA
inline env, PullImage:false, БЕЗ глобального _OPACITY).

Smoke cache-busted: A tandem вотермарк виден глазами (27294→27820B);
B pilorama контроль byte-identical 160010B — глобальная opacity не просочилась.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 07:53:56 +03:00
7127e92a4d ops(books-vds): add tandemmebel imgproxy watermark glyph (logo.png, sha256 e995...971fc)
Durable binary channel for [imgproxy-watermark-glyph-books-vds] — base64-in-task got
corrupted in transit (field truncation looped PNG tail, dropped IEND). This is the
verified-intact 348x42 RGBA wordmark. Admin: git show this path, sha256==e995...971fc,
then set IMGPROXY_WATERMARK_DATA=base64(this file) on imgproxy stack 29.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 07:43:09 +03:00
3380b56a19 meta(tasks): create [imgproxy-watermark-glyph-books-vds] in OpeItcLoc03/admin 2026-07-04 04:30:04 +00:00
2e5adcf11e deploy(cms-s3): S3 FileStorage provider LIVE on RUVDS — admin↔MinIO split-brain closed
Разбор 500 на /admin/assets/<owner>/delete → корень ACL (app pool RX-only на
App_Data после scp-миграции) → полная развязка хранилища CMS:

- S3 FileStorage провайдер (MoreThenCms.FileStorage.S3) построен (координация с
  интерн-сессией) и раскатан LIVE на прод RUVDS: 6 контентных классов web.config
  → S3/MinIO, кэши остались Local. Смок 7 тенантов 200/301, 0×500, S3-read byte-parity.
  Upload-гоча: UseChunkEncoding=false (MinIO ⊥ AWSSDK aws-chunked).
- Весь локальный контент RUVDS → MinIO (galleries 5.3G, themes 2.7G, maxMind);
  imageCache-блоат (2.1G) выпилен из бакета themes.
- stostayer.old определён как stale-копия (не мигрировать).

Новый concept: snolla-admin-appdata-acl-500-after-scp-migration.
Трекеры: morethencms-s3-filestorage-provider (LIVE), reconcile-local-assets-to-minio (done).
Rollback: web.config.bak-pre-s3-2026-07-03 на хосте.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 13:47:21 +03:00
d677f530b4 meta(handoff): whole snolla batch LIVE on VDS — emspb+labtools.ru+labtools.pro; 4 commits await push
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 13:02:21 +03:00
a9f4f3a673 deploy(labtools): 43e28ba LIVE on vds-kzntsv — cutover done, labtools.ru on VDS
DNS zone is on Yandex DNS (dns1/dns2.yandex.net), not reg.ru. Flip propagated
unevenly (dns2 first, dns1 lagged); cutover gate = BOTH authoritative Yandex NS
agree apex+www -> 89.253.255.94 (monitor waited for it) so LE HTTP-01 can't hit
RUVDS via a stale auth server and burn the rate-limit.

Stack 17 traefik-rule -> Host(labtools.ru)||Host(www.labtools.ru) via Portainer
PUT (env 8/8 preserved, pullImage=false). LE cert issued (~t+20s; brief self-signed
window during issuance). Live-smoke GREEN: both hosts 200 (nav+catalog+products),
redirects parity (trailing/lowercase/.php), sitemap index host=labtools.ru (this
tenant's siteUrl is non-www), theme assets byte-identical (RUVDS 301 apex->www made
the direct md5 an artifact; -L => MD5-OK). Staging host removed (->404). External:
apex->VDS 200; www still split-brain on RUVDS cache (200, identical content, TTL 6h).
RUVDS left intact as rollback.

Task closed. Whole batch done: labtools.ru + labtools.pro LIVE on VDS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 12:42:57 +03:00
ed99f2225b deploy(labtools-pro): b LIVE on vds-kzntsv — cutover done, labtools.pro on VDS
DNS flip confirmed at authoritative ns1.reg.ru (Resolve-DnsName) + 8.8.8.8 ->
89.253.255.94 (labtools.pro/www; NOT labtools.ru). Earlier checks hit stale TTL
cache; authoritative NS was the truth.

Stack 19 traefik-rule -> Host(labtools.pro)||Host(www.labtools.pro) via Portainer
PUT (env 8/8 preserved, pullImage=false). LE cert issued instantly (ssl_verify=0).
Live-smoke GREEN: both hosts 200 (nav+catalog+products), redirects parity, sitemap
index host=www, real content (lang=en). Staging host removed (->404). External
check from RUVDS box: labtools.pro/www -> 89.253.255.94 HTTP 200 trusted cert.
RUVDS labtools.pro left intact as rollback.

Task closed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 12:07:52 +03:00
531d7f0fda deploy(labtools-pro): staging GREEN on vds-kzntsv — image 7bd9fae, stack 19, parity vs prod
Mirror of emspb deploy. Built registry.kzntsv.site/labtools-pro:7bd9fae on VDS
(guard: default.json absent), created Portainer stack labtools-pro (Id 19, env
verbatim from labtools stack 17). Container healthy, MSSQL+S3 connected.

Staging smoke vs www.labtools.pro (RUVDS) GREEN, run from VDS:
- nav + 3 catalog sections + products 200/200
- redirects (catalog#1->lshm-750, /Contacts lowercase, trailing) 301 parity
- sitemap: snolla index of 7 children, aggregate 25 URLs == prod set, host=www (R3)
- theme assets 7/7 md5-identical; Cache-Control absent (correct, CachingOptions=[])
- content pages real body, delta +155..222B (host length in canonical)

Cosmetic (not a defect, flagged to workshop): startup banner logs "labtools.ru
(snolla)" — scaffold constant; site identity is siteId 663F9410 in production.json.

Cutover (live DNS) is gated on operator. Runbook + compose committed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 11:38:56 +03:00
253f427a55 decommission(emspb): remove emspb.ru/www SNI bindings from RUVDS IIS
Migration to vds-kzntsv confirmed by operator. Off-LAN check from the
IIS host itself: emspb.ru + www.emspb.ru -> 89.253.255.94 HTTP 200.
Removed only the two migrated SNI bindings (26->24 total); emspb.snolla.com
retained (not migrated, DNS still -> IIS). Config backup taken:
pre-emspb-decommission-2026-07-02. Site snolla + apppool Started, other 23
hosts untouched. win-acme is binding-driven (--source iis) so next renewal
auto-drops the emspb.ru SANs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 11:30:00 +03:00
47f24752aa meta(tasks): create [labtools-pro-web-vds-deploy] in OpeItcLoc03/admin 2026-07-02 08:27:40 +00:00
353e3dcd8a meta(handoff): emspb LIVE+cutover done, labtools still awaiting DNS-flip
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 00:39:41 +03:00
c3b722bb6d deploy(emspb): b6e361a LIVE on vds-kzntsv — staging GREEN + cutover done
- image registry.kzntsv.site/emspb:b6e361a (digest 8f5ba02) built on VDS from clean git-archive
- Portainer stack emspb (Id 18) traefik+LE; 8 runtime-env secrets reused verbatim from labtools stack-17
- staging smoke vs prod www.emspb.ru: 23/23 status-parity, theme CSS+image (MinIO) md5-identical, CC 86400
- cutover (operator flipped emspb.ru/www DNS -> VDS): traefik-rule Host(emspb.ru)||Host(www.emspb.ru),
  staging host emspb.vds.kzntsv.site removed post-cutover (-> 404), single LE cert,
  live smoke www.emspb.ru+emspb.ru 200 ssl_verify=0, canonical normalized, live == old-RUVDS byte-identical
- RUVDS IIS 80.64.31.36 intact = rollback path
- runbook .wiki/concepts/emspb-vds-deploy-runbook.md (mirror labtools)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 00:38:03 +03:00
a15fd65ae9 deploy(labtools): staging on vds-kzntsv GREEN — image 43e28ba, parity vs prod
- build registry.kzntsv.site/labtools:43e28ba on VDS from clean git-archive
  (no config/default.json), push from VDS (registry local)
- Portainer stack `labtools` (Id 17) on labtools.vds.kzntsv.site, container
  healthy (MSSQL mssql.kzntsv.site + MinIO minio.kzntsv.site), 8 secret-env in
  stack-env (not in image/git)
- smoke parity vs www.labtools.ru GREEN: menu pages 200/200, redirects
  (.php / trailing-slash / lowercase) 301 1:1, theme.css + /assets byte-identical
  from MinIO, Cache-Control max-age=86400
- add runbook .wiki/concepts/labtools-vds-deploy-runbook.md + stack source
  host-stacks/vds-kzntsv/labtools.compose.yml
- cutover DNS gated to operator (tomorrow 2026-07-02); RUVDS IIS 80.64.31.36
  prod untouched = rollback path

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-02 00:21:28 +03:00
1a33c429d3 meta(tasks): create [emspb-web-vds-deploy] in OpeItcLoc03/admin 2026-07-01 21:19:43 +00:00
9447a86f2b meta(tasks): create [labtools-web-vds-deploy] in OpeItcLoc03/admin 2026-07-01 13:02:24 +00:00
fea8cc0bb3 deploy(pilonuxt): 6b9ae63 LIVE — sitemap taxonomy (content-api@0.16.0)
Close [pilonuxt-deploy-sitemap-taxonomy]. Bump-only over LIVE sitemap v1.
Built from Gitea master victor/pilorama98.ru @ 6b9ae63
(content-api 0.16.0 + core 0.4.0, taxonomy enumeration; proxy unchanged),
pushed registry.kzntsv.site/pilonuxt:6b9ae63 (499 on .output -> retry ok),
Portainer stack 16 recreated 42f9d64->6b9ae63.

Tree-check .output 5/5: content-api 0.16.0, core 0.4.0, data 0.9.1 (1x),
snolla 0 pkgs/0 imports, btoa 0.
Acceptance 4/4: sitemap.xml index 7 entries incl store-taxonomy-1;
sitemap-store-taxonomy-1.xml 200 urlset 57 abs urls (35 cats + 22 tags);
v1 intact (products-1/pages-1 200); taxonomy-999 404. Regress ok, stderr clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 00:15:03 +03:00
0382864afa meta(tasks): create [pilonuxt-deploy-sitemap-taxonomy] in OpeItcLoc03/admin 2026-06-29 21:06:38 +00:00
8bae9e3afd deploy(pilonuxt): 42f9d64 LIVE — sitemap.xml via content-api@0.15.0
Close [pilonuxt-deploy-sitemap]. Built from Gitea master
victor/pilorama98.ru @ 42f9d64 (content-api 0.15.0 + core 0.2.0),
pushed registry.kzntsv.site/pilonuxt:42f9d64 (direct, no 499),
Portainer stack 16 recreated cf2bba2->42f9d64.

Tree-check .output 5/5: content-api 0.15.0, core 0.2.0,
data 0.9.1 (1x), snolla 0 pkgs/0 imports, btoa 0.
Acceptance 3/3: sitemap.xml 200 sitemapindex 6 sources;
sitemap-pages-1.xml 200 urlset 70 abs urls;
sitemap-store-products-999.xml 404. Regress intact, stderr clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 23:58:53 +03:00
4389f80783 meta(tasks): create [pilonuxt-deploy-sitemap] in OpeItcLoc03/admin 2026-06-29 20:46:40 +00:00
c0afaeca4e meta(handoff): session 2026-06-29 pilonuxt deploys (40bb383 + cf2bba2)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 23:08:17 +03:00
685f273571 deploy(pilonuxt): cf2bba2 LIVE — forms-api + full @snollajs/snolla drop
ADR-0010: forms moved to @snollajs/forms-api, @snollajs/snolla dropped
entirely, core@0.1.1 (Buffer over btoa). Stack 16 → pilonuxt:cf2bba2.
Pre-deploy tree-check of .output/server/node_modules 4/4: 0x snolla,
0x btoa, exactly 1x data@0.9.1, core 0.1.1 + content-api 0.14 + forms-api
0.1.0. Smoke green: SSR /+/catalog 200, robots/yandex from DB (ADR-0009
no regress), form ?path=/checkout empty -> 422 JSON, /nope -> 404 (no
valid submitted). Smoke gotcha: 422 only with Accept: application/json.

Closes [deploy-pilonuxt-forms-api-drop-snolla].

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 23:01:25 +03:00
7cd65fd84a meta(tasks): create [deploy-pilonuxt-forms-api-drop-snolla] in OpeItcLoc03/admin 2026-06-29 19:50:47 +00:00
dca1bf77d9 deploy(pilonuxt): 40bb383 LIVE — staticPages + robots.txt from DB
Stack 16 redeployed to registry.kzntsv.site/pilonuxt:40bb383 (ADR-0009:
DB-backed staticPages + robots.txt). Build from monorepo with forced client
regen (rm src/generated + schema-gen 0.6 → getStaticPage/getRobotsTxt);
home push hit traefik-499 on .output layer (425MB) → save|ssh load + push
from VDS. Smoke acceptance 6/6 verified by body (robots full from DB w/
Yandex Clean-param + Sitemap, yandex/google verifications, /nope→404).

Closes [deploy-pilonuxt-static-pages-robots].

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 12:05:27 +03:00
c3e845831d wiki(books-vds): document public bookva-db endpoint :33306
bookva MariaDB is published at 89.253.255.133:33306 (0.0.0.0:33306->3306,
port 33306 since 3306 is slovo books-db). Added public DB-endpoints block
to § Доступ (slovo + bookva), noted mongo/ES stay internal, and a
.Ports-vs-.Networks reminder. Closes the port wiki-drift in follow-up #2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 11:54:50 +03:00
231e074779 meta(tasks): create [deploy-pilonuxt-static-pages-robots] in OpeItcLoc03/admin 2026-06-29 08:52:31 +00:00
8ae6a73435 wiki(vdsina): drop false restart note (migrate line was stale)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 16:15:13 +03:00
415132b114 wiki(vdsina): panel password resolved (plaintext from user)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 16:10:59 +03:00
fb47d5deb2 wiki(vdsina): document Amsterdam Outline+3x-UI VDS 46.151.25.64
New entity + inventory source for previously-undocumented family VPN.
Secrets stored separately in pass vdsina-outline/full-env.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-24 15:54:36 +03:00
027cc79d23 deploy(pilonuxt): GSC Product name fix LIVE on prod — c4e34d4
Rebuilt pilonuxt from monorepo master c4e34d4 (workspace Dockerfile,
sharp @img baked, live VERDACCIO_TOKEN). Canon delivery: build here
(425MB) -> docker save | ssh vds load -> push FROM vds -> Portainer
stack 16 pullImage:true (tag 6c6d52d->c4e34d4, fresh registry pull).

Acceptance MET (in-container smoke on VDS + prod smoke via curl
--resolve, bypassing LAN-DNS): 3 product pages 200, leading
<meta itemprop="name"> inside schema.org/Product = product title
(was only Brand 'Пилорама 98' before). 10 nav routes 200, no regression.
Compose SOT -> c4e34d4. Inbox victor/pilorama98.ru sent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 09:56:16 +03:00
3ad5ad446a meta(tasks): create [deploy-gsc-product-name-fix] in OpeItcLoc03/admin 2026-06-19 06:43:46 +00:00
b166ca2d79 meta(tasks): close [deploy-pilorama-web-from-monorepo] in OpeItcLoc03/admin 2026-06-18 21:15:28 +00:00
vitya
45ebe629c9 deploy(pilorama): GREEN on prod — SEO live via monorepo build 6c6d52d
4th layer fixed by peer (data 0.9.0->0.9.1). Rebuilt from 6c6d52d
(workspace Dockerfile + sharp @img copy), pushed from VDS, deployed stack 16.
Container smoke all 200: product title<=60 + meta 'доставка по СПб и ЛО';
/catalog/planken 'Планкен прямой и скошенный — купить в СПб'; products 200x3;
home/shipping/blog meta ok. stderr clean. Compose -> 6c6d52d.
Pending (cross-repo, needs push-ok): commit sharp Dockerfile + docker-deploy.md to monorepo.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 00:11:06 +03:00
vitya
8f72f1fffd meta(tasks): deploy-pilorama — sharp FIXED (admin), behind it snolla 0.17 ecommerce getSiteById blocker
Dockerfile runner now copies @img (incl sharp-libvips-linux-x64) into .output;
verified SHARP_OK in container. Redeploy: sharp gone, but products 500 from
getSiteById findByPk undefined on snolla 0.17 ecommerce route (pages route OK).
Rolled back to 19a4a84 (all 200). Remaining blocker = snolla/peer zone.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 23:08:34 +03:00
vitya
3958107715 meta(tasks): deploy-pilorama reblocked — snolla fixed (eaee56f) but sharp/libvips not bundled
Redeploy from eaee56f: snolla-500 gone, home/categories 200 with SEO,
but sharp native libvips missing in Nitro .output → product listing 500.
Rolled back to 19a4a84 again (catalog works). Platform-specific, peer's
local prod-bundle couldn't catch it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 22:46:05 +03:00
vitya
e03d5c504a meta(tasks): block [deploy-pilorama-web-from-monorepo] — prod 500 from snolla dep conflict
Build+deploy mechanics solved (workspace Dockerfile, VDS-push for 499).
Prod 500: @snollajs/snolla@0.11.0 getSiteById (Sites model undefined),
nested under content-api@0.11.0 alongside direct snolla@0.16.0.
Rolled back to 19a4a84 (verified 200). Dep fix = web/snolla owner.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 21:20:41 +03:00
vitya
d29dae1ea9 meta(tasks): close [archive-pilorama-source-repos] — 3 repos archived, pointers, folders rm, poller skip 1→4, shared-wiki concept
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 20:51:01 +03:00
be2f9eb869 meta(tasks): create [deploy-pilorama-web-from-monorepo] in OpeItcLoc03/admin 2026-06-18 17:44:33 +00:00
89edf9b6b9 meta(tasks): create [archive-pilorama-source-repos] in OpeItcLoc03/admin 2026-06-18 17:38:43 +00:00
e5aeafa914 docs(wiki): :master restored via re-push; digest-collision suspicion cleared
books закрыли named-tag предохранителем (62d812e: protectRe +master|latest).
keep/drop digest-коллизия — снято: keep=1 у books-api это buildcache
(group-by-digest через Map делает keep/drop взаимоисключающими).

Восстановление снесённого named-тега = re-push локального образа с VDS
(docker tag inspect-Image + push под books-ci), не rebuild → плоский
single-platform манифест с .config (pullable, датируется). Применено к
books-api + books-ops-mcp -> :master снова 200. Гоча: books-api вне
CI-матрицы (embed-api-into-web) -> re-push единственный путь.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 13:32:11 +03:00
b7f2edc5bd docs(wiki): registryGc real-run outcome + named-tag-loss lesson
Первый боевой registryGc dryRun:false (books master-289c660, под добро юзера):
63 DELETE, 0 ошибок, 0x405 -> REGISTRY_STORAGE_DELETE_ENABLED=true подтверждён
живьём; 61 dangling + 2 datable снесены, реестр почищен.

Урок: master у books-api/books-ops-mcp был dangling (не пересобирались ~3нед)
-> логика drop-dangling снесла named-тег -> :master 404. Outage нет (контейнеры
на локальных образах), но redeploy упрётся. Политика: НЕ удалять named-теги
master/latest даже dangling (protectRe -> +master/latest); проверить keep/drop
на digest-коллизию (books-api keep=1 но 0 не-buildcache осталось).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 13:21:37 +03:00
93b4ef1d13 docs(wiki): dangling image-index finding — registry full of tag-tombstones
Перепрогон registryGc dryRun на descent-фиксе (master-dcd7c91) вскрыл 2-й
root-cause: реестр засорён dangling OCI image-индексами — тег жив, но его
платформенный sub-manifest отдаёт MANIFEST_UNKNOWN (вычищен прежним host-side
registry garbage-collect, не следящим index->child для multi-arch).
books-web: 19 тегов -> 3 датируемых, 16 dangling.

date-based GC защищает dangling как null-dated -> никогда не удаляет, хотя они
и есть мусор (логика задом наперёд). Рекомендация books: различать
transient-error (protect) vs MANIFEST_UNKNOWN (eligible for delete).
freedBytes от dangling ~0 (слои уже вычищены).

+registry-oci-image-index-gc.md (раздел) +index.md +log.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 12:51:28 +03:00
85b13ae6a4 docs(wiki): OCI image-index GC gotcha + bind-mount config-shadow lesson
Следствие закрытия [books-task-runner-registry-auth-cred].

concepts/registry-oci-image-index-gc.md (new): books-* образы в registry =
OCI image-index (buildx), top-level .config=null, дата .created в платформенном
sub-manifest. Наивный GC по top-level дате → null у всех → null-dated группы
защищаются → drop=0 всегда (keepLastN не применяется). Правила: Accept со
всеми media-types, дата из sub, DELETE по index-digest не sub. Зафиксировано
на books registryGc dryRun (deleted=0 при 14 tags) + манифест-dump books-web.

concepts/bindmount-config-edit-preserve-mode.md: дополнен гочей про
bind-mount shadow (config образа затенён целиком → полная секция, не дельта)
+ worked example task-runner (mode не слетел, постмортем сработал).

+index.md (2 строки) +log.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 12:31:41 +03:00
18a1e3ff61 meta(tasks): close [books-task-runner-registry-auth-cred] — cred verified via dryRun
После deploy нового кода (образ master-bf2a8c5, registryGc v2-DELETE rewrite)
прогнан registryGc {dryRun:true} через scheduler-dispatch (POST /tasks/registryGc
+ x-agenda-job-id): success, 401 нет нигде, repos books-* видны (7 processed),
отчёт сгенерён. Acceptance auth/dryRun met.

Finding отдан books (НЕ блокер кред-таски): GC бежит но drop=0 всегда
(keep=tags-1), keepLastN не применяется — getCreated→null для всех манифестов
(configDigest не извлекается, вероятно OCI image-index от buildx),
planDeletions защищает null-dated группы. Bug в books lib/registryV2.js.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 12:24:22 +03:00
202b7c32af meta(tasks): block [books-task-runner-registry-auth-cred] — cred placed+verified, new registryGc (a3734d5) not deployed
Кред books-ci (секция registry, полная — bind-mount затеняет config образа)
положен в task-runner config-volume на books-vds, 644 root сохранён
(бэкап .bak-pre-registry-2026-06-18, EACCES не повторён), container
restart→healthy, config.get(registry.*) резолвится. books-ci валиден:
/v2/_catalog→200, репы books-* видны, 401 нет.

Блокер: работающий образ (88f2bee, 2026-06-17) содержит старый registryGc
(Gitea packages API), тега master-a3734d5 в реестре нет → CI не собрал
v2-DELETE rewrite. In-app dryRun ждёт build+deploy. Inbox-ответ books отправлен.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 11:40:07 +03:00