Skip to content

test(buildkit): rpm host cell renders repo setup (regression for check-fedora-vm) - #163

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

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

Conversation

@atrawog

@atrawog atrawog commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The rpm phase.install.host cell in charly/charly.yml now writes the .repo file (with gpgkey=), imports the key (rpm --import {{.gpgkey}}), and passes --enable-repo=<name> on the install line (charly#396). This test pins that render with a literal host-cell fixture, mirroring TestRpmTemplateWithModules' container-cell fixture. The charly-side presence check lives in charly/format_config_test.go (charly/ core must not import sdk).

How tested

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

$ go test ./buildkit/ -count=1
ok  	github.com/opencharly/sdk/buildkit	0.004s

Rulebook compliance

Rule How / N/A
R1 RCA performed: the check-fedora-vm No match for argument: charly was traced to the rpm host cell having no repo handling; this test locks the fix
R2 No deferral
R3 The 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 rpm 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-fedora-vm)

The rpm phase.install.host cell in charly/charly.yml now writes the .repo
file (with gpgkey=), imports the key (rpm --import {{.gpgkey}}), and passes
--enable-repo=<name> on the install line. This test pins that render with a
literal host-cell fixture (mirroring TestRpmTemplateWithModules' container
fixture); the charly-side presence check lives in charly/format_config_test.go.
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: 5336720654ecaac3b174dfe3c001d467357c4c7c

Security screen: PASS — single test-only diff; no secrets, no exfiltration, no scope mismatch, no guardrail changes, no embedded directives.
Checklist: All applicable rules PASS or NA. Test-only change class; body supplies RCA (R1), pasted coherent go test ./buildkit/ output, correct Assisted-by footer, justified attribution tier (the new test executed green on the committed tree), atomic single commit, no deferral framing, placement CORRECT (render regression pin in buildkit). CI validate is in_progress with no failed conclusion; local pasted output is internally consistent (real package path, matching -run pattern, assertions traceable to the fixture template).

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 15:48
@github-actions
github-actions Bot merged commit 1e11db3 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/rpm-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