Skip to content

Add time span info to set_*_host() messages - #799

Merged
maciekbanas merged 5 commits into
masterfrom
mb/798-add-time-span-to-set-host
May 4, 2026
Merged

Add time span info to set_*_host() messages#799
maciekbanas merged 5 commits into
masterfrom
mb/798-add-time-span-to-set-host

Conversation

@maciekbanas

Copy link
Copy Markdown
Member

Description

Print elapsed time after setting GitHub/GitLab hosts (e.g. ℹ Set up in 1.2 secs.), matching the pattern already used by all get_*() functions. The message respects the verbose flag and is not emitted when the host setup errors out.

Related Issue(s)

Fixes #798

How to test

  1. Run set_github_host() or set_gitlab_host() with verbose = TRUE and verify the elapsed time message appears after ✔ Set connection to GitHub/GitLab.
  2. Run with verbose = FALSE and verify no time message is printed.
  3. Trigger an error case (e.g. invalid org) and verify no time message is printed.

maciekbanas and others added 3 commits April 29, 2026 11:36
Print elapsed time after setting GitHub/GitLab hosts, matching
the pattern used by get_*() functions.

Co-authored-by: Ona <no-reply@ona.com>
@maciekbanas maciekbanas self-assigned this May 4, 2026
@maciekbanas
maciekbanas marked this pull request as ready for review May 4, 2026 07:39
@maciekbanas
maciekbanas requested a review from marcinkowskak May 4, 2026 07:43
maciekbanas and others added 2 commits May 4, 2026 08:39
…_*_host, therefore snapshot tests are not a good choice here.
Co-authored-by: Ona <no-reply@ona.com>
@maciekbanas
maciekbanas merged commit f0a4c93 into master May 4, 2026
9 of 10 checks passed
@maciekbanas
maciekbanas deleted the mb/798-add-time-span-to-set-host branch May 4, 2026 09:24
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.

Add info on time span to setting hosts

2 participants