johnride
  • Joined on 2024-02-06
johnride pushed to master at NationTech/harmony 2026-04-07 16:00:51 +00:00
39ab56f6fc chore: Bump dockerfile rust version to 1.94
johnride released Latest Snapshot at NationTech/harmony 2026-04-07 15:25:37 +00:00
johnride pushed to master at NationTech/harmony 2026-04-07 15:04:56 +00:00
fdee5cf420 chore: Bump dockerfile rust version to 1.94
johnride released Latest Snapshot at NationTech/harmony 2026-04-07 14:55:20 +00:00
johnride pushed to master at NationTech/harmony 2026-04-07 14:36:37 +00:00
903c69038a chore: Bump dockerfile rust version to 1.94
johnride created pull request NationTech/harmony#257 2026-04-07 14:26:36 +00:00
feat/opnsense-codegen-type-safe
johnride pushed to feat/opnsense-codegen-type-safe at NationTech/harmony 2026-04-07 14:06:55 +00:00
b18974ba6c chore: run clippy and format on network_stress_test crate
f43620cff8 fix: eliminate shell injection vector in WebGuiConfigScore, fix unused var
3fe50c8063 fix: add settle time after firmware update reboot
ff47719f21 fix: use correct port after firmware update, set VM to 3 vCPU / 2GB
02cb709888 chore: cargo fmt on wait_for_https port fallback
Compare 15 commits »
johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:25 +00:00
feat/opnsense-codegen

Many significant improvements worth doing, overall great progress and most stuff works nicely. At the moement this is a lot of new modules that are separated, share a common "style" but lack the magic binding them all together. Some are pretty high level like the HA OPNSense KVM demo tying most of the new stuff together but then the openbao / zitadel modules are not integrated with the rest yet.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:24 +00:00
feat/opnsense-codegen

This should not panic, just return a clear error. This will require some refactoring of this module.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:23 +00:00
feat/opnsense-codegen

Should not be a no-op default impl here.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:23 +00:00
feat/opnsense-codegen

This is weak, we should compare both and warn or error if any mismatch

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:22 +00:00
feat/opnsense-codegen

This should be a score that leverages the phased topology approach : LinuxHostTopology -> KvmHostTopology

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:21 +00:00
feat/opnsense-codegen

Same here, is there an api or a crate to do that?

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:20 +00:00
feat/opnsense-codegen

This feels a bit fragile, but I'm not very familiar with openbao. Is there an api we can call using the root token to provision the first user? Is there a rust crate for vault/openbao that would allow doing this type-safely?

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:19 +00:00
feat/opnsense-codegen

Here this is a practical but very naive way to do that. We should be using harmony_config/secret but we have a chicken-and-egg problem where we want to use openbao as the secret store but it needs to be initialized first.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:18 +00:00
feat/opnsense-codegen

We should have a clean module to handle directories, not hardcode harmony everywhere.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:18 +00:00
feat/opnsense-codegen

Almost every time we ran this there was a longer delay than the default wait-for timeout (30 or 45 minutes iirc). We should take that into account.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:17 +00:00
feat/opnsense-codegen

This is a bit too opinionated at this level, we should let the score caller decide if he wants to expose them publicly.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:16 +00:00
feat/opnsense-codegen

Ideally this would be a specific type for KvmHost with the relevant validation logic and a macro to make it easy to hardcode it type-safely.

johnride commented on pull request NationTech/harmony#256 2026-04-06 16:42:15 +00:00
feat/opnsense-codegen

We have better types for mac address in harmony_types