Skip to content

Conversation

@vdbergh
Copy link
Contributor

@vdbergh vdbergh commented Jan 15, 2026

Also delete the (commented out) arch "x86-64-modern" from util.supported_arches since it is not a true arch but an alias.

Also delete the (commented out) arch "x86-64-modern" from
util.supported_arches since it is not a true arch but an alias.
@ppigazzini ppigazzini added enhancement server server side changes labels Jan 15, 2026
Copy link
Collaborator

@ppigazzini ppigazzini left a comment

Choose a reason for hiding this comment

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

Looks good patching the worker, PROD update after merging, thank you @vdbergh

diff --git a/worker/worker.py b/worker/worker.py
index 207acc80..2f0e008d 100644
--- a/worker/worker.py
+++ b/worker/worker.py
@@ -1192,6 +1192,7 @@ def get_worker_arch(worker_dir):
         arch = "unknown"
     finally:
         os.chdir(working_dir)
+    arch="unknown"
     return arch
diff --git a/worker/worker.py b/worker/worker.py
index 207acc80..2f0e008d 100644
--- a/worker/worker.py
+++ b/worker/worker.py
@@ -1192,6 +1192,7 @@ def get_worker_arch(worker_dir):
         arch = "unknown"
     finally:
         os.chdir(working_dir)
+    arch="AAAAAA"
     return arch

@ppigazzini ppigazzini merged commit 0a13435 into official-stockfish:master Jan 15, 2026
21 checks passed
@vondele
Copy link
Member

vondele commented Jan 15, 2026

was wondering if an 'unknown' arch worker joining could be logged to events?

@ppigazzini
Copy link
Collaborator

ppigazzini commented Jan 15, 2026

In the next days I will open a SF PR to merge the improved script that deals with all the possible ARCHs of Makefile.
An all-new CPU arch "blablabla", with gcc/clang support, will build SF as "general-32" or "general-64"
unknown will be still helpful to highlight a bug in the script.

@vdbergh
Copy link
Contributor Author

vdbergh commented Jan 15, 2026

was wondering if an 'unknown' arch worker joining could be logged to events?

It can be done since there is a /api/worker_log end point (which is currently used when book validation fails) which creates a log event on the server.

Up to now I have kept to the convention that log events should only be created for internal errors in fishtest (other strange conditions can be logged to the server log). So only script failures should be logged. Not network errors. Hence this requires a bit of thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement server server side changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants