Skip to content

build(deps): replace monstrs runtime packages - #216

Merged
TorinAsakura merged 2 commits into
masterfrom
build/replace-monstrs-runtime
Jun 29, 2026
Merged

build(deps): replace monstrs runtime packages#216
TorinAsakura merged 2 commits into
masterfrom
build/replace-monstrs-runtime

Conversation

@TorinAsakura

Copy link
Copy Markdown
Member

Таска

  • Close atls/planning#649

Как проверять

До фикса

  1. Контекст: runtime-зависимости файлового сервиса, public gateway, site renderer и search service.
    Действие: проверить manifests и lock на @monstrs/nestjs-signed-url, @monstrs/oathkeeper-auth, @monstrs/nestjs-elasticsearch-indicator.
    Ожидаемый результат: старые runtime-пакеты @monstrs присутствуют в контуре и удерживают legacy-зависимости.

После фикса

  1. Контекст: runtime dependency cleanup для оставшихся @monstrs пакетов.
    Действие: проверить manifests, .yarnrc.yml, yarn.lock и PnP после перехода на ATLS Ory/Signed URL пакеты.
    Ожидаемый результат: @monstrs/nestjs-signed-url, @monstrs/oathkeeper-auth и @monstrs/nestjs-elasticsearch-indicator отсутствуют в runtime manifests и lock.

  2. Контекст: затронутые workspace после замены зависимостей.
    Действие: собрать @files/service, @public-gateway/app, @search/service, @site/renderer-entrypoint штатными Yarn/Raijin командами.
    Ожидаемый результат: все четыре workspace собираются без прямых обходных запусков.

Пруфы

  • yarn install --immutable: проходит
  • git diff --check: проходит
  • rg -n "@monstrs/(nestjs-signed-url|nestjs-elasticsearch-indicator|oathkeeper-auth)|@monstrs/oathkeeper-auth|@monstrs/nestjs-signed-url|@monstrs/nestjs-elasticsearch-indicator" files search public-gateway site package.json .yarnrc.yml yarn.lock -S: matches отсутствуют
  • yarn workspace @files/service build: проходит
  • yarn workspace @public-gateway/app build: проходит
  • yarn workspace @search/service build: проходит
  • yarn workspace @site/renderer-entrypoint build: проходит
  • yarn check: завершается с exit 0; нерелевантный formatter output откачен из PR

@TorinAsakura TorinAsakura self-assigned this Jun 29, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2aa29fa6ea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread public-gateway/app/src/index.ts Outdated
Comment thread files/application/src/services/UploadService.ts
@TorinAsakura
TorinAsakura merged commit 0d736a3 into master Jun 29, 2026
0 of 2 checks passed
@TorinAsakura
TorinAsakura deleted the build/replace-monstrs-runtime branch June 29, 2026 16:07

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b14390aa6d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

type: command.type,
})
const { url, fields } = await this.signedUrlSigner.generateWriteUrl(
process.env.GCS_BUCKET,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the local bucket fallback

When the files service runs under the checked-in docker-compose local stack, GCS_BUCKET=${GCS_BUCKET} is empty unless the developer exports it, while the only default bucket still provided there is FILES_BUCKET=dev. This new call now passes that empty process.env.GCS_BUCKET directly to the signer, so the default local upload flow reaches GCS signing with no bucket name and fails before clients can upload; either preserve the existing bucket fallback or update the compose/env defaults alongside this switch.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant