Repository navigation
SWF v47 system release - #52
Merged
Merged
Conversation
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
This was referenced Nov 25, 2026
Test Coverage Summary |
Contributor
There was a problem hiding this comment.
🟢 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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