Skip to content

Restore missing cmd/devvault entrypoint to unblock macOS CI Build & Test - #1

Closed
Saravanakumar2602 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Closed

Saravanakumar2602 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Build & Test (macos-latest) failed because the e2e test builds ../cmd/devvault, but that package path was absent from the repository. This PR restores the expected CLI entrypoint and adjusts ignore rules so the source path is tracked.

  • Root cause

    • test/e2e_test.go invokes:
      go build -o <temp-bin> ../cmd/devvault
    • Repository only had cmd/devvault-demo, so the build target did not exist.
  • Code change: restore canonical CLI package path

    • Added cmd/devvault/main.go as the executable entrypoint.
    • Entrypoint delegates to existing command wiring in internal/cli.
  • Repo hygiene: narrow binary ignore scope

    • Updated .gitignore from broad devvault / devvault.exe patterns to root-anchored /devvault / /devvault.exe.
    • Keeps root-level built binaries ignored while allowing cmd/devvault/ source files to be tracked.
  • Entrypoint snippet

    package main
    
    import "devvault/internal/cli"
    
    func main() {
        cli.Execute()
    }

Co-authored-by: Saravanakumar2602 <189441060+Saravanakumar2602@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job for Build & Test on macos-latest Restore missing cmd/devvault entrypoint to unblock macOS CI Build & Test Sep 23, 2026
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