Detect host IP #33

Merged
antman merged 4 commits from detect-host-IP into main 2026-09-30 05:12:54 +00:00
Owner

Motivation

Changing the IP of the runner broke the tests recently. That's a silly dependency to have hard coded, So we want to update the tests to automatically detect the host machine's IP

Solution

Use Deno built-in function Deno.networkInterfaces() to get the first physical NIC. Wouldn't work with bridge devices like we have on the prototype but that's okay I think

### Motivation Changing the IP of the runner broke the tests recently. That's a silly dependency to have hard coded, So we want to update the tests to automatically detect the host machine's IP ### Solution Use Deno built-in function Deno.networkInterfaces() to get the first physical NIC. Wouldn't work with bridge devices like we have on the prototype but that's okay I think
try get my pe
Some checks failed
/ test-and-lint (push) Has been cancelled
706790dd0a
get hostIp
Some checks failed
/ test-and-lint (push) Has been cancelled
abbceaf95e
fix bug (badly)
All checks were successful
/ test-and-lint (push) Successful in 3m14s
d1ffd78ce3
cleanup
All checks were successful
/ test-and-lint (push) Successful in 3m9s
acc8e72d78
antman merged commit 2b7d7f4e97 into main 2026-09-30 05:12:54 +00:00
antman deleted branch detect-host-IP 2026-09-30 05:12:55 +00:00
antman referenced this pull request from a commit 2026-09-30 05:12:57 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/server-manager!33
No description provided.