fix(image): bundle libatomic for the Browse driver (v0.1.1-dev.9) #113

Merged
john merged 2 commits from fix/browse-libatomic into main 2026-11-28 07:18:51 +00:00
Owner

The v0.1.1-dev.8 publish failed the native smoke gate: the bundled Playwright Node binary requires libatomic.so.1 and the slim base image does not provide it. Extract the Debian package for TARGETARCH during the native build stage, with no target-architecture RUN step. Keep Browse off by default and retain the Playwright native smoke test. 30 Browse tests passed locally.

The v0.1.1-dev.8 publish failed the native smoke gate: the bundled Playwright Node binary requires libatomic.so.1 and the slim base image does not provide it. Extract the Debian package for TARGETARCH during the native build stage, with no target-architecture RUN step. Keep Browse off by default and retain the Playwright native smoke test. 30 Browse tests passed locally.
fix(image): bundle libatomic for the Browse driver
Some checks failed
Corn CI / release-check-1 (pull_request) Successful in 3s
Corn CI / release-check (pull_request) Successful in 0s
Corn CI / host (pull_request) Successful in 20s
Security / scan (pull_request) Failing after 21s
Security / security (pull_request) Failing after 0s
Review / change impact (pull_request_target) Successful in 39s
Corn CI / test (pull_request) Successful in 4m34s
Corn CI / release (pull_request) Has been skipped
45ea48db59
fix(image): fetch libatomic with apt-get install --download-only
All checks were successful
Corn CI / release-check-1 (pull_request) Successful in 3s
Corn CI / release-check (pull_request) Successful in 0s
Corn CI / host (pull_request) Successful in 19s
Security / scan (pull_request) Successful in 22s
Security / security (pull_request) Successful in 0s
Corn CI / test (pull_request) Successful in 4m30s
Corn CI / release (pull_request) Has been skipped
Review / change impact (pull_request_target) Successful in 5m23s
5f130879cb
Trivy DS-0017 (high) blocked #113: 'apt-get update' alone in a RUN. Fetch
the target-arch package with the same command that updates the lists
(--download-only, so nothing is installed on the build stage), extract it
from apt's cache into /runtime, and drop lists and debs. Local trivy
config: DS-0017 gone, only the accepted DS-0002 remains.

Change review · 9838295e9991 → 5f130879cbdc

Call paths changed by this PR

Caller → changed symbol → callee. Each edge labels the line in the caller. One detected entry path (up to 3 hops) is included when found. Static evidence, not a runtime stack trace.

After

flowchart LR
    n0["module scope - modified"]

Changed symbols:

  • modified module scope — src/corn/__init__.py:1
Overall architecture after this change

Source: 5f130879cbdc · code-review 0.1.0-dev.1.

Generated from resolved static calls between reviewed code areas. Numbers are call sites, not request counts.
Framework registration, dynamic dispatch, and unresolved calls are not shown. This is not a deployment map.
Showing 7 of 7 inter-area edges. Edit the reviewed source instead of this generated page.

flowchart LR
    n1["Console"]
    n2["Identity"]
    n3["Linked MCP"]
    n4["NSW integrations"]
    n5["Persistence"]
    n6["REST handlers"]
    n7["Server composition"]
    n8["Shared contracts"]
    n9["Shopping"]
    n5 -->|"9"| n2
    n7 -->|"5"| n6
    n7 -->|"2"| n8
    n1 -->|"1"| n4
    n1 -->|"1"| n9
    n3 -->|"1"| n2
    n7 -->|"1"| n2

This diagram is for the linked commit. It refreshes after required checks pass for a new head.

<!-- john/release:architecture-review:v1 --> # Change review · `9838295e9991` → [`5f130879cbdc`](https://code.yawn.dev/john/corn/commit/5f130879cbdc6d9dc0585c102a45722089c28071) ## Call paths changed by this PR Caller → changed symbol → callee. Each edge labels the line in the caller. One detected entry path (up to 3 hops) is included when found. Static evidence, not a runtime stack trace. ### After ```mermaid flowchart LR n0["module scope - modified"] ``` Changed symbols: - **modified** `module scope` — `src/corn/__init__.py:1` <details><summary>Overall architecture after this change</summary> Source: [5f130879cbdc](https://code.yawn.dev/john/corn/commit/5f130879cbdc6d9dc0585c102a45722089c28071) · `code-review 0.1.0-dev.1`. Generated from resolved static calls between reviewed code areas. Numbers are call sites, not request counts. Framework registration, dynamic dispatch, and unresolved calls are not shown. This is not a deployment map. Showing 7 of 7 inter-area edges. Edit the reviewed source instead of this generated page. ```mermaid flowchart LR n1["Console"] n2["Identity"] n3["Linked MCP"] n4["NSW integrations"] n5["Persistence"] n6["REST handlers"] n7["Server composition"] n8["Shared contracts"] n9["Shopping"] n5 -->|"9"| n2 n7 -->|"5"| n6 n7 -->|"2"| n8 n1 -->|"1"| n4 n1 -->|"1"| n9 n3 -->|"1"| n2 n7 -->|"1"| n2 ``` </details> This diagram is for the linked commit. It refreshes after required checks pass for a new head.
john merged commit 66a01251d7 into main 2026-11-28 07:18:51 +00:00
john deleted branch fix/browse-libatomic 2026-11-28 07:18:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
john/corn!113
No description provided.