Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling for card saves, including WAF rejections #1846

Merged
merged 4 commits into from
Nov 29, 2024

Conversation

lukemelia
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Nov 26, 2024

Host Test Results

    1 files  ±    0      1 suites  ±0   19m 25s ⏱️ - 20m 30s
686 tests +    1  685 ✔️ +    2  1 💤 ±0  0 ±0 
691 runs   - 689  690 ✔️  - 686  1 💤  - 1  0  - 1 

Results for commit eea968f. ± Comparison against base commit 8bfb625.

♻️ This comment has been updated with latest results.

@lukemelia lukemelia force-pushed the cs-7576-show-error-when-save-request-blocked-by-waf branch from 2c205d9 to 0de7b6f Compare November 27, 2024 03:45
@lukemelia lukemelia marked this pull request as ready for review November 27, 2024 03:45
@lukemelia lukemelia changed the title WIP error handling for card saves Error handling for card saves, including WAF rejections Nov 27, 2024
@lukemelia lukemelia requested a review from a team November 27, 2024 03:45
Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

I really wanted to exercise this in a deployed environment, or even locally, but I haven’t been able to 😖 I’m approving because at least there’s a passing test, I’d really like to see it in action though.

@@ -579,6 +583,60 @@ module('Integration | operator-mode', function (hooks) {
assert.dom('[data-test-pet]').includesText('Paper Bad cat!');
});

test('a 403 from Web Appliction Firewall is handled gracefully when auto-saving', async function (assert) {
// TODO: setup virtual network to return WAF 403 when saving
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this tracked somewhere? I couldn’t find an issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops. #1859

@lukemelia lukemelia merged commit 22ab9f4 into main Nov 29, 2024
32 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