Skip to content

Conversation

@augustoccesar
Copy link
Member

@augustoccesar augustoccesar commented Apr 8, 2025

Fixes:

  • (6d6b846) Change health check order. Since the check for installation is based on resolvers files existing, not on a binary existing (for example), theoretically it can be actually running even though there are no resolvers. So this will show and be managed (stop) correctly in case that is true.
  • (e3317cf) Only start Local DNS if local-dns is installed.

Related to SHIP-2057

Since the check for installation is based on resolvers existing, not on a binary existing, theoretically it can be running
even though there are no resolvers. So this will show correctly in case that is true.
@augustoccesar augustoccesar requested a review from Copilot April 8, 2025 07:36
@augustoccesar augustoccesar self-assigned this Apr 8, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

linkup-cli/src/services/local_dns_server.rs:73

  • [nitpick] Consider expanding the notification message 'Not installed' to include contextual details (e.g. expected installation indicators) to help with debugging in cases where the service is skipped.
if !local_dns::is_installed(&domains) {

@augustoccesar augustoccesar requested review from a team and ostenbom April 8, 2025 07:37
@augustoccesar augustoccesar marked this pull request as ready for review April 8, 2025 07:37
@augustoccesar augustoccesar merged commit d0d06c2 into next Apr 8, 2025
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/dns-server-fixes branch April 8, 2025 08:05
augustoccesar added a commit that referenced this pull request Apr 9, 2025
This will be merged to release `3.0.0`.

Closes SHIP-2057

### Changelog:
- Drop Caddy as a dependency and use self-signed certificates.
  - #201
  - #207
  - #212 
  - #215 
  - #217 
- Drop dnsmasq as a dependency and use a local Hickory server.
  - #219
  - #224
- Support pre-release (beta) versions based on changes to `next` branch.
  - #204
  - #205
  - #211 
  - #213 
  - #214 
  - #221
- Use anyhow for application errors instead of "global" thiserror enum.
  - #218 
- Stop relying on pidfiles for background services
  - #222 
- Move installation script from Bash to Python
  - #223 
  - #226
- Improve possible orphans resolution
  - #225  

Thank you @diegomartinrecillas @ludwigbacklund @solveigsg12 and
@jauniusmentimeter for beta testing it! ❤️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants