Skip to content

chore: Update for 2026-Mar#124

Merged
jrconlin merged 9 commits intomasterfrom
chore/PUSH-681_updates-2603
May 6, 2026
Merged

chore: Update for 2026-Mar#124
jrconlin merged 9 commits intomasterfrom
chore/PUSH-681_updates-2603

Conversation

@jrconlin
Copy link
Copy Markdown
Member

Description

chore: Update for 2026-Mar

Testing

How should reviewers test?

Issue(s)

Issue: PUSH-681

jrconlin and others added 6 commits December 31, 2025 10:52
* Fixes for latest MaxMind crate
* New `fmt` fixes and markdown normalization
* Remove hard coded timeouts

Closes: PUSH-594
@jrconlin jrconlin requested review from a team, gruberb and kschelonka April 10, 2026 16:02
@jrconlin jrconlin requested a review from a team May 6, 2026 14:30
Comment thread src/server.rs Outdated

fn handle(&mut self, msg: Connect, _ctx: &mut Context<Self>) -> Self::Result {
let session_id = self.rng.random::<u64>() as usize;
let session_id = self.rng.try_next_u64().unwrap() as usize;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why switches to the fallible version? Is unwrap desirable inside of a handler?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I was getting a clippy error off of calling random::<u64>, but apparently that's no longer a problem? Switching to RngExt which has the .random() call seems to fix that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Cool! I was also able to revert the TryRng in channelid.rs

@jrconlin jrconlin requested a review from ncloudioj May 6, 2026 15:12
@jrconlin jrconlin merged commit 1ad281f into master May 6, 2026
3 checks passed
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