Fix rad app list to filter by workspace default environment#7
Draft
Fix rad app list to filter by workspace default environment#7
rad app list to filter by workspace default environment#7Conversation
…ent error handling Co-authored-by: nicolejms <101607760+nicolejms@users.noreply.github.com>
Co-authored-by: nicolejms <101607760+nicolejms@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bug in issue investigation workflow
Support error property in ARM-JSON deployment outputs
Feb 18, 2026
Co-authored-by: nicolejms <101607760+nicolejms@users.noreply.github.com>
Copilot
AI
changed the title
Support error property in ARM-JSON deployment outputs
Fix Feb 18, 2026
rad app list to filter by workspace default environment
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.
Description
rad app listdocumentation claimed it lists applications "in the resource group associated with the default environment" but ignored the workspace'sEnvironmentfield entirely, returning all applications in the resource group.Changes
Core fix (
pkg/cli/cmd/app/list/list.go):workspace.EnvironmentinRun()methodfilterApplicationsByEnvironment()to compareapp.Properties.Environmentagainst workspace settingmatchesEnvironment()with flexible matching:.../environments/dev)workspace.Environmentis emptyTests (
pkg/cli/cmd/app/list/list_test.go):Test_filterApplicationsByEnvironment()- filtering scenarios including nil propertiesTest_matchesEnvironment()- ID/name matching logicTest_Run_WithEnvironmentFiltering()- end-to-end with environment setExample
Type of change
Contributor checklist
Please verify that the PR meets the following requirements, where applicable:
Warning
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:
https://api.github.com/graphql/usr/bin/gh gh issue view 11217 --json title,body,labels,comments,author,createdAt,state(http block)https://api.github.com/repos/radius-project/radius/issues/11217/usr/bin/curl curl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 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.