Skip to content

refactor(sidekick): move sidekick command and internal package#1562

Merged
julieqiu merged 1 commit intomainfrom
movecmdsidekick
Aug 4, 2025
Merged

refactor(sidekick): move sidekick command and internal package#1562
julieqiu merged 1 commit intomainfrom
movecmdsidekick

Conversation

@julieqiu
Copy link
Copy Markdown
Member

@julieqiu julieqiu commented Aug 4, 2025

Move cmd/sidekick from internal/sidekick/cmd/sidekick to cmd/sidekick.

Flatten internal/sidekick/internal/sidekick into internal/sidekick, since Go's internal packages cannot be imported from sibling directories and all contents of that folder exist solely to support the sidekick package.

Fixes #1536
Fixes #1548

Move `cmd/sidekick` from `internal/sidekick/cmd/sidekick` to
`cmd/sidekick`.

Flatten `internal/sidekick/internal/sidekick` into `internal/sidekick`,
since Go's `internal` packages cannot be imported from sibling
directories and all contents of that folder exist solely to support the
`sidekick` package.

Fixes #1536
Fixes #1548
@julieqiu julieqiu requested a review from coryan August 4, 2025 15:11
@julieqiu julieqiu requested a review from a team as a code owner August 4, 2025 15:11
@julieqiu julieqiu enabled auto-merge (squash) August 4, 2025 15:11
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.25%. Comparing base (df86dd2) to head (913649d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1562      +/-   ##
==========================================
- Coverage   82.61%   82.25%   -0.36%     
==========================================
  Files          15       16       +1     
  Lines        1156     1161       +5     
==========================================
  Hits          955      955              
- Misses        151      156       +5     
  Partials       50       50              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@julieqiu julieqiu merged commit 2c87e04 into main Aug 4, 2025
10 checks passed
@julieqiu julieqiu deleted the movecmdsidekick branch August 4, 2025 15:33
catchyzheng pushed a commit that referenced this pull request Aug 5, 2025
Move `cmd/sidekick` from `internal/sidekick/cmd/sidekick` to
`cmd/sidekick`.

Flatten `internal/sidekick/internal/sidekick` into `internal/sidekick`,
since Go's `internal` packages cannot be imported from sibling
directories and all contents of that folder exist solely to support the
`sidekick` package.

Fixes #1536
Fixes #1548
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.

sidekick: move internal/sidekick/internal/ up a directory to internal/sidekick/ sidekick: move sidekick command to cmd/sidekick

2 participants