-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[v3] Fix service name determination #3827
Conversation
WalkthroughThe pull request updates the project's changelog and modifies the Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
e8f8e26
to
6088501
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
mkdocs-website/docs/en/changelog.md (1)
24-24
: LGTM! Consider adding more details about the fix.The new entry correctly documents the fix for service name determination, which aligns with the PR objectives. Well done on keeping the changelog up-to-date!
Consider adding a brief explanation of the issue that was fixed, such as:
- Fixed service name determination by [windom](https://github.com/windom/) in [#3827](https://github.com/wailsapp/wails/pull/3827) + Fixed service name determination in `Application.New` method by [windom](https://github.com/windom/) in [#3827](https://github.com/wailsapp/wails/pull/3827)This provides more context about the specific component that was affected by the fix.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (2)
- mkdocs-website/docs/en/changelog.md (1 hunks)
- v3/pkg/application/application.go (1 hunks)
🧰 Additional context used
🔇 Additional comments (2)
mkdocs-website/docs/en/changelog.md (1)
Line range hint
1-24
: Excellent changelog structure and consistency!The changelog is well-organized, following the Keep a Changelog format consistently. It provides clear and detailed information about changes across different versions, including contributor credits and PR references. This level of detail greatly helps users and developers understand the project's evolution.
v3/pkg/application/application.go (1)
145-145
: Approved: Fix for service name determinationThis change correctly modifies how the service name is retrieved when logging an error during the
OnStartup
method of a service. By passingservice.instance
instead ofservice
to thegetServiceName
function, it ensures that the actual service instance is used for name determination, which aligns with the PR objective.This modification should resolve any issues related to incorrect service name determination in error logs.
Should use service instance, not Service wrapper struct.
Head branch was pushed to by a user without write access
6088501
to
73968ac
Compare
Quality Gate passedIssues Measures |
Thanks for this 🙏 |
Description
Currently
Application.New
determines service name wrongly, because it callsgetServiceName()
on theapplication.Service
struct instead of the wrapped service instance. This simple fix corrects that.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration using
wails doctor
.Test Configuration
Please paste the output of
wails doctor
. If you are unable to run this command, please describe your environment in as much detail as possible.Checklist:
website/src/pages/changelog.mdx
with details of this PRSummary by CodeRabbit
New Features
Bug Fixes
AlwaysOnTop
feature on macOS and duplicate roles in the edit menu on Darwin.Improvements
Documentation