What's New in P4 Code Review 2023.4
Released: Dec 2023
For a complete list of what’s new and bug fixes in this release, see the release notes.
Default Swarm review page enhancements
The following are the new defaults in the Swarm review page.
-
The Swarm Review page (preview) is now the default Swarm review page. The old review page is now referred to as the classic review page. The Swarm Classic view option will be removed in a future Swarm release. See Review display.
-
When opening the default review page for the first time, the file list panel and the information panel are hidden so it is easier to view the file diffs. See Review display.
-
Once a review has been approved, the Blocking Approval section is hidden. If a new requirement is added to an approved review then it is displayed in the Blocking Commit section. See Blocking Approval or Blocking Commit.
-
Added a new Blocking Commit section in the Information panel for pre-commit reviews. If a review has been approved but not committed and a new requirement is added to the review, then it is displayed in the Blocking Commit section. See Blocking Approval or Blocking Commit.
-
When the review description exceeds 25% of the page, the review description is truncated. Use the Expand description button to view the full review description. See Review description.
-
Added a new Expand all files or Collapse all files option in the Diff actions button. The Expand all files option is only displayed if all or at least one file is collapsed within a review. The Collapse all files option is only displayed if all files are expanded within a review. See Diff actions button.
-
Added a new flag
fetchContentto the max-size configurable in the swarm_root/data/config.php file. This flag determines if the size of a file is larger than themax_sizevalue and enables or disables the show more context buttons in the File diff panel. See max_size configurable. -
All files larger than the
max_sizeconfigurable value in the swarm_root/data/config.php file are truncated in the File diff panel. When a file is truncated a message is displayed in the File diff panel. See File diff panel. -
Added a button to the File content panel header that enables you to view the full context of a file. This button is only displayed for text files. See File content panel header.
Improved Swarm logs
The Swarm log file has been improved to include more details to help trace events. Each request contains the URI (Uniform Resource Identifier), PID (Process ID), worker ID (only for a worker), task details, IP address of the remote host, and originating IP address of a client (if a request is forwarded). See Logging.
Added support for RHEL 9.2
Swarm now supports RHEL 9.2. SeeInstall P4 Code Review on RHEL 8.
Added support for RHEL 8.8
Swarm now supports RHEL 8.8. See Install P4 Code Review on RHEL 9.