Update FF_SCRIPT_SECTIONS documentation to reflect current behavior

What does this MR do?

Updates the documentation for the FF_SCRIPT_SECTIONS feature flag to accurately reflect its current behavior.

Why was this MR needed?

The current documentation states:

"When enabled, each script line from the .gitlab-ci.yml file is in a collapsible section in the job output, and shows the duration of each line. When the command spans multiple lines, the complete command is displayed within the job log output terminal."

However, the observed behavior is different:

  1. Missing Durations: The duration for each script line is not displayed.
  2. Collapsible Sections Issue: Only multi-line commands generate a collapsible section. However, the output does not actually collapse as expected in the UI; only the command itself is a collapsible line. Single-line commands do not generate sections at all and are printed directly with a $ prefix.

This MR updates the documentation to match the actual implementation and prevent user confusion while acknowledging the current regression.

#39294

Edited by Pishel

Merge request reports

Loading