Skip to content

chore: upstream/downstream flow test (sync-check + lint fix)#2

Merged
chrishacia merged 4 commits into
mainfrom
test/upstream-downstream-flow-20260605
Jun 5, 2026
Merged

chore: upstream/downstream flow test (sync-check + lint fix)#2
chrishacia merged 4 commits into
mainfrom
test/upstream-downstream-flow-20260605

Conversation

@chrishacia

@chrishacia chrishacia commented Jun 5, 2026

Copy link
Copy Markdown
Owner

This PR validates the upstream side of the new downstream sync flow.

Includes:

  • CLI guard: pnpm devholm sync:check
  • docs/upgrading pre-flight step
  • ESLint fix for extensions.server.ts (module variable rename)

Purpose: ensure downstream repos can pull this cleanly and CI passes.

Copilot AI review requested due to automatic review settings June 5, 2026 06:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a downstream “sync readiness” guard to help downstream repos keep local customizations within safe boundaries before pulling upstream DevHolm changes, and applies small lint/formatting fixes to keep CI passing.

Changes:

  • Add a new pnpm devholm sync:check CLI command that reports whether modified files stay within downstream-safe boundaries.
  • Document the new pre-flight upgrade step in docs/upgrading.md.
  • Apply minor lint/formatting cleanups (including a variable rename for clarity) in server-side extension helpers.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/core/lib/extensions.server.ts Formatting/lint cleanup and clearer local variable naming in admin page extension loading.
scripts/devholm-cli.ts Adds sync:check command and updates CLI help output.
docs/upgrading.md Adds an upgrade pre-flight step and improves the “safe to customize” table formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/devholm-cli.ts
Comment on lines +409 to +413
const changedFiles = statusOutput
.split('\n')
.map((line) => line.trim())
.filter(Boolean)
.map((line) => line.replace(/^..\s+/, '').replace(/^"|"$/g, ''));
@chrishacia chrishacia merged commit ce164ab into main Jun 5, 2026
2 checks passed
@chrishacia chrishacia deleted the test/upstream-downstream-flow-20260605 branch June 5, 2026 13:15
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.

2 participants