Commit Graph
94 Commits
Author SHA1 Message Date
maliakal_d b4bbce0acc Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3
Build on RHEL8 docker image / build (push) Successful in 5m16s
Build on RHEL9 docker image / build (push) Successful in 5m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-09-02 13:26:15 +02:00
maliakal_d 315c0f37dd typo
Build on RHEL8 docker image / build (push) Successful in 5m17s
Build on RHEL9 docker image / build (push) Successful in 5m44s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m33s
2026-09-02 13:17:22 +02:00
maliakal_d 828aeb7a5d Merge branch 'developer' into dev/pr_automation_3 2026-09-02 13:14:35 +02:00
maliakal_d 2a5672a138 Dev/pr automation part 2 (#1542)
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build on RHEL9 docker image / build (push) Successful in 4m27s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Build on RHEL8 docker image / build (push) Successful in 5m13s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m32s
* workflow for detector whole word matching from changes in detectorServer folders, matching in pr title description, linked or references issues and prs, change in code with matching labels, add detector labels

* comment

* do not look at linked issues or prs

* removed warning of deprecated node 20 github maybe?

* ignore for infrastructure prs

* ignore infrastrucutr prs

* makign detector labels a reusable workflow and pr synchronize trigger trigger at synchronize and wait for validation worfklow to be done first

* synchronize triger just checks if pr validation is complete and successfull, if not it fails, else it will run detector labesl workflow. it will not wait for pr validation

* pr validation should also call detector labels workflow

* picked up pr_validation from developer and modified

* test sync

* removed commit

* trigger is just for code sync

* look at head branch PRs to find it

* ignoring some other workflows for now

* no need of if as anything failing before the consequent jobs are skipped anyway

* ignore tests fo rnow

* make detector labels run all

* without pr validate

* fix error pr

* renaming to make sense

* naming

* all the triggers are in a different workflow and all the big jobs in separate resuable workflows

* validate pr type also separated

* validation doesnt have any output anymore because its either setfailed or not, the unrelated labesl output have been moved to edit trigger workflow anyway

* minor

* combine for loop of changed files
2026-09-02 10:37:04 +02:00
maliakal_d bfb51709c6 Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3
Build on RHEL9 docker image / build (push) Successful in 4m18s
Build on RHEL8 docker image / build (push) Successful in 5m18s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-28 17:10:16 +02:00
maliakal_d 0c561ea71c more print
Build on RHEL9 docker image / build (push) Successful in 4m18s
Build on RHEL8 docker image / build (push) Successful in 5m18s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-28 17:10:06 +02:00
maliakal_d 4201df411b Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3 2026-08-28 17:05:46 +02:00
maliakal_d 6095090a66 more explicit print 2026-08-28 17:05:37 +02:00
maliakal_d 547c60c8ea Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3 2026-08-28 17:00:55 +02:00
maliakal_d d6d22c4687 fix code 2026-08-28 17:00:47 +02:00
maliakal_d c3e541cc8a Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3 2026-08-28 16:53:13 +02:00
maliakal_d 374b66e276 changing file version labels should also trigger the file version workflow 2026-08-28 16:53:00 +02:00
maliakal_d 26102a72af Merge branch 'dev/pr_automation_3' into dev/test_pr_automation_3
Build on RHEL9 docker image / build (push) Successful in 4m8s
Build on RHEL8 docker image / build (push) Successful in 5m17s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m25s
2026-08-28 16:33:08 +02:00
maliakal_d bdfef43665 give permissions
Build on RHEL9 docker image / build (push) Successful in 4m4s
Build on RHEL8 docker image / build (push) Successful in 5m16s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
2026-08-28 16:32:48 +02:00
maliakal_d 7b09ff5146 Test 2026-08-28 16:18:14 +02:00
maliakal_d fa0c9db31c add file major and minor version labels 2026-08-28 16:14:02 +02:00
maliakal_d 14dd4be79e minor
Build on RHEL9 docker image / build (push) Successful in 4m12s
Build on RHEL8 docker image / build (push) Successful in 5m16s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-28 15:40:27 +02:00
maliakal_d c630dd6061 validation doesnt have any output anymore because its either setfailed or not, the unrelated labesl output have been moved to edit trigger workflow anyway 2026-08-28 15:38:18 +02:00
maliakal_d ca5b8a4b75 validate pr type also separated
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m14s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-28 14:50:48 +02:00
maliakal_d 27d678ee1d all the triggers are in a different workflow and all the big jobs in separate resuable workflows 2026-08-28 14:49:51 +02:00
maliakal_d ddb65092f2 naming
Build on RHEL9 docker image / build (push) Successful in 4m13s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-28 13:48:47 +02:00
maliakal_d 4a9751592a renaming to make sense 2026-08-28 13:46:44 +02:00
maliakal_d abab2ee6fb fix error pr
Build on RHEL9 docker image / build (push) Successful in 4m5s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-28 13:38:04 +02:00
maliakal_d 486ce535cc without pr validate
Build on RHEL9 docker image / build (push) Successful in 4m24s
Build on RHEL8 docker image / build (push) Successful in 5m13s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-28 12:33:36 +02:00
maliakal_d 015f92f199 make detector labels run all 2026-08-28 12:28:38 +02:00
maliakal_d 0d8d33ef46 ignore tests fo rnow
Build on RHEL9 docker image / build (push) Successful in 4m19s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-28 11:51:46 +02:00
maliakal_d 6a643f3541 no need of if as anything failing before the consequent jobs are skipped anyway 2026-08-28 11:47:40 +02:00
maliakal_d 978ea99e19 ignoring some other workflows for now
Build on RHEL9 docker image / build (push) Successful in 4m13s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Failing after 3h9m2s
2026-08-28 11:20:13 +02:00
maliakal_d dfee6f9c05 look at head branch PRs to find it 2026-08-28 10:59:17 +02:00
maliakal_d 352627f9a4 trigger is just for code sync
Build on RHEL9 docker image / build (push) Successful in 4m35s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m30s
2026-08-28 10:45:59 +02:00
maliakal_d 81cb32a2cc picked up pr_validation from developer and modified
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m8s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m29s
2026-08-28 09:41:17 +02:00
maliakal_d fde9463c6e pr validation should also call detector labels workflow
Build on RHEL9 docker image / build (push) Successful in 3m47s
Build on RHEL8 docker image / build (push) Successful in 5m11s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m26s
2026-08-27 21:54:19 +02:00
maliakal_d 38af62dce5 synchronize triger just checks if pr validation is complete and successfull, if not it fails, else it will run detector labesl workflow. it will not wait for pr validation 2026-08-27 21:42:15 +02:00
maliakal_d 207a7e929a Merge branch 'developer' into dev/pr_automation_2
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m7s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-27 17:21:54 +02:00
maliakal_d acd1f53b37 Dev/pr automation part 1 (#1540)
Build and Deploy on local RHEL9 / build (push) Successful in 2m6s
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 5m8s
Build and Deploy on local RHEL8 / build (push) Successful in 5m4s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m4s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
* added pr validation

* redundnat

* validate type and add label

* breaking api label also in pr validation

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* milestone workflow triggered when changing labels and it sets the milestone from the release targets yaml and labels

* workflow changing label cannot trigger another workflow, so directly invoking it or if a user changes label for pr milestone workflow

* added trigger workflow for label change by user, added check for infrastructure and breaking api in pr milestone workflow

* typo

* release targets

* milestone workflow should also ensure only 1 primary labels

* it doesnt need to be rerun for commits

* label and unlabel do the checks as well of primary type and brekaing api, it does not need to be in milestone

* pr validation now when primar type and breaking api labels are there and shouldnt be instead of removing them. the the label workflow nowjust ensures labesl and description are the same

* node change

* complain if labels dont match descriotion and retrigger validation workflow for better errors. If none labels, this is okay.. if not, it will give approperiate errors, mainly checking mismatch of labels and descriotion is labels trigger, logic will have been checked in validation anyway and failed if so

* label trigger to run milestone only needs detect-mistmatch and does not need pr validation

* getting rid of checkout for just reading a file from the base branch of PR, if main, give success for milestone

* issues.update is deprecated for prs

* removed label trigger workflow, it will not retrigger itself

* made pr validation not a reusable workflow. it treiggers also on labeled and unlabeled, but ignores unrelated labels, too much resource to check if the checkboxes are edited

* update from pulls back to issues when updating milestone as its not supported yet for pulls

* setting a github rest api version of 2026, else it uses the old one of 2022

* didnt work. removing github api specs for now

* more prints for miestone workflow and infrastructure is now bug fix milestone
2026-08-27 17:19:04 +02:00
maliakal_d b61ddb5a62 makign detector labels a reusable workflow and pr synchronize trigger trigger at synchronize and wait for validation worfklow to be done first
Build on RHEL9 docker image / build (push) Successful in 4m22s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m28s
2026-08-27 11:27:32 +02:00
maliakal_d 9f0d735b35 ignore infrastrucutr prs
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build on RHEL8 docker image / build (push) Successful in 5m22s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m6s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m34s
2026-08-25 12:37:49 +02:00
maliakal_d fa02838304 ignore for infrastructure prs 2026-08-25 12:33:50 +02:00
maliakal_d 44d381cad9 removed warning of deprecated node 20 github maybe?
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m18s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m31s
2026-08-25 12:06:53 +02:00
maliakal_d 3d2effb9c3 do not look at linked issues or prs
Build on RHEL9 docker image / build (push) Successful in 4m19s
Build on RHEL8 docker image / build (push) Successful in 5m23s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m5s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m27s
2026-08-25 11:54:48 +02:00
maliakal_d 2338098bba comment 2026-08-25 11:26:52 +02:00
maliakal_d 4e71f8544b workflow for detector whole word matching from changes in detectorServer folders, matching in pr title description, linked or references issues and prs, change in code with matching labels, add detector labels 2026-08-25 11:20:54 +02:00
mazzol_a 063923acc1 run_upon_workflow_dispatch
Build on RHEL9 docker image / build (push) Successful in 4m11s
Build on RHEL8 docker image / build (push) Successful in 5m5s
Build and Deploy on local RHEL9 / build (push) Successful in 2m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m8s
Run Simulator Tests on local RHEL8 / build (push) Failing after 9m42s
Run Simulator Tests on local RHEL9 / build (push) Successful in 20m7s
2026-08-03 12:21:53 +02:00
mazzol_a 7db947e4d2 Dev/matterhorn server funcs (#1469)
Build on RHEL9 docker image / build (push) Successful in 4m15s
Build on RHEL8 docker image / build (push) Successful in 5m21s
Build and Deploy on local RHEL9 / build (push) Successful in 2m12s
Build and Deploy on local RHEL8 / build (push) Successful in 5m12s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* added fetch fmt server library

* added first draft of matterhorn

* added cpp TCP Interface to slsDetectorServer

* bug: added std::signal for proper handling of ctr+c

* added compile option to set log level

* WIP

* dont use c project settings when building matterhornserver

* updated logger

* WIP

* WIP

* linked fmt to slsProjectOptions

* solved merge conflict

* some refactoring

* cleaned up logs

* WIP

* generated register defs from csv file

* oops given in hex

* properly added fmt as a dependency

* some format changes

* WIP

* used CRTP for virtual detector

* WIP

* added udp functions to matterhornserver

* fixed build

* added Server class usable for all detectors

* removed stopserver

* added some more functions

* wrong overload

* porper cleanup of matterhorn app

* PR Review

* refactored directory structure

* added shared memory for aqcuisition status

* implemented bus read and write

* added Matterhorn data class

* modified memory model

* added SPI communication

* moved memory for Bus communication to BucCommunication class

* WIP added HelperFunction for mask conversion

* completed HelperFunctions

* added tests for MatterHorn Helper Functions

* removed shared memory in destructor

* fixed SPI communication

* moved SharedMemory to slsSupportLib

* added toolchain file for cross compilation

* fix constructor for HarwareSPICommunication is public

* update receiver parameters function

* updated mac address

* uploaded matterhorn server binary tracked as lfs

* small fixes from tests on board

* automatically update matterhorn api version when cross compiling binaries

* fix bug in SPI read

* copy to server_directory/bin when cross compiling

* fixed cmake list

* update generate_registerdefs.py

* fixed copy of server binary

* always return error message

* add error log when opening dev/mem

* code review

* fixed eiger, mythen tests for dynamic range

* second Review

* member function getDerived for better readability

* split code into implementation class and actual class doing tcp communication

* added slsWarnings and c++17 compiler option

* added git lfs to workflow

* fix gitea workflows

* bug: add extra clock register

* implement initial checks

* bug: client excpetcs 4 bytes

* refactoring directory structure and rename to .hpp

* check if detector already set up

* missed .h to .hpp

* Code Review 3

* use temmplate value for stopserver

* use internal CMAKE_CROSSCOMPILING variable

* moved boolean stop server flag to DetectorImpl - moving template parameter up

* missed a file

* replace baseclass:: with this

* add Matterhorn server in github workflow

* whatever workflow bug- lets see

* fixed receiving trim bits changed to int64_t
2026-07-16 10:10:14 +02:00
maliakal_dandmazzol_a 9cbf588217 debugging (still fails for old cache) (#1485)
Build on RHEL8 docker image / build (push) Successful in 5m11s
Build on RHEL9 docker image / build (push) Successful in 5m16s
Build and Deploy on local RHEL9 / build (push) Successful in 2m5s
Build and Deploy on local RHEL8 / build (push) Successful in 5m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m39s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m9s
* debugging (still fails for old cache)

* verification removed. Leaving the creating and restorign cachec at v1.6.1 instead of latest for cache-apt-pkgs-action

* cache-apt-pkgs-action at v1.6.1 also for build_documentation yaml

* Clean up run_tests.yaml by removing comments

Removed commented-out line for clarity.

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-07-08 11:39:33 +02:00
maliakal_d 06770da4b3 Dev/fix workflow cmake cache (#1484)
Build on RHEL8 docker image / build (push) Successful in 6m11s
Build on RHEL9 docker image / build (push) Successful in 6m26s
Build and Deploy on local RHEL9 / build (push) Successful in 2m9s
Build and Deploy on local RHEL8 / build (push) Successful in 5m2s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m38s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m8s
* Validate restored apt packages in CI before CMake configuration

Add checks for cached apt dependencies to catch incomplete installations. A temporary Ubuntu mirror/package index mismatch caused apt installation to fail, but the failure was not detected before CMake ran.

* continue on error uncommented to see that it actually restores the previous step. The previous commit was to check the error message on failure to install the packages

* repair didnt run earlier.. checking on condition from custom message

* Remove redundant HDF5 verification step from CI. And fix broken repairs half configured dependenceies before reinstalling requested packages

* fix the simulator tests workflow for the same reason as previous commit (not failing for actual failure to restore installation from cache)

* removed redundant checks for repair as we are not repairing anymore

* use a different cache (changing version)

* changing ubuntu back to 22 instead of 24 (latest) because of 'E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/c/curl/libcurl4-openssl-dev_8.5.0-2ubuntu10.9_amd64.deb 404 Not Found'

* cache at specific version

* version typo

* go back to original version number  (was changed earlier to create a new cache everytime)

* added the other yaml

* minor, but recreating new caches with v1.0 version
2026-07-07 15:17:16 +02:00
mazzol_a 2a24bad218 treating warnings as errors during workflows (#1473)
Build and Deploy on local RHEL9 / build (push) Successful in 2m3s
Build on RHEL9 docker image / build (push) Successful in 4m21s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Build on RHEL8 docker image / build (push) Successful in 5m3s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m37s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m10s
* treating warnings as errors during workflows

* suppress warnings for moench calibration

* no format overflow

* revert formatting

* bettter conditional branching in cmake
2026-06-17 13:50:07 +02:00
lunin_landmaliakal_d f31234bbc3 Add rx_streamdummyheader command (#1442)
Build and Deploy on local RHEL9 / build (push) Successful in 2m1s
Build on RHEL9 docker image / build (push) Successful in 3m49s
Build on RHEL8 docker image / build (push) Successful in 5m1s
Build and Deploy on local RHEL8 / build (push) Successful in 5m6s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m56s
* add rx_restream_stop command. This allows to send a ZMQ dummy header any time user wants to do so. For example this allows to pre-configure the ZMQ processing software before the acquisition begins. Therefore, the dummy header was adapted in order to contain the fields stored in the receiver.

* renamed command, changed inherit, moved commands to zmq related section

* update filename in restreamstop

* renamed helper function, sorted header fields alphabetically

* fixed fnametostream set

* renamed functions, add SetFileName method, format JSON parameters order

* added python bindings and formatting (does nothing really)

* renamed restream stop functions to stream dummy

* checkout .github files from ed8c885

* release notes

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-06-01 12:07:52 +02:00
lunin_landmazzol_a 7db29d55a7 CI: Use conda-build instead conda build (#1464)
Build and Deploy on local RHEL9 / build (push) Successful in 2m8s
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Build and Deploy on local RHEL8 / build (push) Successful in 5m5s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m57s
* repalce conda build with conda-build, bump actions versions

* updated github actions versions to run on node 24

---------

Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-05-21 15:56:23 +02:00
mazzol_a bc86449652 Dev/doc/add ctb to doc (#1455)
Build on RHEL9 docker image / build (push) Successful in 4m33s
Build on RHEL8 docker image / build (push) Successful in 5m10s
Build and Deploy on local RHEL9 / build (push) Successful in 2m0s
Build and Deploy on local RHEL8 / build (push) Successful in 5m0s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m17s
Run Simulator Tests on local RHEL8 / build (push) Successful in 21m50s
* added numpy for patterngenerator

* treat warnings as errors

* fix warnings during docu build

* added power and ctb to documentation
2026-05-12 09:25:35 +02:00