Skip to content

feat(tui): Complete ResourceBehaviour tier for network - #1901

Merged
gtema merged 1 commit into
mainfrom
tui-track2-network-complete
Jul 30, 2026
Merged

feat(tui): Complete ResourceBehaviour tier for network#1901
gtema merged 1 commit into
mainfrom
tui-track2-network-complete

Conversation

@gtema

@gtema gtema commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Finish migrating network.network and network.router to forward
mechanical ResourceBehaviour methods to their generated companion
modules, and drop subnet.rs's now-unused direct imports flagged by
clippy as dead code.

network.network/router had no filter_type/filter_action_name in
codegenerator metadata, so Track 1 never wired their Set*ListFilters
action variant and Track 2 skipped generating them. Added the
metadata (codegenerator side), regenerated, and migrated both hand
files.

routers.rs had no handle_set_filter_action forward at all, silently
relying on the trait's None default -- same latent no-op bug found
earlier in security_groups.rs. Fixed as part of the migration, with
tests.

Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

Finish migrating network.network and network.router to forward
mechanical ResourceBehaviour methods to their generated companion
modules, and drop subnet.rs's now-unused direct imports flagged by
clippy as dead code.

network.network/router had no filter_type/filter_action_name in
codegenerator metadata, so Track 1 never wired their Set*ListFilters
action variant and Track 2 skipped generating them. Added the
metadata (codegenerator side), regenerated, and migrated both hand
files.

routers.rs had no handle_set_filter_action forward at all, silently
relying on the trait's None default -- same latent no-op bug found
earlier in security_groups.rs. Fixed as part of the migration, with
tests.

Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
request,
ApiRequest::Network(NetworkApiRequest::Subnet(boxreq))
if matches!(*boxreq, NetworkSubnetApiRequest::List(_))
ApiRequest::Network(cloud_types::NetworkApiRequest::Subnet(boxreq))
@gtema
gtema merged commit c1af5c8 into main Jul 30, 2026
18 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Jul 30, 2026
@gtema
gtema deleted the tui-track2-network-complete branch August 5, 2026 11:25
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.

2 participants