Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

types gen: unresolved-source error for rotted remote bundle URLs is opaque — published configs carry ephemeral preview URLs that can 404

オープン
#652 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

Start by reading the strict runtime-map change in #594 and the getAssociatedUi path; the issue does not name source files or tests. Trace how remote manifest fetch failures become unresolved-source errors, then check the existing ui: false and BOS_MAP_ALLOW_UNRESOLVED=1 behavior. Done means the error identifies the owning app and gateway, whether the slot was inherited, and the remediations.

索引モデルが issue の本文から書いたものです。

説明

Found during the nearbuilders.org v2 upgrade (NEARBuilders/nearbuilders.org#305).

What

The strict runtime-map (#594) is right to fail on unresolved sources, but the failure gives no actionable context:

ERROR (#54): [runtime-map] UNRESOLVED nostr (plugin-ui): fetch https://elliot-braem-9129-ui-nostr-nearbuilders-org-nearb-b7951b19d-ze.zephyrcloud.app/manifest.gen.json failed: HTTP 404 Not Found

The URL came from a v1 published config (nostr.nearbuilders.org) whose app.ui points at an ephemeral Zephyr preview bundle that has since been deleted. The consumer inherits the slot via getAssociatedUi when extending #plugins.<id>, and CI (consumer-ci → pnpm run typecheck → bos types gen) fails with no hint that (a) the owning app is nostr.nearbuilders.org, (b) the URL is a rotted Zephyr preview from a v1-era publish, or (c) the fixes are: upgrade/publish the source app to v2, ui: false on the extending entry (shipped in rc.25 / #636), or BOS_MAP_ALLOW_UNRESOLVED=1.

Suggested fix

When a remote manifest fetch fails, the unresolved-source error should include: the owning app/account + gateway of the extends source, whether the slot was inherited via getAssociatedUi (vs declared locally), and the known remediations. It took a multi-repo investigation (nostr PR #32's known issues + activity #82's commit 8) to learn this failure mode; the error should teach it.

Backdrop

#282 removed Zephyr from the platform's own deploy path, but v1-era published configs still carry Zephyr preview URLs and they rot silently — consumers extending stale v1 remotes are the population that keeps hitting this. Longer term, publish canonicalization could refuse/deny ephemeral preview hosts so this class of published config can't be created.

主要言語
TypeScript
スター
5
フォーク
3
平均マージ
9時間 37分
マージ済み PR(30日)
157

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NEARBuilders/everything-dev のほかの issue

NEARBuilders/everything-dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。