Repository navigation
Keep issue-sync changelog generation consistent with CI - #22
Conversation
|
No actionable comments were generated in the recent review. Summary by CodeRabbit
WalkthroughThe GitHub sync workflow now runs ChangesSync Changelog Automation
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant SyncWorkflow as GitHub sync workflow
participant AutomationScript as changelog:automation
participant FullGenerator as changelog:full
SyncWorkflow->>AutomationScript: Select as post-import script
AutomationScript->>FullGenerator: Run full changelog generator
Merge Risk:
|
Reviewer's GuideUses of the APIConfigure the issue-sync workflow to select the dedicated changelog script so regeneration follows the package's canonical policy.
DocumentationDocument the changelog policy used by GitHub issue synchronization and record the associated issue and synchronization history.
TestsExercise the configured generator against a temporary tracker and verify its output with the package changelog checker.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@coderabbitai full review Please review head d4540af, including outside-diff findings. |
Action performed
|
The gated issue-sync candidate regenerates a historical-only changelog, while CI checks the package's normal full generation. The differing heading fails after the runtime tests pass.
Select
changelog:automationthrough the existing caller input and delegate to the unchangedchangelog:fullcommand. The pinned reusable workflow adds--no-pending-releaseonly for its default script name, so this keeps automation and verification on the package's canonical policy. Dependency pins and thresholds remain unchanged. The input follows the GitHub reusable workflow contract.A real temporary tracker is initialized without Git, then uses a synthetic Git repository for release-tag generation. The configured generator passes the existing checker. Reverting only the caller input in a disposable copy makes that real check fail; restoring it passes 1/1. Focused tests, the linked PM test and typecheck pass.
Local
npm run release:checkandbun run release:checkpass: npm coverage suite 144/144 with 0 skipped; bun coverage suite 144/144 with 0 skipped; packed npm/npx and Bun/bunx no-git acceptance also passes 2/2 per full gate. Exact-head CI remains the full gate. The existing bot branch remains untouched.PM: pm-http-sync-changelog.
Summary by Sourcery
Align issue-sync changelog regeneration with the package’s canonical release-check policy.
New Features:
Bug Fixes:
Enhancements:
Documentation:
Tests:
Summary by cubic
Aligned GitHub issue-sync changelog regeneration with the package's release-check policy so it no longer fails CI.
The reusable sync workflow injects
--no-pending-releaseinto the defaultchangelog:fullscript, whilechangelog:checkverifies the canonical policy, so the gated sync candidate regenerated a historical-only changelog that then failed the check. Adds achangelog:automationscript that delegates to the unchangedchangelog:fulland passes it via the workflow'spost-import-scriptinput; the pinned reusable workflow only injects the flag for its default script name, so the differing heading no longer appears. Dependency pins and coverage thresholds are unchanged.Written for commit d4540af. Summary will update on new commits.