manager icon indicating copy to clipboard operation
manager copied to clipboard

feat: [UIE-9685] - Proactive IAM e2e gating

Open abailly-akamai opened this issue 1 month ago β€’ 6 comments

Description πŸ“

This PR adds IAM flag mocking in preparation for the iam_beta customer tag to be added to the test accounts.

When it fist happened (and since was rolled back), we noticed a wide array of failures related to the handling of the permission endpoints:

https://baker.linode.com/blue/organizations/jenkins/manager%2Fmanager-test/detail/PR-13105/4/tests

While this will have to be handled properly post beta, we want to prevent failures for every run, then progressively fix the tests.

@jdamore-linode - is there a way we can get this particular PR to run with the newly test account that was taken out of rotation? I want to see if I missed anything.

Changes πŸ”„

  • mock iam: enabled as false in failing tests

Scope 🚒

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

  • [ ] All customers
  • [ ] Some customers (e.g. in Beta or Limited Availability)
  • [x] No customers / Not applicable
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

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

As an Author, before moving this PR from Draft to Open, I confirmed βœ…

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

abailly-akamai avatar Nov 20 '25 16:11 abailly-akamai

@jdamore-linode could you give this some attention when you have a minute? I'd like to avoid a ton of failures once the IAM customer tags get rolled out again. Ideally I'd want to run this PR against a test account with the tag. thx!

abailly-akamai avatar Nov 25 '25 09:11 abailly-akamai

@jdamore-linode could you give this some attention when you have a minute? I'd like to avoid a ton of failures once the IAM customer tags get rolled out again. Ideally I'd want to run this PR against a test account with the tag. thx!

@abailly-akamai just kicked off a run against the account with IAM πŸ‘

jdamore-linode avatar Nov 25 '25 13:11 jdamore-linode

Better than I expected! If I have time this afternoon I'll take a stab at some of these

jdamore-linode avatar Nov 25 '25 15:11 jdamore-linode

@jdamore-linode thx! i did another pass but will need your help with the remaining since they seem to be passing locally with my account

abailly-akamai avatar Nov 26 '25 12:11 abailly-akamai

@abailly-akamai planning to look at these last few and ideally push fixes this afternoon

jdamore-linode avatar Dec 10 '25 15:12 jdamore-linode

Cloud Manager UI test results

:small_red_triangle: 1 failing test on test run #18 β†—οΈŽ

:x: Failing:white_check_mark: Passing:arrow_right_hook: Skipped:clock1: Duration
1 Failing830 Passing11 Skipped42m 11s

Details

Failing Tests
SpecTest
:x:attach-volume.spec.tsCloud Manager Cypress Tests→volume attach and detach flows » attaches a volume to a Linode

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/volumes/attach-volume.spec.ts"

linode-gh-bot avatar Dec 15 '25 13:12 linode-gh-bot

@jdamore-linode just FYI the latest run was done with e2e-pat-prod-2

it is the plan to add 10k users tomorrow to the pool - unsure if we're at a good place with this PR at this point

abailly-akamai avatar Dec 15 '25 14:12 abailly-akamai

@abailly-akamai, nice! I think in that case we're ready to merge whenever you are πŸ‘ not totally sure what happened with that Volume Attach test: at a glance it looks like the attach succeeded as expected but the toast didn't appear.

jdamore-linode avatar Dec 15 '25 19:12 jdamore-linode