Skip to content

Conversation

vmcj
Copy link
Member

@vmcj vmcj commented Sep 25, 2025

As the E2E/Crawler is very generic it's hard to pinpoint what page is failing and why. We stored the failing page(s) with GitLab CI but this was lost after the migration.

As the E2E/Crawler is very generic it's hard to pinpoint what
page is failing and why. We stored the failing page(s) with GitLab CI
but this was lost after the migration.
if (getenv('CI')) { // We're running in GHA.
$ciArtifacts = getenv('ARTIFACTS');
if ($ciArtifacts != '') {
$fileHandler = fopen(sprintf("%s/%s", $ciArtifacts, str_replace('/', '_s_', $url)), 'w');
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure if this is a perfect sanitizer, but at first glance it sounds safe?

Copy link
Member Author

Choose a reason for hiding this comment

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

It worked for years and it's only for debugging in CI. In case it breaks we can easily fix it with the new insights.

@vmcj vmcj added this pull request to the merge queue Sep 25, 2025
Merged via the queue into DOMjudge:main with commit ea17d1d Sep 25, 2025
36 checks passed
@vmcj vmcj deleted the crawler_ci_test branch September 25, 2025 18:30
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.

3 participants