Skip to content

fix: Terminal 원격 명령 실패 사유 표시, 로그인 후 추가된 project 목록 갱신 - #107

Merged
MZC-CSC merged 6 commits into
m-cmp:mainfrom
MZC-CSC:develop
Oct 6, 2026
Merged

MZC-CSC merged 6 commits into
m-cmp:mainfrom
MZC-CSC:develop

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Oct 6, 2026

Copy link
Copy Markdown
Member

Summary

  1. Node Terminal: when a remote command fails, the failure reason is shown instead of (No output).
  2. Top Project selector: projects added after login no longer disappear after navigating to another page, and the refresh button reloads the workspace/project list.
  3. mc-iam-manager v0.6.4: conf/api.yaml now records mc-iam-manager version 0.6.4.

1. Remote command failure reason in the Node Terminal

Before: PostCmdInfra returns the failure reason in error (a string), but the terminal only checked err. A failed command was shown as STDOUT RESPONSE: (No output).

After: the terminal reads error first and still accepts the older err object. Empty strings and empty objects are treated as no error.

2. Projects added after login disappeared from the top Project selector

Before:

  • On page load, the project list is read from the session cache (projectList_<workspaceId>) filled at login.
  • The refresh button did not query again when a cache already existed.
  • The project list fetched when a workspace was selected was not written back to the cache.

As a result, a project created or mapped after login appeared once and was gone after moving to another page.

After:

  • The refresh button ignores the cache, queries listUserWorkspaces again and updates the cache. If the request fails, the existing cache is kept.
  • The project list fetched on workspace selection is also written to the cache.
  • Page loads still read only the cache, so no extra API calls are made.

3. mc-iam-manager v0.6.4

  • conf/api.yaml: mc-iam-manager version 0.6.3 → 0.6.4, following the mc-iam-manager v0.6.4 release. This value is registry metadata; there is no behavior change.

yh-noh and others added 6 commits October 6, 2026 11:24
PostCmdInfra 응답의 실패 사유는 error(문자열) 필드로 오는데 err 필드만 확인하고 있어
bastion 미선정 등 실패가 빈 stdout으로 처리되었다. error를 우선 확인하고
이전 응답 형태인 err(객체)도 계속 처리한다.
fix: Terminal에서 원격 명령 실패 사유가 표시 보완
페이지 로드 시 project 목록은 로그인 때 저장한 세션 캐시만 읽는데, refresh 버튼은
캐시가 있으면 다시 조회하지 않았고 workspace 선택 시 실시간 조회한 목록도 캐시에
반영하지 않았다. refresh 버튼은 캐시를 무시하고 다시 조회해 갱신하고(실패 시 기존
캐시 유지), workspace 선택 시 조회한 project 목록을 캐시에도 기록한다.
fix: workspace 목록 refresh 기능 보완
chore: api.yaml의 mc-iam-manager 버전을 0.6.4로 갱신
@MZC-CSC
MZC-CSC merged commit f40a6b5 into m-cmp:main Oct 6, 2026
4 checks passed
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