Skip to content

Commit 58565a9

Browse files
V48 (impl-only): Green CI after monorepo refactors
Drop Demonstration MVP from Canon Quality, fix Product* type casts for tsc, and bump long-runner images to Node 22 + pnpm 10.
1 parent dcf511a commit 58565a9

6 files changed

Lines changed: 17 additions & 34 deletions

File tree

.github/workflows/bitcode-canon-quality.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -498,23 +498,6 @@ jobs:
498498
exit 1
499499
fi
500500
501-
bitcode-demonstration-mvp:
502-
name: Bitcode Demonstration MVP
503-
runs-on: ubuntu-latest
504-
needs: bitcode-spec-basics
505-
container:
506-
image: node:22-bookworm
507-
508-
steps:
509-
- name: Checkout repository
510-
uses: actions/checkout@v4
511-
512-
- name: Run V48 commercialized protocol proof (complete modern canon)
513-
run: |
514-
pnpm --dir scripts/specifying exec node --test --test-force-exit \
515-
test/specifying-package-boundary.test.js \
516-
test/v42-ai-reading-demonstration.test.js
517-
518501
bitcode-spec-commit-conformance:
519502
name: Bitcode Spec Commit Conformance
520503
runs-on: ubuntu-latest

.github/workflows/bitcode-gate-quality.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -936,11 +936,10 @@ jobs:
936936
- name: Test pipeline readback verifier
937937
run: pnpm test:qa:v28:pipeline-readback
938938

939-
- name: Test commercialized protocol proof (V48 complete modern canon)
939+
- name: Test specifying package boundary
940940
run: |
941941
pnpm --dir scripts/specifying exec node --test --test-force-exit \
942-
test/specifying-package-boundary.test.js \
943-
test/v42-ai-reading-demonstration.test.js
942+
test/specifying-package-boundary.test.js
944943
945944
- name: Check diff hygiene
946945
run: git diff --check

apps/uapi/components/bitcode/pipeline/models/pipeline-selection-query.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ export function readProductTransactionId(searchParams: URLSearchParams) {
146146

147147
export function readProductEnvironmentMode(searchParams: URLSearchParams): ProductEnvironmentMode | null {
148148
const rawValue = searchParams.get(SEARCH_PARAM_KEYS.environmentMode);
149-
return PRODUCT_ENVIRONMENT_MODE_VALUES.includes(rawValue as productEnvironmentMode)
150-
? (rawValue as productEnvironmentMode)
149+
return PRODUCT_ENVIRONMENT_MODE_VALUES.includes(rawValue as ProductEnvironmentMode)
150+
? (rawValue as ProductEnvironmentMode)
151151
: null;
152152
}
153153

@@ -212,11 +212,11 @@ export function readProductConversationHandoffContext(searchParams: URLSearchPar
212212
return {
213213
present,
214214
conversationId: parseTextValue(searchParams.get(SEARCH_PARAM_KEYS.conversationId), '') || null,
215-
workflow: workflow && PRODUCT_CONVERSATION_HANDOFF_WORKFLOW_VALUES.includes(workflow as productConversationHandoffWorkflow)
216-
? (workflow as productConversationHandoffWorkflow)
215+
workflow: workflow && PRODUCT_CONVERSATION_HANDOFF_WORKFLOW_VALUES.includes(workflow as ProductConversationHandoffWorkflow)
216+
? (workflow as ProductConversationHandoffWorkflow)
217217
: null,
218-
policy: policy && PRODUCT_CONVERSATION_HANDOFF_POLICY_VALUES.includes(policy as productConversationHandoffPolicy)
219-
? (policy as productConversationHandoffPolicy)
218+
policy: policy && PRODUCT_CONVERSATION_HANDOFF_POLICY_VALUES.includes(policy as ProductConversationHandoffPolicy)
219+
? (policy as ProductConversationHandoffPolicy)
220220
: null,
221221
proofRoot: parseTextValue(searchParams.get(SEARCH_PARAM_KEYS.handoffProofRoot), '') || null,
222222
repositoryAnchor: parseTextValue(searchParams.get(SEARCH_PARAM_KEYS.handoffRepositoryAnchor), '') || null,

apps/uapi/components/deposits/DepositSourceSelection/hooks/use-deposit-source-vcs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function useDepositSourceVcs(input: {
9999
throw new Error("Unable to load repository connection posture.");
100100
}
101101
if (!disposed) {
102-
setConnectionStatus(payload as productRepositoryConnectionStatus);
102+
setConnectionStatus(payload as ProductRepositoryConnectionStatus);
103103
}
104104
})
105105
.catch((nextError) => {

containers/Dockerfile.long-runner

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# progress events to Supabase using SupabaseStream.
99
# ---------------------------------------------------------------------------
1010

11-
FROM node:20-slim AS base
11+
FROM node:22-bookworm-slim AS base
1212

1313
WORKDIR /app
1414

@@ -23,16 +23,16 @@ COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
2323
COPY packages ./packages
2424
COPY apps/uapi ./apps/uapi
2525

26-
# Install PNPM for faster deterministic installs
27-
RUN npm install -g pnpm@8
26+
# Match monorepo packageManager (pnpm@10.x) + Node >= 21 engines.
27+
RUN corepack enable && corepack prepare pnpm@10.33.0 --activate
2828

2929
# Install production deps (no devDependencies speeds up image build)
3030
RUN pnpm --filter bitcode-uapi... install --prod --frozen-lockfile
3131

3232
# ------------------------------------------------------------------------
3333
# Final image – slim and ready to execute run-long-runner.ts
3434
# ------------------------------------------------------------------------
35-
FROM node:20-slim
35+
FROM node:22-bookworm-slim
3636

3737
WORKDIR /app
3838

containers/Dockerfile.long-runner-worker

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# Simple image to run the queue-polling worker inside Kubernetes.
22
# We reuse the same codebase but set the ENTRYPOINT to long-runner-worker.ts
33

4-
FROM node:20-slim AS base
4+
FROM node:22-bookworm-slim AS base
55

66
WORKDIR /app
77

88
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml ./
99
COPY packages ./packages
1010
COPY apps/uapi ./apps/uapi
1111

12-
RUN npm install -g pnpm@8 && pnpm --filter bitcode-uapi... install --prod --frozen-lockfile
12+
RUN corepack enable && corepack prepare pnpm@10.33.0 --activate \
13+
&& pnpm --filter bitcode-uapi... install --prod --frozen-lockfile
1314

14-
FROM node:20-slim
15+
FROM node:22-bookworm-slim
1516
WORKDIR /app
1617
COPY --from=base /app /app
1718
ENV NODE_ENV=production TZ=UTC POLL_INTERVAL_MS=2000

0 commit comments

Comments
 (0)