You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by ma...@apache.org on 2026/01/15 16:28:09 UTC
(iggy) branch fix-login-with-pat created (now 245d12e98)
This is an automated email from the ASF dual-hosted git repository.
maciej pushed a change to branch fix-login-with-pat
in repository https://gitbox.apache.org/repos/asf/iggy.git
at 245d12e98 fix(rust): fix log in with PAT by publishing missing diagnostic event
This branch includes the following new commits:
new 245d12e98 fix(rust): fix log in with PAT by publishing missing diagnostic event
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iggy) 01/01: fix(rust): fix log in with PAT by publishing missing diagnostic event
Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
maciej pushed a commit to branch fix-login-with-pat
in repository https://gitbox.apache.org/repos/asf/iggy.git
commit 245d12e981cc430f76db8ab4948b3aa4c7e5e24c
Author: Maciej Modzelewski <ma...@modzelewski.dev>
AuthorDate: Thu Jan 15 17:25:38 2026 +0100
fix(rust): fix log in with PAT by publishing missing diagnostic event
---
.../src/client/binary_personal_access_tokens/mod.rs | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/core/binary_protocol/src/client/binary_personal_access_tokens/mod.rs b/core/binary_protocol/src/client/binary_personal_access_tokens/mod.rs
index fffca48db..bb151dde7 100644
--- a/core/binary_protocol/src/client/binary_personal_access_tokens/mod.rs
+++ b/core/binary_protocol/src/client/binary_personal_access_tokens/mod.rs
@@ -1,4 +1,5 @@
-/* Licensed to the Apache Software Foundation (ASF) under one
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
@@ -24,8 +25,8 @@ use iggy_common::delete_personal_access_token::DeletePersonalAccessToken;
use iggy_common::get_personal_access_tokens::GetPersonalAccessTokens;
use iggy_common::login_with_personal_access_token::LoginWithPersonalAccessToken;
use iggy_common::{
- ClientState, IdentityInfo, IggyError, PersonalAccessTokenExpiry, PersonalAccessTokenInfo,
- RawPersonalAccessToken,
+ ClientState, DiagnosticEvent, IdentityInfo, IggyError, PersonalAccessTokenExpiry,
+ PersonalAccessTokenInfo, RawPersonalAccessToken,
};
#[async_trait::async_trait]
@@ -70,6 +71,7 @@ impl<B: BinaryClient> PersonalAccessTokenClient for B {
})
.await?;
self.set_state(ClientState::Authenticated).await;
+ self.publish_event(DiagnosticEvent::SignedIn).await;
mapper::map_identity_info(response)
}
}