Skip to content
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

fix: at plugin load time, emitter is not yet initialized #641

Merged
merged 11 commits into from
Feb 12, 2025

Conversation

mattculler
Copy link
Contributor

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint && make test?
  • Have you added an entry to the changelog (docs/reference/changelog.rst)?

(CRAFT-4019)

@mattculler mattculler self-assigned this Feb 11, 2025
@mattculler mattculler marked this pull request as ready for review February 11, 2025 19:36
Copy link
Contributor

@dariuszd21 dariuszd21 left a comment

Choose a reason for hiding this comment

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

Thanks!

craft_application/application.py Outdated Show resolved Hide resolved
@mattculler mattculler force-pushed the work/CRAFT-4019-load-lib-emitter-fix branch from 3965a68 to 80739d0 Compare February 11, 2025 20:31
Copy link
Contributor

@dariuszd21 dariuszd21 left a comment

Choose a reason for hiding this comment

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

Thank you!

@mattculler mattculler merged commit 78be7a9 into main Feb 12, 2025
15 checks passed
@mattculler mattculler deleted the work/CRAFT-4019-load-lib-emitter-fix branch February 12, 2025 20:31
lengau pushed a commit that referenced this pull request Feb 13, 2025
* fix: at plugin load time, emitter is not yet initialized

* fix(tests): emitter -> logger

* chore: format

* fix(uv): add conflict group

* chore: trying to fix trivy ci

* fix: remove offending sections

* fix(perf): don't interpolate string before logging

Co-authored-by: Dariusz Duda <[email protected]>

* feat: make sure to set up the self-named logger

* feat: reimplement: load plugins after loggers initialized

* feat(test): add unit test for plugin failure

* feat: redo previously agreed on emission level

---------

Co-authored-by: Dariusz Duda <[email protected]>
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.

3 participants