Skip to content

test(release): compact preview and workflow fixtures - #270

Merged
jasonkuhrt merged 1 commit into
mainfrom
codex/release-test-fixture-compaction-followup
Jun 11, 2026
Merged

jasonkuhrt merged 1 commit into
mainfrom
codex/release-test-fixture-compaction-followup

Conversation

@jasonkuhrt

Copy link
Copy Markdown
Owner

Part of #259, Item 10 follow-up after #269.

What changed

  • Compact pr-preview.coverage.test.ts around shared diff-layer, preview-result, and failure assertion helpers.
  • Compact workflow.integration.test.ts around core workflow harness and failure/manifest assertion helpers while leaving malformed and multi-package atomic scenarios explicit.
  • Compact executor/_.test.ts around candidate-tag, candidate-release seeding, and publish-tag assertion helpers.
  • Preserve the existing oracle surface: exact failure tags, detail text checks, publish tag checks, GitHub release assertions, graph assertions, and side-effect refs remain targeted at their original scenarios.

Measured impact

  • packages/release/src/cli/pr-preview.coverage.test.ts: 855 -> 801 LOC.
  • packages/release/src/api/workflow.integration.test.ts: 833 -> 711 LOC.
  • packages/release/src/api/executor/_.test.ts: 746 -> 730 LOC.
  • packages/release/src test total: 21801 -> 21609 LOC since test(release): compact artifact and executor fixtures #269.

Review

Curie reviewed the final diff for FP, Effect service usage, type safety, simplicity, compactness, and oracle strength. Findings: none.

Verification

  • bun run --cwd packages/release test src/cli/pr-preview.coverage.test.ts src/api/workflow.integration.test.ts src/api/executor/_.test.ts
  • bun run --cwd packages/release check:types
  • GIT_DIR=/Users/jasonkuhrt/projects/jasonkuhrt/kitz/.git/worktrees/kitz-release-qa-loop-6 GIT_WORK_TREE=/Users/jasonkuhrt/.codex/worktrees/kitz-release-qa-loop-6 bun run --cwd packages/release check:lint
  • bun tools/run-format.ts --check packages/release/src/api/executor/_.test.ts packages/release/src/api/workflow.integration.test.ts packages/release/src/cli/pr-preview.coverage.test.ts
  • GIT_DIR=/Users/jasonkuhrt/projects/jasonkuhrt/kitz/.git/worktrees/kitz-release-qa-loop-6 GIT_WORK_TREE=/Users/jasonkuhrt/.codex/worktrees/kitz-release-qa-loop-6 git diff --check
  • bun run --cwd packages/release test

@github-actions

Copy link
Copy Markdown

Release Forecast

0 packages · 0 primary · 0 cascades · head d871cb9

Help
Term Where Meaning
Packages Summary line Total packages in this forecast (primary + cascades).
Primary Summary line, section heading Packages with direct source changes in this PR.
Cascades Summary line, section heading Packages re-published because they depend on a primary release.
Head Summary line The exact commit SHA this forecast was computed from.
Ephemeral Version and publish history PR preview version format: 0.0.0-pr.<N>.<iter>.<sha>.
Candidate Version and publish history Pre-release version format: <base>-next.<N>.
Official Version lines Final semver release version computed from commit semantics.

Bump rules: feat() → minor · fix() → patch · ! → major
Cascades use patch because they are being re-published due to dependency movement, not direct source edits.

Projected Release Header

Unavailable: No primary release impacts were found.

Current PR title: test(release): compact preview and workflow fixtures


Tree
release forecast · 0 packages
└─ primary (0)

@jasonkuhrt
jasonkuhrt merged commit 1d9ac14 into main Jun 11, 2026
10 checks passed
@jasonkuhrt
jasonkuhrt deleted the codex/release-test-fixture-compaction-followup branch June 11, 2026 13: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