posit-dev / publisher

MIT License
3 stars 0 forks source link

Make getting R package information a separate log phase #1857

Closed mmarchetti closed 1 week ago

mmarchetti commented 1 week ago

Intent

This PR puts the events from getRPackages into their own log phase. Currently, they appear as agent/log events. This adds a new phase to the logs view.

Fixes #1593

Type of Change

Approach

Create a new log/event operation. Inject a logger into the code that gets the R package descriptions so that all log messages will have the correct operation.

Automated Tests

Existing tests have been updated.

Directions for Reviewers

Deploy R content. See the new phase in the Posit Publisher Logs view.