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

pd: β™Ž move node entrypoint into library #3696

Closed
wants to merge 3 commits into from

Conversation

cratelyn
Copy link
Contributor

fixes #3695.

🚧 TODO: write description

this moves our structured logging setup code into the `pd` library.

someday, we will be able to extend this with:
- https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/struct.Layer.html#method.with_test_writer
- https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/struct.SubscriberBuilder.html#method.try_init

...to be able to improve the traces that we get back from `#[test]`
functions.
fixes #3695.

this moves the startup code into a place where we'll be able to exercise
it in tests someday. no changes are made to the contents of this
expression.
@cratelyn cratelyn added A-node Area: System design and implementation for node software C-enhancement Category: an enhancement to the codebase labels Jan 29, 2024
@cratelyn cratelyn self-assigned this Jan 29, 2024
@cratelyn
Copy link
Contributor Author

this work was based on #3679, which caused a regression. see #3697. that PR was reverted, so i am going to close this rather than address conflicts here.

@cratelyn cratelyn closed this Jan 30, 2024
@cratelyn cratelyn deleted the katie/pd-entrypoint-in-lib.3695 branch January 30, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-node Area: System design and implementation for node software C-enhancement Category: an enhancement to the codebase
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

pd: 🐣 move entrypoint logic into app library
1 participant