Skip to content

Run Log - #340

Open
corrodis wants to merge 7 commits into
developfrom
sc/RunLog
Open

Run Log#340
corrodis wants to merge 7 commits into
developfrom
sc/RunLog

Conversation

@corrodis

@corrodis corrodis commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Adding functionality for consolidated log entries and opt-in options at the end of the run for commissioning work.

Comment thread WebGUI/js/SubsystemLaunch.js Fixed
@eflumerf eflumerf moved this from 📋 Triage to 👍 PR Created in art-daq Work Tracker Jun 9, 2026
if(lastLogEntry && lastLogEntry != "")
lastLogEntry = decodeURIComponent(lastLogEntry);

var writeToEcl = false; // updated by checkbox onchange before popup is cleared

@rrivera747 rrivera747 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.

Looks good to me - but we need to merge otsdaq PR art-daq/otsdaq#414 first

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.

Pull request overview

This PR adds “end-of-run” logging enhancements to support commissioning workflows, including an opt-in UI path to write an end-of-run summary to ECL and a server-side option to suppress the standard system footer for consolidated entries.

Changes:

  • Update Subsystem Launch UI copy (“FSM:” → “Run Type:”) and add an end-of-run checkbox to optionally write the run summary to ECL.
  • Extend the Stop transition POST payload to include a writeToEcl flag alongside the logEntry.
  • Add a SkipFooter SOAP parameter to ECL system log entry creation, allowing callers to post consolidated text without the auto-appended footer.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
WebGUI/js/SubsystemLaunch.js Adds end-of-run log popup checkbox and sends writeToEcl flag on Stop; minor UI label update.
otsdaq-utilities/ECLWriter/ECLSupervisor.cc Adds SkipFooter SOAP parameter and conditional footer suppression for system log entries.

Comment on lines +2689 to +2690
var writeToEcl = false; // updated by checkbox onchange before popup is cleared
SubsystemLaunch._pendingWriteToEcl = false; // reset each time popup opens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👍 PR Created

Development

Successfully merging this pull request may close these issues.

5 participants