Add pre-configured restart with Info/Restart gRPC methods and CLI flags#41
Merged
Add pre-configured restart with Info/Restart gRPC methods and CLI flags#41
Conversation
- Extended workload.proto with Info and Restart methods - Added ServiceInfo message with enabled, type, and name fields - Updated service to support restart configuration via CLI flags (RESTART_ENABLED, RESTART_TYPE, RESTART_NAME) - Implemented Info and Restart gRPC methods in workload service - Updated Helm chart with service.restart configuration - Added CLI commands: info and restart - Updated UI to show simplified restart button based on service configuration - Regenerated all proto files Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
- Extract magic timeout value to constant in UI service - Improve comment clarity about namespace usage in workload service - Add validation for restart enabled in UI handleRestart method Co-authored-by: dkrizic <1181349+dkrizic@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Extend restart feature with environment variables
Add pre-configured restart with Info/Restart gRPC methods and CLI flags
Jan 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables restart feature to be pre-configured at deployment time rather than requiring runtime parameters. Service configuration is now queryable via gRPC, simplifying UI/CLI interaction.
gRPC API
Info()- Returns restart configuration (enabled, type, name)Restart()- Executes restart using pre-configured valuesService
--restart-enabled,--restart-type,--restart-nameRESTART_ENABLED,RESTART_TYPE,RESTART_NAMEWorkloadServicestores configuration at initializationHelm Chart
CLI
feature-cli info- Display restart configurationfeature-cli restart- Execute configured restartUI
Info()on startupRestart()with zero argumentsWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https /usr/lib/apt/methods/https(dns block)invalid/tmp/go-build295058399/b433/get.test /tmp/go-build295058399/b433/get.test -test.testlogfile=/tmp/go-build295058399/b433/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -c=4 -nolocalimports -importcfg /tmp/go-build1477414030/b785/importcfg -pack /home/REDACTED/work/feature/feature/service/service/feature/feature.go /home/REDACTED/work/feature/feature/service/service/feature/feature_test.go 2108�� g_.a lient-go@v0.35.0-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet experiment/json//home/REDACTED/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.6.linux-amd64/pkg/too-v /gofeaturespb mpile ux-amd64/pkg/too-trimpath(dns block)/tmp/go-build295058399/b430/delete.test /tmp/go-build295058399/b430/delete.test -test.testlogfile=/tmp/go-build295058399/b430/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true -c=4 -nolocalimports -importcfg /tmp/go-build1477414030/b786/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/stretchr/testify@v1.11.1/assert/assertion_compare.go /home/REDACTED/go/pkg/mod/github.com/stretchr/testify@v1.11.1/assert/assertion_format.go 2108�� g_.a lient-go@v0.35.0-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet --gdwarf-5 nal/editionssupp-o mpile ux-amd64/pkg/too-trimpath(dns block)/tmp/go-build295058399/b436/getall.test /tmp/go-build295058399/b436/getall.test -test.testlogfile=/tmp/go-build295058399/b436/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true uf@v1.36.11/refl-errorsas uf@v1.36.11/refl-ifaceassert ux-amd64/pkg/tool/linux_amd64/vet . ions/batch/v1bet-atomic --64 ux-amd64/pkg/too-buildtags 2108�� ypuB4blBS -I ux-amd64/pkg/tool/linux_amd64/vet --gdwarf-5 v2 mpile ux-amd64/pkg/too-buildtags(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.