Skip to content

ci/local-checks.sh Tests step references server/scripts dirs that don't exist in this public mirror #3

Open

Description

@alex-mextner

What

ci/local-checks.sh's Tests step runs bun test --isolate client lib server shared scripts vscode-extension. The server and scripts path segments do not exist at the root of https://github.com/hyperide/hyper-ext and never will: this repo is a public mirror synced from https://github.com/hyperide/hyper-saas via scripts/sync-to-public.sh, which explicitly excludes /server/ and /scripts/ from the rsync (--exclude='/server/', --exclude='/scripts/') and even runs a post-sync safety check that FAILS the sync if a server or scripts directory is found in the target. However /ci/ itself is not excluded from the sync, so local-checks.sh carries over unmodified from the monorepo with its full, monorepo-relative directory list intact.

Confirmed root directory listing of https://github.com/hyperide/hyper-ext at main (via GET /repos/hyperide/hyper-ext/contents/): present = ci, client, docs, e2e, lib, packages, patches, public, shared, templates, test, vscode-extension. Absent = server, scripts.

Already acknowledged by @alex-mextner in #1 (comment) ("...resolving a tooling mismatch on our merge gate (it's tuned for the main monorepo, not this mirror) before it lands.")

Proposed fix: change the isolate path list to client lib shared vscode-extension.

Why (motivation)

The Tests step in ci/local-checks.sh is a copy-through of the monorepo's directory list, which has drifted from what actually exists in this synced public mirror (https://github.com/hyperide/hyper-ext), silently referencing directories bun test will never find here.

User impact

Anyone running ci/local-checks.sh in this repo (including gh ship's billing-block merge gate fallback) gets a test invocation listing two non-existent directories, which is misleading when debugging local CI failures and risks masking real test-path misconfiguration.

Cost of inaction

The stale path list continues to reference server/scripts indefinitely, confusing contributors auditing the merge-gate script and leaving the sync-script/local-checks.sh drift undocumented for the next person who edits either file.

Acceptance criteria

  • ci/local-checks.sh's Tests step isolate path list only references directories that exist at https://github.com/hyperide/hyper-ext's repo root
  • ls at hyper-ext repo root confirms server and scripts are absent while client, lib, shared, vscode-extension are present

Screenshots

(none)

Links

  • (none)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions