Skip to content

SWF v47 system release - #52

Merged
wenaus merged 1 commit into
mainfrom
infra/baseline-v47
Nov 25, 2026
Merged

wenaus merged 1 commit into
mainfrom
infra/baseline-v47

Conversation

@wenaus

@wenaus wenaus commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

SWF v47 system release.

v47 covers the 25 days since v46 (2026-10-30). Event Service tasks over registered EVGEN input read
every input file to its last event, ordinary EVGEN tasks read every event of each file, and the events
earlier Event Service tasks left unread are recovered as new attempts of their tasks. The JLab farm queue
JLAB_PanDA_1 is in production on the direct pilot. The pressure front feeds idle and new queues from
their first cycle, and a healthy canary turns a switched-off feed back on. The crash catalog gains the
Hilog kind. A Help menu with a What's new page lists the developments users, operators and developers
should know about; a queue's downtime is declared on its page, and each person can hold their own API
token. In the testbed, prompt processing takes a configurable payload and can run EICrecon on STF files,
and a configuration that names no namespace runs in the user's own login name.
Release notes: RELEASE_NOTES.md § v47

Companion PRs: BNLNPPS/swf-testbed#86, BNLNPPS/swf-monitor#65. Main, holding v46, its v46 fixes and the contributor work merged during the cycle, was merged into the swf-testbed and swf-monitor baselines first; swf-common-lib's main held nothing beyond v46. Contributor work is credited in the notes: Sakib Rahman, Wen Guan and Dmitry Kalinkin.

🤖 Generated with Claude Code

https://claude.ai/code/session_011rN4S5iJJowcEnfTJUjjfM

testbed_namespace(config) is the one reader of the namespace: the config's
[testbed] namespace, or the user's login name when unset or empty, so a user
who starts without a config of their own works in their own namespace and
never in another user's. TestbedConfig.load uses it and no longer refuses a
config without one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011rN4S5iJJowcEnfTJUjjfM
Copilot AI balanced review requested due to automatic review settings November 25, 2026 00:33
@github-actions

Copy link
Copy Markdown

Test Coverage Summary

src/swf_common_lib/api_utils.py          87     87     0%   8-198
src/swf_common_lib/base_agent.py        582    582     0%   5-1141
src/swf_common_lib/config_utils.py       25     25     0%   7-91
src/swf_common_lib/episodes.py          188    188     0%   23-379
src/swf_common_lib/logging_utils.py      33      0   100%
src/swf_common_lib/rest_logging.py       81     81     0%   8-158
src/swf_common_lib/rucio_utils.py       139    139     0%   5-341
-------------------------------------------------------------------
TOTAL                                  1135   1102     3%
============================== 5 passed in 0.27s ===============================

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

There are no active review issues blocking the namespace-fallback change.

No open issues 🎉

What changed in this PR

This PR updates the shared configuration library for SWF v47 so testbed configurations without a namespace default to the current user’s login name.

Changes:

  • Adds testbed_namespace() to centralize namespace selection and the login-name fallback.
  • Updates TestbedConfig.load() to accept missing or empty namespaces and adjusts its documentation, while retaining missing-file and invalid-TOML errors.
File Description
src/​swf_common_lib/​config_utils.py Adds the namespace fallback helper and integrates it into configuration loading.

Review effort: Balanced

@wenaus
wenaus merged commit 10ab288 into main Nov 25, 2026
7 checks passed
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.

2 participants