Skip to content

Comments

feat: add debug and trace logging to the webserver proxy#466

Merged
hansl merged 2 commits intomasterfrom
hansl/verbose-webserver
Mar 18, 2020
Merged

feat: add debug and trace logging to the webserver proxy#466
hansl merged 2 commits intomasterfrom
hansl/verbose-webserver

Conversation

@hansl
Copy link
Contributor

@hansl hansl commented Mar 18, 2020

Merge base is #465 so that PR should be reviewed first.

@hansl hansl requested a review from a team as a code owner March 18, 2020 16:22
.send_stream(payload)
let logger = data.logger.clone();

// TODO(hansl): move this all to async/await. Jeez....
Copy link

Choose a reason for hiding this comment

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

Thanks to Google, I prefer filing an issue to TODOs. I don't know how it was on your team, but on ours, they would stay in there until the entire code became obsolete and got deleted. Recording it on buganizer meant you either got extra credit for doing the thing, or the issue magically and quietly disappeared on the next declaration of bug bankruptcy. Win-win!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have a tab in my IDE that shows TODOs. And we had talks and work into making a TODO bot that just adds GitHub issues based on TODOs.

Both systems have pros and cons. I've seen many P2-4 just get ignored and closed after 2 months due to inactivity. And a refactor TODO like this one would definitely not be P0-1 ;)

When G+ launched we even had "G0-4" priorities which were basically grouping priorities for projects (so a G0/P4 could potentially be more important than a G1/P0 which was weird). In the end the concept was trashed because everyone thought their jobs were G0... :/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hansl hansl merged commit 3dfb9d6 into master Mar 18, 2020
@hansl hansl deleted the hansl/verbose-webserver branch April 27, 2020 19:03
dfinity-bot added a commit that referenced this pull request Nov 2, 2020
## Changelog for advisory-db:
Branch: master
Commits: [rustsec/advisory-db@a0e59ff2...65b9aa70](rustsec/advisory-db@a0e59ff...65b9aa7)

* [`0da539a2`](rustsec/advisory-db@0da539a) Add unmaintained crate advisory for `safe-nd` ([RustSec/advisory-db⁠#467](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/467))
* [`51fd5e3c`](rustsec/advisory-db@51fd5e3) Assigned RUSTSEC-2020-0063 to safe-nd ([RustSec/advisory-db⁠#469](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/469))
* [`3adba0fc`](rustsec/advisory-db@3adba0f) Add unmaintained crate advisory for `ffi_utils` ([RustSec/advisory-db⁠#464](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/464))
* [`74c2e86f`](rustsec/advisory-db@74c2e86) Assigned RUSTSEC-2020-0064 to ffi_utils ([RustSec/advisory-db⁠#470](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/470))
* [`a949bd46`](rustsec/advisory-db@a949bd4) Add unmaintained crate advisory for `fake_clock` ([RustSec/advisory-db⁠#465](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/465))
* [`00a4c19a`](rustsec/advisory-db@00a4c19) Assigned RUSTSEC-2020-0065 to fake_clock ([RustSec/advisory-db⁠#471](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/471))
* [`3761ab58`](rustsec/advisory-db@3761ab5) Add unmaintained crate advisory for `safe_bindgen` ([RustSec/advisory-db⁠#466](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/466))
* [`d5cf9d76`](rustsec/advisory-db@d5cf9d7) Assigned RUSTSEC-2020-0066 to safe_bindgen ([RustSec/advisory-db⁠#472](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/472))
* [`9757ff20`](rustsec/advisory-db@9757ff2) Add unmaintained crate advisory for `quic-p2p` ([RustSec/advisory-db⁠#468](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/468))
* [`65b9aa70`](rustsec/advisory-db@65b9aa7) Assigned RUSTSEC-2020-0067 to quic-p2p ([RustSec/advisory-db⁠#473](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/473))
mergify bot pushed a commit that referenced this pull request Nov 2, 2020
## Changelog for advisory-db:
Branch: master
Commits: [rustsec/advisory-db@a0e59ff2...65b9aa70](rustsec/advisory-db@a0e59ff...65b9aa7)

* [`0da539a2`](rustsec/advisory-db@0da539a) Add unmaintained crate advisory for `safe-nd` ([RustSec/advisory-db⁠#467](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/467))
* [`51fd5e3c`](rustsec/advisory-db@51fd5e3) Assigned RUSTSEC-2020-0063 to safe-nd ([RustSec/advisory-db⁠#469](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/469))
* [`3adba0fc`](rustsec/advisory-db@3adba0f) Add unmaintained crate advisory for `ffi_utils` ([RustSec/advisory-db⁠#464](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/464))
* [`74c2e86f`](rustsec/advisory-db@74c2e86) Assigned RUSTSEC-2020-0064 to ffi_utils ([RustSec/advisory-db⁠#470](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/470))
* [`a949bd46`](rustsec/advisory-db@a949bd4) Add unmaintained crate advisory for `fake_clock` ([RustSec/advisory-db⁠#465](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/465))
* [`00a4c19a`](rustsec/advisory-db@00a4c19) Assigned RUSTSEC-2020-0065 to fake_clock ([RustSec/advisory-db⁠#471](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/471))
* [`3761ab58`](rustsec/advisory-db@3761ab5) Add unmaintained crate advisory for `safe_bindgen` ([RustSec/advisory-db⁠#466](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/466))
* [`d5cf9d76`](rustsec/advisory-db@d5cf9d7) Assigned RUSTSEC-2020-0066 to safe_bindgen ([RustSec/advisory-db⁠#472](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/472))
* [`9757ff20`](rustsec/advisory-db@9757ff2) Add unmaintained crate advisory for `quic-p2p` ([RustSec/advisory-db⁠#468](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/468))
* [`65b9aa70`](rustsec/advisory-db@65b9aa7) Assigned RUSTSEC-2020-0067 to quic-p2p ([RustSec/advisory-db⁠#473](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/473))
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.

2 participants