Skip to content

feat: [UIE-10256] - IAM: fix useGetChildAccountsQuery#13419

Draft
aaleksee-akamai wants to merge 3 commits intolinode:developfrom
aaleksee-akamai:UIE-10256
Draft

feat: [UIE-10256] - IAM: fix useGetChildAccountsQuery#13419
aaleksee-akamai wants to merge 3 commits intolinode:developfrom
aaleksee-akamai:UIE-10256

Conversation

@aaleksee-akamai
Copy link
Contributor

Description 📝

This PR fixes a stale data for the Account Delegations table

Changes 🔄

List any change(s) relevant to the reviewer.

  • update useGetChildAccountsQuery

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Preview 📷

Before After
<video src="https://github.com/user-attachments/assets/09803644-48a1-41ee-ae0d-079a1c564ddc
" />
Screen.Recording.2026-02-19.at.6.25.18.PM.mov

How to test 🧪

Prerequisites

(How to setup test environment)

  • use parent account

Reproduction steps

(How to reproduce the issue, if applicable)

  • Add delegation for a user in Account Delegations table.
  • Change the username of the user.
  • Go back to Account Delegations table.

Verification steps

(How to verify changes)

  • The table should be updated after new data is received
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

return useQuery({
...delegationQueries.childAccounts({ params, users, filter }),
placeholderData: keepPreviousData,
...queryPresets.shortLived,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is might be a better approach but so far i've found only this one

@aaleksee-akamai aaleksee-akamai self-assigned this Feb 19, 2026
@aaleksee-akamai aaleksee-akamai added the IAM Delegation Implementing the new Parent/Child delegation UI label Feb 19, 2026
@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing867 Passing11 Skipped42m 12s

Details

Failing Tests
SpecTest
account-switching.spec.tsCloud Manager Cypress Tests→Parent/Child account switching→From Parent to Child » can search child accounts

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/parentChild/account-switching.spec.ts"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IAM Delegation Implementing the new Parent/Child delegation UI

Projects

Status: Review

Development

Successfully merging this pull request may close these issues.

2 participants

Comments