Skip to content

test(buildkit): pac host cell renders repo setup (regression for check-cachyos-vm) - #164

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/pac-host-repo-render
Aug 24, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/pac-host-repo-render

Conversation

@atrawog

@atrawog atrawog commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The pac phase.install.host cell in charly/charly.yml now imports the candy's keys and appends its repos to /etc/pacman.conf before pacman -Syu (charly#401). This test pins that render with a literal host-cell fixture, mirroring TestRpmHostCellHandlesRepos. The charly-side presence check lives in charly/format_config_test.go (charly/ core must not import sdk).

How tested

$ go test ./buildkit/ -run "TestPacHostCellHandlesRepos|TestRpmHostCellHandlesRepos" -count=1
ok  	github.com/opencharly/sdk/buildkit	0.003s

Rulebook compliance

Rule How / N/A
R1 RCA: the check-cachyos-vm target not found: charly traced to the pac host cell having no repo handling; this test locks the fix
R2 No deferral
R3 Fixture mirrors the charly.yml host cell (one vocabulary)
R4 N/A — test-only
R5 N/A
R6 status checked; no force-push; feat-branch + PR landing
R7 Test output pasted above
R8 N/A
R9 N/A
R10 Tests ran on the committed tree at this head

Change classification

  • Change class: test (regression pin for the pac host cell repo render)
  • Verification gate: the render test + the org validator
  • Attribution tier: fully tested and validated — the changed test ran green on the final tree

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

…k-cachyos-vm)

The pac phase.install.host cell in charly/charly.yml now imports the candy's
keys and appends its repos to /etc/pacman.conf before pacman -Syu (charly PR
pending). This test pins that render with a literal host-cell fixture
(mirroring TestRpmHostCellHandlesRepos); the charly-side presence check lives
in charly/format_config_test.go.
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: e105f79b67ec8e45a792192b02d74a1a2b7a24d8

Security screen: PASS
Checklist: All applicable rules PASS or NA.

Notes: single atomic test-only commit; diff is one new regression test in buildkit/render_test.go consistent with its sibling TestRpmHostCellHandlesRepos; pasted go test -count=1 output is internally consistent (right package path, right -run regex, plausible ok result); the test would fail against a bare pacman -Syu host cell, so it genuinely pins the repo/key render; body is complete (summary, tested-with-output, compliance table, Assisted-by: footer in exact form) with an RCA and no forbidden framings; placement correct (sdk buildkit, no alias/import/layer issues). CI validate was still in_progress at review time — no failure observed, and no Go-gate-catchable defect is visible in the diff (tool-limited disposition, non-blocking).

Verdict: PASS


deepseek.com/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 24, 2026 19:12
@github-actions
github-actions Bot merged commit 5269ce0 into main Aug 24, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 24, 2026
@aitrawog
aitrawog deleted the feat/pac-host-repo-render branch September 25, 2026 19:07
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