Skip to content

[B2] Packed @openelement/ui artifact loses Part Program registration (packageIslands SSR admission fails OE_PROGRAM_MISSING) #1301

Description

@SisyphusZheng

Found by B2.3 (#1177) executor during packed-artifact website qualification (PR #1300). Blocks the strict 'website builds from public candidate artifacts alone' acceptance and is on the B2.5 (#1228) consumer-path critical path.

Defect

The packed @openelement/ui npm artifact cannot be SSR-admitted via the documented packageIslands: ['@openelement/ui'] path. deno pack erases the compile-time-only @element/@property intrinsics (applyDecs2203R lowering) when compiling ui to npm .js, so no Part Program registers and SSG fails closed with OE_PROGRAM_MISSING on <open-theme-toggle>.

Verified on BOTH the local pack:dry-run tarball AND the published registry artifact ui-0.44.0-beta.1.tgz. B2.1/B2.2 qualified ui via the in-repo dogfood fixture (workspace source), so the packed path was never exercised — this is precisely the observational-qualification gap the stage exists to close.

Acceptance

  • A fresh external consumer using packed/published @openelement/ui + packageIslands gets working SSR admission (no OE_PROGRAM_MISSING) — proven by a CI-gated packed-artifact consumer test (observational principle: test the packed artifact, not the workspace source).
  • If the fix touches ADR-0122 frozen paths (entry-codegen etc.), the commit message cites ADR-0151.
  • The chosen fix preserves the publishability gates (pack:dry-run, package-artifacts:check).

Notes for the executor

  • Root-cause first: determine whether the packing pipeline for packages/ui strips the intrinsics (build config issue) or whether the intrinsics are inherently source-only (then the packed artifact must ship a pre-compiled form or the admission contract must change — that would be an ADR-level decision; if you reach that conclusion, STOP and report rather than deciding unilaterally).
  • This may interact with the B2.13 dead-v0.43-residue audit (what ui's packed artifact ships under src/**).

Part of #1155. Stage #1288. Blocks: #1177 (strict acceptance item), #1228 (B2.5 consumer matrix).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions