-
Notifications
You must be signed in to change notification settings - Fork 71
toil(front): update alpine image to 3.22.2 #692
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
Conversation
6cb1d58 to
beb84e8
Compare
|
@codex review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
3427c62 to
ececac4
Compare
70ef81a to
f015a8a
Compare
|
Code looks good, but please ask the agent to add the details about using the new |
39ff3ec to
8af8f5c
Compare
|
@codex review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| defmacro browser_test(message, context \\ quote(do: _), contents) do | ||
| context = Macro.escape(context) | ||
| contents = Macro.escape(contents, unquote: true) | ||
|
|
||
| quote bind_quoted: [context: context, contents: contents, message: message] do | ||
| name = ExUnit.Case.register_test(__MODULE__, __ENV__.file, __ENV__.line, :test, message, []) | ||
|
|
||
| def unquote(name)(unquote(context)) do | ||
| unquote(contents) | ||
| rescue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure browser_test executes the supplied block
The new browser_test/3 macro stores the block in contents but never unwraps the do: value. When the macro is expanded, contents is a keyword list ([do: ...]) and the generated test function body is simply that list, so the code inside the do block is never executed. All browser specs defined with browser_test will therefore pass without running any assertions or interactions. Extract the actual block (contents[:do]) or pattern match do: contents so the macro executes the user-provided code.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By using the unquote: true option in Macro.escape/2, we ensure that the passed block actually executes.
📝 Description
Bumped the CI image to Alpine 3.20+, updated wallaby to comply with the new ChromeDriver version
Hardened our Wallaby helpers to handle DOM refreshes/retries, then applied them across the suite (flash assertions, modal submits, Okta setup, artifacts policies, etc.) so the worst flakes are gone
Stabilized the stubborn cases (self‑hosted agents page, artifacts retention editor, Okta integration flows) by waiting on the right UI hooks instead of the old modal DOM
✅ Checklist