Jackhammer agent - #1092
Open
tristpinsm wants to merge 11 commits into
Open
Conversation
New agent wrapping sodetlib's jackhammer hammer() function, exposing it as an OCS task with the same options (slots, no_reboot, no_dump, skip_setup, dump_rogue). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Store the traceback in session.data['error'] on failure so clients can inspect what went wrong. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use the new hammer() return value to populate session.data with succeeded_slots and failed_slots. Distinguish full success, partial success, and total failure in the task return message. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
actually, if it's possible for an OCS panel to display data from an ocs feed, we wouldn't need another monitor process and could get this info from the det-controller agents (with a config change for the streamers). |
…tatus Poll SystemConfigured and ConfiguringInProgress EPICS registers per slot every 10s via epics.caget. Publishes to a system_configured OCS feed and populates session.data for ocs-web display. Auto-starts on agent launch; suppress with --no-processes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tristpinsm
force-pushed
the
tpm/hammer-ocs
branch
from
July 23, 2026 16:01
8b26187 to
47c0adb
Compare
tristpinsm
marked this pull request as ready for review
July 30, 2026 23:42
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.
Here is a first draft for a
jackhammeragent. It should allow individual slots to fail and track the results.Currently, I think you could set up an OCS-web panel that would display the result for each slot. This would only update to display the last jackhammer run however (and I guess only show the slots that were requested in that run).
If we wanted to have a continuously updating panel, we could add a monitor process to the agent that queries the
SmurfApplication.SystemConfiguredregister, modeled on the ACU agent. I'm not super familiar with OCS, so let me know if that is a good idea.Requires simonsobs/sodetlib#514