Skip to content

feat: [#719] package:install support install goravel/framework facades#1172

Merged
hwbrzzl merged 5 commits into
masterfrom
bowen/#719-1
Aug 25, 2025
Merged

feat: [#719] package:install support install goravel/framework facades#1172
hwbrzzl merged 5 commits into
masterfrom
bowen/#719-1

Conversation

@hwbrzzl

@hwbrzzl hwbrzzl commented Aug 24, 2025

Copy link
Copy Markdown
Contributor

📑 Description

Closes goravel/goravel#719

This pull request introduces several changes to improve the package and facade installation process, refactor service provider relationships, and streamline command registration in the Goravel framework. The most notable updates are the new facade installation logic, removal of the FacadeToPath map from bindings, and enhancements to the database migration and seeder commands to use the application context.

./artisan package:install Auth
image

✅ Checks

  • Added test cases for my code

@codecov

codecov Bot commented Aug 24, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 49.44444% with 91 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.52%. Comparing base (21f0aed) to head (edcd97c).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
http/setup/setup.go 0.00% 18 Missing ⚠️
console/setup/setup.go 0.00% 13 Missing ⚠️
auth/setup/setup.go 0.00% 7 Missing ⚠️
foundation/console/package_install_command.go 84.44% 5 Missing and 2 partials ⚠️
cache/setup/setup.go 0.00% 6 Missing ⚠️
filesystem/setup/setup.go 0.00% 6 Missing ⚠️
grpc/setup/setup.go 0.00% 6 Missing ⚠️
hash/setup/setup.go 0.00% 6 Missing ⚠️
log/setup/setup.go 0.00% 6 Missing ⚠️
queue/setup/setup.go 0.00% 6 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1172      +/-   ##
==========================================
- Coverage   68.54%   68.52%   -0.03%     
==========================================
  Files         223      225       +2     
  Lines       14475    14600     +125     
==========================================
+ Hits         9922    10004      +82     
- Misses       4178     4218      +40     
- Partials      375      378       +3     

☔ 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.

@hwbrzzl
hwbrzzl marked this pull request as ready for review August 24, 2025 02:53
Copilot AI review requested due to automatic review settings August 24, 2025 02:53
@hwbrzzl
hwbrzzl requested a review from a team as a code owner August 24, 2025 02:53

info, _ := debug.ReadBuildInfo()
structName := str.Of(fileName).Prepend("m_").Studly().String()
if err = modify.GoFile(path.Database("kernel.go")).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

path should not be used in framework, given it uses App directly.

@github-actions github-actions Bot 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.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: b6dbe88 Previous: b8e3a32 Ratio
BenchmarkFile_ReadWrite 263774 ns/op 6258 B/op 99 allocs/op 173029 ns/op 6258 B/op 99 allocs/op 1.52
BenchmarkFile_ReadWrite - ns/op 263774 ns/op 173029 ns/op 1.52

This comment was automatically generated by workflow using github-action-benchmark.

@hwbrzzl hwbrzzl changed the title Feat: [#719] package:install support install goravel/framework facades feat: [#719] package:install support install goravel/framework facades Aug 24, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@hwbrzzl
hwbrzzl requested a review from Copilot August 24, 2025 08:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@hwbrzzl
hwbrzzl requested a review from Copilot August 24, 2025 08:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@hwbrzzl
hwbrzzl requested a review from Copilot August 25, 2025 01:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@hwbrzzl
hwbrzzl requested a review from Copilot August 25, 2025 13:26
@hwbrzzl
hwbrzzl merged commit ff97cb0 into master Aug 25, 2025
13 of 18 checks passed
@hwbrzzl
hwbrzzl deleted the bowen/#719-1 branch August 25, 2025 13:46
@hwbrzzl
hwbrzzl removed the request for review from Copilot March 23, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

package:install support install goravel/framework facades

2 participants