You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tools-api): add lightweight package mode support
- Introduced support for lightweight package mode in the Tools API.
- The API now respects the `DDS_LIGHTWEIGHT_PACKAGE` environment variable,
allowing for smaller worker packages (~50KB) without binaries.
- Updated `CSession` and `SSubmitRequestData` to automatically enable
lightweight mode based on the environment variable.
- Fixed logic in `DDSWorker.sh` to handle both full and lightweight
package deployments correctly.
- Added tests to verify the behavior of the lightweight mode.
Refs: https://its.cern.ch/jira/browse/EPN-566
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [Unreleased]
9
+
10
+
### Added
11
+
12
+
-**dds-tools-lib**: Tools API now respects `DDS_LIGHTWEIGHT_PACKAGE` environment variable. When set, both `CSession::create()` and `SSubmitRequestData` constructor automatically enable lightweight mode.
13
+
14
+
### Fixed
15
+
16
+
-**DDSWorker.sh**: Fixed inverted logic bug that caused worker package deployment to fail when pre-compiled binaries were present. The script now correctly handles both full packages (with binaries) and lightweight packages (without binaries).
This was caused by the DDSWorker.sh bug and is now fixed. Your worker packages will deploy correctly regardless of whether they contain pre-compiled binaries or are in lightweight mode.
56
+
57
+
### 📝 Complete Changelog
58
+
59
+
For a complete list of all changes, see [CHANGELOG.md](CHANGELOG.md).
60
+
61
+
---
62
+
3
63
## [3.15.0] - 2025-10-08
4
64
5
65
### 🎉 New Features
@@ -79,4 +139,4 @@ For a complete list of all changes, see [CHANGELOG.md](CHANGELOG.md).
79
139
80
140
### 📋 Known Issues
81
141
82
-
See [GitHub Issues](https://github.com/FairRootGroup/DDS/issues) for current known issues.
142
+
See [GitHub Issues](https://github.com/FairRootGroup/DDS/issues) for current known issues.
Copy file name to clipboardExpand all lines: dds-tools-lib/README.md
+36-1Lines changed: 36 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,6 +332,41 @@ int main()
332
332
}
333
333
```
334
334
335
+
## Lightweight Package Mode
336
+
337
+
The Tools API respects the `DDS_LIGHTWEIGHT_PACKAGE` environment variable. When set to `1`, `true`, `yes`, or `on` (case-insensitive), DDS creates minimal worker packages (~50KB) without binaries.
338
+
339
+
**Benefits:**
340
+
-**No need to build `make wn_bin` target** - Eliminates the worker binary compilation step
341
+
- Significantly smaller worker packages (~50KB vs ~15MB)
342
+
- Faster deployment to worker nodes
343
+
344
+
**Using environment variable:**
345
+
```cpp
346
+
// Set environment variable before creating session
0 commit comments