Skip to content

Clean up legacy verification code and script v2 flag#5824

Merged
RobertJoonas merged 26 commits intomasterfrom
cleanup-scriptv2-flag
Oct 27, 2025
Merged

Clean up legacy verification code and script v2 flag#5824
RobertJoonas merged 26 commits intomasterfrom
cleanup-scriptv2-flag

Conversation

@RobertJoonas
Copy link
Copy Markdown
Contributor

Changes

Note: reviewing commit by commit highly recommended.

This PR removes a bunch of code related to legacy verification, both JS and Elixir. Also gets rid of :scriptv2 feature flag.

Tests

  • This PR does not require tests

Change-log

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

Otherwise, it can sometimes remain unclear in the diagnostics, whether
it was InstallationV2 or InstallationV2CacheBust that timed out.
The current production logs show two types of verification timeouts:

* service_error: "Unhandled Browserless response status: 408" (vast
  majority of cases)
* service_error: :timeout (only a few cases)

The latter happens when we hit the Req receive_timeout
(endpoint_timeout + 2s). I've seen Browserless not respect the timeout
param from time to time, so it's better to keep the timeout logic
"in-house" only.
...but still consider them "unhandled" for telemetry, also notifying Sentry
and logging the warning.
Also rename current liveview modules and routes, removing the v2 suffix
Also fix dockerignore and elixir.yml referencing a wrong priv path
@apata apata added bug Something isn't working preview and removed bug Something isn't working labels Oct 24, 2025
@github-actions
Copy link
Copy Markdown

Preview environment👷🏼‍♀️🏗️
PR-5824

1 similar comment
@github-actions
Copy link
Copy Markdown

Preview environment👷🏼‍♀️🏗️
PR-5824

Copy link
Copy Markdown
Contributor

@apata apata left a comment

Choose a reason for hiding this comment

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

LGTM! There's a tiny suggestion from my side regarding external sites API tests: #5826

@RobertJoonas
Copy link
Copy Markdown
Contributor Author

LGTM! There's a tiny suggestion from my side regarding external sites API tests: #5826

Thanks, @apata! Merged your suggestion. Also commited a small test description fix and updated with the timeout change in #5822.

Base automatically changed from verification-fixes to master October 27, 2025 09:24
@RobertJoonas RobertJoonas added this pull request to the merge queue Oct 27, 2025
Merged via the queue into master with commit a83b4f3 Oct 27, 2025
21 checks passed
@RobertJoonas RobertJoonas deleted the cleanup-scriptv2-flag branch October 27, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants