2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-02-09 00:53:18 +08:00
Commit Graph

288 Commits

Author SHA1 Message Date
fb6609b8a3 master: migrate deprecated pygit2 commit.hex attr 2024-08-24 10:44:34 +08:00
f6800bdba2 Merge branch 'master' into nac3 2024-07-27 23:33:01 +08:00
a4bfb0d5dd doc: Formatting and link fixes in docstrings 2024-07-17 11:39:08 +08:00
Charles Baynham
6f3322ea35 worker_impl - try/catch for exceptions in notify_run_end to avoid data loss 2024-07-02 19:55:20 +08:00
567cd45eee Merge branch 'master' into nac3 2024-06-20 16:49:54 +08:00
5fe47129ed fix missing get_dataset_metadata 2024-04-30 19:48:35 +08:00
ab206ac154 worker: import host_only from the right place 2024-04-11 16:34:08 +08:00
5f49e582c8 master: fix race condition in interactive args supply
Closes #2375
2024-04-02 16:10:02 +08:00
19b652d4c0 fix interactive args cancellation 2024-04-02 15:45:12 +08:00
c4323e1179 interactive args: add title param 2024-03-13 12:13:55 +08:00
692572a3b9 style (NFC) 2024-02-28 12:48:31 +08:00
18f55bb196 master: fix asyncio exception handling
Follow Python 3.8.
2024-02-28 12:48:11 +08:00
de29db0b35 master: implement interactive arguments
Interaction with experiment termination (forceful and requested) still
needs some work.
2024-02-28 11:49:33 +08:00
5e01661443 master.databases: style (NFC) 2024-02-27 11:25:56 +08:00
bafa69098a style/doc fixes (NFC) 2024-02-27 11:10:32 +08:00
a8a5fc213b worker_impl: style fixes (NFC) 2024-02-27 10:39:37 +08:00
Charles Baynham
669edf17c5
scheduler: resolve git references into revisions on submission (#2296)
Signed-off-by: Charles Baynham <c.baynham@imperial.ac.uk>
2024-01-10 16:05:26 +08:00
8dd8cfa6b0 master: implement devarg_override 2023-12-18 12:11:40 +08:00
ede0b37c6e devices: introduce notify_run_end API 2023-12-13 14:27:04 +08:00
795c4372fa DeviceManager: fix close exception error message 2023-12-13 14:06:53 +08:00
973fd88b27 core: compile and upload subkernels 2023-10-08 17:11:51 +08:00
511f125c08 Merge branch 'master' into nac3 2023-07-17 15:45:54 +08:00
e710d4badd databases: read and save metadata in lmdb 2023-07-10 02:33:59 +00:00
bfbe13e51b worker_db: write hdf5 dataset metadata 2023-07-10 02:33:59 +00:00
caee570c48 Merge branch 'master' into nac3 2023-05-27 19:08:36 +08:00
Charles Baynham
c2b0c97640 worker: Wait until datasets are written before quitting
Avoids a race condition in worker_impl.py where HDF5 dataset saving was
cut off before it finished for large datasets.
2023-05-23 21:48:56 +01:00
2b73ca862e Merge branch 'master' into nac3 2023-04-30 16:40:50 +08:00
5199bea353
master: emit warning if datasets will not be stored 2023-04-30 15:22:21 +08:00
4056168875 master: store datasets in LMDB (#1743) 2023-04-24 17:34:30 +08:00
David Nadlinger
8b1f38b015 worker_impl: Remove misleading update() from ExamineDatasetMgr [nfc]
`update(mod)` would be on the DatasetDB, not the manager. Rather,
modifications currently just fail due to e.g. `set(…)` not being
defined.
2023-03-20 13:20:40 +08:00
7635b9ed92 Merge branch 'master' into nac3 2023-01-15 12:23:25 +08:00
daad3d263a master: commit missing part of 7fd6dead8 2023-01-12 10:39:53 +08:00
7fd6dead8f master: fix asyncio loop management 2023-01-11 18:46:54 +08:00
73a4ef89ec scheduler: make asyncio loop a keyword-only argument, like in other asyncio APIs 2023-01-11 18:45:35 +08:00
6cfd1480a7 scheduler: support passing event loop 2023-01-10 12:26:24 +08:00
David Nadlinger
874d298ceb master/scheduler: Unbreak submitting from repository
This is a fix-up to commit 2a58981822.
2022-12-13 14:58:23 +00:00
2a58981822 Scheduler: replace relative path to absolute
Signed-off-by: Egor Savkin <es@m-labs.hk>
2022-12-09 21:43:36 +08:00
e80442811e
worker_impl: do not write results without rid (#2020) 2022-12-09 16:18:28 +08:00
Nico Pulido
88c5109627 language: check_unprocessed_arguments after constructing experiment
Signed-off-by: Nico Pulido-Mateo <pulido@iqo.uni-hannover.de>
2022-11-27 02:29:57 +00:00
0953a07582 Merge branch 'master' into nac3 2022-08-18 14:35:09 +08:00
kk1050
7aa6104872
Add method to check if termination is requested (#811, #1932)
Co-authored-by: kk105 <kkl@m-kabs.hk>
2022-07-07 17:01:34 +08:00
6483361e6a Merge branch 'master' into nac3 2022-07-02 19:20:15 +08:00
David Nadlinger
dd928fc014 master: Fixup 32db6ff978 (argument_ui support)
This was lost in the ndscan diff upstreaming process
due to other Oxford-local changes in artiq.master.worker.
2022-06-19 11:33:40 +01:00
David Nadlinger
32db6ff978
Allow experiments to specify a custom argument editor UI (#1916)
On the master/EnvExperiment side, the only addition is an optional
property `argument_ui` that is made accessible to the dashboard, e.g.

    class Example(EnvExperiment):
        argument_ui = "ndscan"
        def build(self):
           …

Clients – primarily artiq_dashboard, but in principle e.g. a
command-line UI could do the same – can then compare the value to a
list of well-known names and prefer any matching custom UI handlers.

On the dashboard side, this commit adds the mechanism to register
a custom argument editor for a given argument_ui string, i.e. the
widget that displays the parameter values within the wider
experiment UI shell with the submit button, pipeline parameters, and
so on. The registry remains empty by default and would be filled by
out-of-tree plugins such as ndscan.

The UI state readback is implemented somewhat defensively to avoid
needless disruptions to users when upgrading.
2022-06-18 15:55:13 +08:00
kk1050
4ddd2739ee
add log_tuples function (#1896)
Co-authored-by: kk105 <kkl@m-kabs.hk>
2022-06-06 18:41:46 +08:00
69cda517f6 Merge branch 'master' into nac3 2022-03-28 13:41:17 +08:00
f89275b02a master: fix compiler access to source code with submit-by-content 2022-03-20 18:08:04 +08:00
80d412a8bf support submitting experiments by content 2022-03-20 12:58:55 +08:00
7b02918a43 worker_impl: port to NAC3 2022-02-26 17:39:59 +08:00
ceceabbaf0 Merge branch 'master' into nac3 2022-01-26 07:25:20 +08:00