Peter Steinbergerfeat: expand logging3dc23829 months agoHistory
17 lines · 596 B · Swift
RawDownload
import CodexBarCore @MainActorextension StatusItemController {    func runCodexLoginFlow() async {        let result = await CodexLoginRunner.run(timeout: 120)        guard !Task.isCancelled else { return }        self.loginPhase = .idle        self.presentCodexLoginResult(result)        let outcome = self.describe(result.outcome)        let length = result.output.count        self.loginLogger.info("Codex login", metadata: ["outcome": outcome, "length": "\(length)"])        if case .success = result.outcome {            self.postLoginNotification(for: .codex)        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t