Skip to content

7.24

Clarive 7.24 Release Notes

Release date: December 4, 2026

We're pleased to present our new release of Clarive 7.24 with some important features and bugfixes:

Improvements and issues resolved

[ENH] #3421 Clarive MCP server and CLI

Clarive now publishes one set of operations, the Clarive API, in three ways: a REST API at /api/v2, an MCP server at /mcp for AI agents, and clarive, a new command line program. All three offer the same operations, with the same names, parameters, permissions and errors. For example, the job.logs operation is the REST call POST /api/v2/call/job.logs, the MCP tool job_logs and the command clarive job logs. There are a few hundred operations, covering topics, jobs and their logs, rules (which can be read and written as HCL), resources (CIs), artifacts, git repositories, remote commands and file shipping, workers, users, roles, projects, settings and the server itself.

With the MCP server, AI agents such as Claude Code, Claude Desktop, Cursor or VS Code can work with Clarive in plain language, for example "move topic 4321 to In Review, and if you can't, tell me why", "why did the last QA deployment of changeset 1234 fail?" or "how many jobs are running for the Web project?". Agents connect directly over HTTP with a token, or through the CLI with clarive mcp. The server keeps agents inside the same limits as the user:

  • Every call runs as the token's user, with that user's permissions. Tools the user may not use are not even listed.
  • Read tokens (or the read_only option) offer only the tools that change nothing. Each tool says whether it is read-only or destructive, so the client can ask the user before running it.
  • Passwords, keys and tokens come back masked.
  • Every call fires the new event.mcp.call event with the user, the tool, the arguments (secrets masked) and the answer. Event rules and notifications can react to it, and a rule can refuse calls, for example every destructive tool or any call outside working hours.
  • In maintenance mode only administrators get through.

The clarive CLI is a single binary for Linux, macOS and Windows that drives a Clarive server from a terminal, a script, a CI pipeline or an AI agent. clarive login asks for the username and password once and keeps a token, and profiles keep the details of several servers. Every API operation is a command: clarive api search and clarive api describe find the right one, and new operations of the server become commands without a new CLI release. Output is a table on a terminal and JSON in a pipe, and YAML and raw output are available too. Shortcuts cover everyday work, such as following a job log (clarive job logs --follow), creating a job and waiting for it (clarive job create --wait --logs) or editing a rule as HCL in your own editor (clarive rule edit).

API clients authenticate with a personal access token (clapat_...), either read or write. Tokens expire, and their owners can list and revoke them (clarive auth list-tokens, clarive auth revoke-token). On the server, the new cla api-catalog, cla api-ops, cla api-call and cla api-token commands list the operations, run an operation locally and create a token for a user, for example for a CI system or an agent.

Two new documentation sections, The clarive CLI and MCP Server, describe the installation, login and tokens, every option, how to connect each AI client, how calls are audited and refused, examples, and the solution to common problems.

[ENH] #3864 SBOM + SCA implementation

Clarive can now generate the Software Bill of Materials (SBOM) of an application, the list of every third-party component it ships with and its version, and run a Software Composition Analysis (SCA) on it: each component is checked against the OSV.dev database of known vulnerabilities. The analysis runs on the Clarive server, and the source code never leaves it.

An SBOM can be generated from four places, and the code does not need to be in a Git repository:

  • In a job, with the new Generate SBOM and Scan Vulnerabilities op (service.sbom.analyze), on whatever the job left in its directory: a checkout, the artifacts of a release, a .war file or a folder of built DLLs. The op attaches the CycloneDX document and the findings to the job log, and can fail the job when it finds vulnerabilities of a given severity.
  • In the project, under Source > SBOM: Generate SBOM analyzes the Git and artifact repositories of the project, each Git repository at its default branch or at the branch or tag you pick.
  • From a topic, with More > Analyze Dependencies (SBOM), which analyzes the revisions of the topic, with one report per repository.
  • From the command line, with cla sbom-scan, on a repository or on any directory of the server. With --fail-on the command ends with an error when it finds vulnerabilities of that severity, so it can be used in pipelines.

Clarive reads the manifests, lockfiles and binaries of many technologies, which can be mixed in the same tree: Maven, Gradle and Android, jar/war/ear files, npm, yarn, pnpm and Bower, .NET and NuGet (DLLs included), Python, Go, PHP Composer, Ruby, Rust, Dart, CocoaPods, Perl, Docker and GenExus. The SBOMs follow the CycloneDX 1.5 format and can be downloaded from the SBOM page.

The SBOM page lists the reports, their components and their vulnerabilities in grids that can be searched, sorted, grouped and rearranged, as in the job monitor. Clicking a component or a vulnerability opens its detail: where the code imports it, the manifests that declare it, the chain of packages that brings it when it is a transitive dependency, its vulnerabilities with the version that fixes each one, and a link to the package in its public registry. Each vulnerability can be marked as open, acknowledged or suppressed, and that status is kept in the next scans of the same source. The analyses and scans started from the page or from a topic run in the background, and the dialog shows their progress.

Also included:

  • Private packages: name patterns of your own libraries (com.example.*, @example/*), global, per project or per job op. These components are listed in the SBOM, but they are never sent to OSV.dev.
  • Local vulnerability database: for servers without Internet access, or that must not send package names outside, Admin > System > SBOM keeps a copy of the OSV database inside Clarive. The server downloads it and updates it with only the changed records, or the files are downloaded on a workstation and uploaded from the page. The cla sbom-status, cla sbom-download, cla sbom-update and cla sbom-load commands manage it from the command line.
  • Permissions by project and repository: action.sbom.read, action.sbom.generate, action.sbom.scan, action.sbom.triage and action.sbom.delete can be bound to some repositories. action.sbom.private_packages allows editing the private packages of a project, and action.sbom.admin (Administer SBOM) opens the admin page.
  • The events event.sbom.generated and event.sbom.scan_complete, and a new SBOM and SCA section in the documentation, in English and Spanish.

This change also fixes a problem with the permissions of new releases: the users with the root role did not get the actions added by a new release, because an old list of actions could stay in the cache. Each set of actions now has its own list.

[ENH] #4032 New react single job interface

The job page has been rebuilt in React. It opens from the job monitor, and it is organized in tabs, each with its own address so it can be bookmarked or shared: Dashboard, Job Tree, Log, and Stash and Logfile for users with the action.job.advanced_menu permission. The header shows the job and its status, a selector for the executions of a job that was rerun, a Live button to pause or resume the live updates, the HTML log, and the job actions allowed to the user, such as rollback and reschedule.

  • Dashboard: a renewed job dashboard, laid out in cards, with the summary of the job, the run summary, the job items, the tracked assets and the profiling.
  • Job Tree: a new view that shows the ops of the job as a tree that looks like the rule they come from, with their icons, and that grows live as the job advances. Each op shows a spinner while it runs, and then its status and duration. Badges show when an op ran several times, was retried, ran in a forked process or logged errors and warnings, and ops show the names they ran with, with their variables replaced. The tree can be filtered by step, by text, by errors only or by hiding the ops not run, and it can follow the op that is running. Clicking an op opens its detail, with its runs and its log entries. The tree shows the rule version each execution ran. For jobs that ran before this version, the tree is rebuilt from the job log and marked as inferred. The Job Tree goes much further than the old rule trace view.
  • Log: the classic job log, now in React, with its levels, search, comments and row actions. The data of a log row opens in a panel beside the log instead of over it. The log, the tree and their panels can be resized, and the sizes are remembered in the browser.
  • Stash and Logfile: the job stash, which can be edited and saved, and the output of the job process.

The HTML log has a new look: a header with the job data, a summary of the ops of each step, a toolbar that stays visible, a print layout, rows colored by level, ops indented as in the rule, and a button to jump to the first error. Op start times follow the time zone set in the user's preferences.

The classic job dashboard and log are still available for users who prefer them. The documentation of the job page is rewritten, and a new page describes the Job Tree, in English and Spanish.

[ENH] #4051 Decouple GeneXus from the core

GeneXus support has been taken out of the Clarive core. The GeneXus screens (the revision viewer, the object picker and uploader, and the download page) and the services only GeneXus used now come with the GeneXus feature, which plugs them into Clarive through the extension points for external frontend features added in 7.22.1. The core no longer contains GeneXus code, so a change to GeneXus no longer needs a new Clarive release.

With the GeneXus feature installed, GeneXus works as before: revisions, reserve, download and compilation events. Without it, topics with GeneXus revisions open with the generic revision view, with no errors.

Instead of GeneXus checks, the repository resources now have generic extension points that any repository type can use: how a revision attached from a topic is created and deleted, whether the revisions removed from a topic are deleted, and which data belongs to a resource, so that it goes to the trash, is deleted and is restored together with it. Git repositories keep their current behavior. Along with this change:

  • A revision removed from its topic and then restored from the trash goes back to the revisions of its topic. Before, it was left unlinked.
  • A resource deleted for good from the trash, by hand or by the purge daemon, fires the new event.ci.purge event, so plugins can clean up the files they keep outside the database.
  • Fixed the "Master row not found" error logged every time a resource was restored from the trash.
  • The frontend features guide now explains how to package, install and upgrade a feature, and how a feature can include data migrations. The first install of a feature with migrations needs cla migra-start --init.

Note: installations that use GeneXus must install the new version of the GeneXus feature when they upgrade to this release.

[ENH] #4070 Add height config parameter to grid-editors

The grid editor fieldlet has a new Editing Height option in its configuration. It sets the height of the grid, in pixels, when editing the topic; when the grid has more rows than fit, it shows a scrollbar. The default is 200 and the minimum is 100.

[ENH] #4072 Modernize dashboards

The dashboard charts are now drawn with ECharts instead of the old C3 and D3 libraries, which have been removed. Existing dashboards keep working with no changes.

  • The chart dashlets (job chart, job daily distribution, topics chart, topics time line, the burndown dashlets and topics gauge) have been rewritten, with a common modern look: new palette, card tooltips, rounded bars and pie slices, and redesigned gauges that adapt to the size of the dashlet. Every dashlet shows a loading spinner while its data comes. In the job daily distribution, clicking a bar opens the job monitor filtered by that environment and period. The system statistics, job profiling and op history charts also use ECharts.
  • The list dashlets ("List topics", "List jobs", "Last jobs by app", "Email messages", "Bidimensional query" and "Bidimensional period query") and the topic tables in topics (efforts, Topic Selector, Planning and Topic Grid) use a new compact table that replaces DataTables: fixed header, search behind a magnifier, a counter of rows, sorting, and a pager only when needed. In narrow dashlets the less important columns are hidden instead of scrolling sideways. Exports take all the rows, not only the visible page. The bidimensional query is shown as a heatmap.
  • Save on a rule dashboard now keeps only the user's changes, which are applied over the rule every time the dashboard opens, so the dashboard keeps receiving the changes made to its rule. A Customized label and a Restore original button show in edit mode.
  • A new Administer dashboards permission (action.dashboard.admin) lets an administrator save the design of a rule dashboard for everyone. The users without a design of their own see it.
  • Personal dashboards can be shared, as kanban boards: private, with everyone or with chosen users and groups. The users they are shared with see them read only, and can save a copy of their own with Save As New. A new Shared with me filter lists them.

Several problems were fixed along the way: the topics burndown ignored its category filter, gauge thresholds were compared as text, the topics chart failed with currency formats and lost decimals, a dashboard saved as new kept the address of the original, clicks on the links and buttons of the topic tables sorted the table instead, and a user could overwrite the personal dashboard of another user.

The swarm and resource graph dashlets are no longer offered in the rule palette, and the Show Graph button has been removed from the resources panel. Dashboards that already have them keep showing them.

Note: custom HTML dashlets that draw charts with C3 keep working, since c3.generate() is still available and drawn with ECharts, but it is deprecated and only covers the most common options. Code that uses d3 directly no longer works and must be rewritten, for example with ECharts, which is available in the HTML dashlet as echarts.

[ENH] #4076 New react job monitor

The Jobs Monitor has been rewritten in React, with the same look as the new job page. It replaces the classic monitor in the Monitor of all the jobs (/explore/deploy/jobs) and in the Monitor of each project (/deploy/jobs), and it keeps every filter, column and action of the classic one. The classic monitor is still available for users who prefer it.

  • Filters as pills under the title: projects, environments, natures, statuses, job types, dates, period (a new selector for the last day, week, month and so on), My Jobs and the search box. The filters, the page, the sort, the grouping and the columns are kept in the address of the page, so a filtered view can be bookmarked or shared, and the browser Back and Forward buttons go through the changes. The links of the dashboards and of older Clarive versions still open the Monitor with their filters.
  • Columns: all the columns of the classic monitor, with a chooser to show, hide, move and resize them, grouping by column, server paging (up to 100 jobs per page) and CSV export. The header, the column titles and the pager stay in place while the jobs scroll.
  • Live updates while the jobs run, with a Live / Paused button that shows how many changes are waiting. The Monitor asks only for the jobs of the page that changed, and reloads the whole page only when a job may come into it or leave it. It connects again by itself when the pubsub server comes back, for example after a restart.
  • Actions: the ... menu of each job has the same actions and dialogs as the job page: view the report or the log, resume, trap actions, cancel, kill, delete, rollback, rerun, reschedule, run in-process, approve and reject.

Under each active job, the Monitor shows its stages (CHECK, INIT, PRE, RUN and POST) as bars as long as the time each stage usually takes, worked out from the last finished jobs of the same projects and environment. Each bar shows the time of the stage against its usual time, and the time it runs over in orange. The operations running in the current stage, parallel branches included, are listed under the bars with their time against their usual time. After the stages, the elapsed time of the job is shown against its usual length, with its ETA. The clock button of each row shows or hides the bars of any job that has started, also once it has ended. The usual times of the operations come from rule profiling, which is now on by default for the pipeline rules.

The job page has several improvements too: a new Run Summary tab with the services of each step, their status and their time; the stage bars inside the Summary card of the dashboard; the columns of the classic log in the job log, chosen from a Columns menu, with a Group by option (by step by default); and the error lines of the log in dark red and bold, easy to read on any screen.

Several security problems of the classic monitor were fixed along the way. The actions on a job (delete, cancel, kill, resume, reschedule, rollback and export) now check that the user can see the job, a rollback checks the permission on the environment of the job, and the filters sent by the browser can no longer get around the project and environment restrictions. A purged job, or any job that is not rollbackable, no longer offers the rollback, not even forced. Pages already open now also follow a new throttle set on the pubsub server.

[ENH] #4088 Add the creation date to the effort grids

The effort grid of the topic and the list of personal efforts have a new Creation Date column, with the date and time, to the minute, when each effort was logged. The date the effort is charged to is now called Effort Date in the grids and in the forms to add and edit efforts. The columns of the topic effort grid now take the width of their content, and the description takes the rest.

[ENH] #4123 Monitor jobs step progress bars + Natures estimation

The stage bars of the job monitor and the job page now show more clearly how each stage compares with its usual time:

  • A finished stage shows its time and, in brackets, how much less or more than usual it took: green when faster, for example 5s (▼5s), and red when slower, for example 40s (▲10s).
  • A thin bar inside each stage compares it with its usual time: green for the part of its usual time it took, orange for the time it went over, and a dashed outline for the time a faster stage did not take. While a stage runs, its thin bar fills in green and, once the stage goes over its usual time, the extra time grows live in orange, second by second. Hovering each part of the thin bar shows its time.
  • A stage in error is filled in light red.

The usual time of a job now takes its natures into account. A job is compared only with the finished jobs of the same projects and environment that have exactly the same natures, in any order. When there are none, or until the job has loaded its natures, it is compared with all the jobs of its projects in that environment.

[ENH] #4125 Each revision listed once in the job dashboard

The job dashboard now lists each revision of a job once. Before, every execution of the job added its revisions again, so a job run several times showed the same revisions repeated. Jobs saved before this change with repeated revisions also show each revision once, both in the new and in the classic job dashboard.

[ENH] #4130 Responsive topic view, job and monitor panels

Clarive can now be used from a phone. The job page, the Monitor, the topic view, the topic grid, the projects and the dashboards have a layout of their own when the browser window is narrower than 768 pixels, and the page switches between layouts by itself when the phone is turned. On tablets in landscape and on desktops, Clarive looks the same as always.

  • Top bar: the menu button opens a panel with the search, the sections and the side menu of the current section.
  • Job page: a one-line header, the tabs as a bar at the bottom of the screen, the log rows as cards, and the details of an op or of its data as sheets that slide up from the bottom.
  • Monitor: a card for each job, with the filters folded behind a Filters button.
  • Topic view: a single column with the deploy and status buttons, and combos that open with a tap.
  • Topic grid and projects: a card for each topic or project. Tap the title of a topic to open it.
  • Dashboards: listed two by two, with the dashlets one under the other. Dashlets cannot be dragged on a phone, so a swipe always scrolls the page.

On a phone the search boxes do not take the focus when a page opens, so the on-screen keyboard does not cover the page. A new documentation page, Using Clarive on a Phone, describes each screen.

This change also fixes the deploy and status buttons of a topic, which stayed disabled after a failed status change or a failed load of the workflow.

[ENH] #4155 In-app help viewer with the documentation of the installation and its features

The help is now shown inside Clarive, in a new help viewer with all the documentation of the installation: the product documentation and the documentation of every installed feature, customer-specific features included, in the user's language and without internet access. Before, the help button opened docs.clarive.com, where the documentation of installed features could not be read.

  • A menu of sections on the left, the page with its folder trail and previous/next links in the middle, and the headings of the page on the right. Links to pages and headings can be shared, and the browser Back button works.
  • A This installation section, first in the menu, with the documentation of each installed feature and its version, and a table of the installed features.
  • Fast full-text search over all the documentation.
  • A help index with a card for each section, the latest changes and the release notes of the installed version. The What's New window also opens the full release notes in the help viewer.
  • A page missing in the user's language is shown in English, or in another language it has, with a notice. View on docs.clarive.com is shown only on the product pages the site has.

The ? button of the header now opens the help page of the screen the user is on, for example the Rule Designer, the roles, the job monitor or the topics. Features can declare the help of their own screens with the new SDK methods sdk.addHelp(route, doc) and sdk.useHelp(doc) (feature SDK 1.1.0).

The documentation of a feature goes in docs/<lang>/<feature id>/. It is private by default: the new docs.public option of feature.yml marks it as publishable on docs.clarive.com, so customer documentation never leaves the installation. A new developer page, Documentation and Help, explains how to write it. The old help panel has been removed. Also, help pages edited in place now show their changes at once, instead of after the cache expires (up to 25 hours).

[ENH] #4156 Make a really narrow topic split view work

The topic list of the split view stays readable when it is very narrow. Below 480 pixels it shows only the title column: the title takes the whole row with the ... menu at its right, and the status, the topic label and the modification info go to the line below. Wider lists keep the status, title and actions columns.

Also fixed the bold titles in the split view: unread topics are in bold, as in the full topic grid, instead of all the titles in the narrow list or none in the wide one.

[ENH] #4157 clarive CLI downloads, and the MCP audit fields fixed on product

The clarive command line client is now built with each Clarive release and published for download for Linux, macOS and Windows (x86_64 and arm64), together with a file of SHA-256 checksums. The archives are served from clarive.com/downloads/cli/, and the installation instructions of the CLI documentation now download it from there instead of building it from the sources.

This change also brings several fixes to the CLI and the MCP server:

  • A destructive operation, such as clarive topic delete, is now refused when there is no terminal to confirm it, unless --yes is given. Before, it ran at once, for example when an AI agent called clarive from its shell. clarive api call now checks the kind of the operation with the server, so a destructive operation does not run unconfirmed because the local list of operations is out of date.
  • clarive mcp no longer cuts tool calls after 5 minutes: as documented, calls have no time limit unless --timeout is given.
  • The event.mcp.call audit event now records the prefix of the token used in the token_prefix variable, which event.get shows instead of masking it. Its remote_addr now holds the address of the caller as reported by the proxies in front of Clarive (nginx, Cloudflare), instead of always 127.0.0.1.
  • The MCP setup for VS Code and GitHub Copilot now uses the Copilot configuration files (mcpServers in ~/.copilot/mcp-config.json or in a .mcp.json file of the workspace), and explains the limit of 128 tools per request.
  • Corrections to the documentation of clarive whoami, of the MCP tools (public operations such as auth.login are not offered as tools) and of the clarive calendar check-window example.

[ENH] #4190 Keep wrap mode selected in log details

The Wrap button of the data panel of the job log now stays on. When it is turned on, the next log row opened, in the log or in the job tree, also shows its data wrapped, even after closing and opening the panel again. The choice is remembered in the browser.

A new command, cla docs-check, checks the links of the installed documentation: the core and every feature, in every language. It checks the links to other pages and to their headings, the images and files, and the help pages that screens and features declare for the contextual help (Cla.help_push, sdk.addHelp and sdk.useHelp). Links are checked against the whole documentation, so a feature can link to the core pages and the other way round. cla docs-check --feature <id> checks only the documentation of one feature. The command lists the file, line, link and reason of each broken link and ends with an error code, so a feature pipeline can run it.

The new check found several broken links in the core documentation, which have been fixed, and a code block in the MongoDB setup page that was never closed and made the rest of the page show as code.

[ENH] #4200 Reply to posts

The comments of a topic can now be answered. Each comment has a reply link that opens an editor right below it, and the reply is shown nested under its comment, as a thread. A thread moves to the top of the activity when it gets a new reply. Threads are one level deep: replying to a reply adds it to the same thread. The author of the comment answered is notified, along with the usual users of the topic. A reply to an internal comment is always internal, and the replies of a deleted comment are kept, with the note In reply to a deleted comment.

The event.post.create and event.post.mention events carry the id_parent of the thread of a reply, and event.post.create also carries the parent_author of the comment answered.

[ENH] #4201 Legacy view of jobs monitor/log in user profile

The job interface is now a user preference. The new Job Interface option of the user's Preferences chooses between Modern (the default) and Legacy, and the Monitor and the job page, with its dashboard, log, stash and logfile, always open in the chosen interface. Choosing Legacy shows a warning that the legacy job interface will be removed in a near future release.

The Classic view buttons of the Monitor and the job page, and the Open classic log action of the Monitor, have been removed. Links to jobs are the same in both interfaces, so a link shared by another user opens in your own interface, and the old /legacy, /legacy-log and /legacy-monitor addresses open the screen of your preference. Phones always show the modern job screens.

[ENH] #4214 Let the repository pages of a feature keep their view in the URL

The repository pages that a feature adds can now keep their view in the address of the page. They receive the URL query (query) and a function to change it (setQuery), so a link can open them on a given version or tab, and reloading the page or using the browser Back and Forward buttons keeps the view. The keys of a feature go in the URL with an f. prefix, for example f.version=2.0&f.tab=objects, so they never mix with the keys that Clarive uses. Changing the query does not load the page again. This comes with the feature SDK 1.2.0; features built for earlier versions of the SDK keep working.

[ENH] #4221 SBOM in the API and MCP: query the SBOM of a release so an agent can fix and update its packages

The SBOMs and their vulnerability findings can now be read and managed through the Clarive API, and so also from the clarive CLI and from the MCP server, as sbom_* tools. Before, they could only be seen in the web interface and with cla sbom. An agent can now ask which packages a release ships, which of them are vulnerable and what version fixes them, and then update them.

The new sbom namespace has these operations:

  • sbom.release gives the SBOM of a release: the reports of the release and of its changesets, and their vulnerable packages, most severe first. Each package lists its findings, the lowest version that fixes all of them (upgrade_to), the manifests and repositories that declare it and, for a transitive dependency, the direct dependency to update. It also lists the repositories not analyzed yet, and a summary.
  • sbom.list, sbom.get, sbom.component, sbom.vulnerabilities, sbom.totals and sbom.cyclonedx read the reports, their components, the findings, the totals and the CycloneDX document.
  • sbom.analyze analyzes a topic, or a release with its changesets, in the background, and sbom.task follows its progress. sbom.targets and sbom.scan generate and scan reports, and sbom.set_vuln_status changes the status of a finding.

The operations follow the same permissions as the SBOM pages, by project and repository. The SBOM guide has a new section about the API, with the workflow for an agent: read the release, update the packages in the topic branch, push, and analyze again to check.

Also, a new analysis that finds no dependencies now replaces the previous report, so its old findings are no longer shown as current.

[ENH] #4242 AI Agent Instructions: per-installation and per-project instructions for MCP/CLI agents, in snippets, editable in Admin

AI agents connected to Clarive through the MCP server or the clarive CLI know the product, but not each installation: which category to use for a bug, which status starts a deploy, which rule builds the job, who approves a release to PROD. Agent Instructions tell them. They are short Markdown texts, called snippets, each with a category (Workflow, Topics, Deploying / Ship, Rules, Security and others), either global or assigned to one or more projects. Every agent that connects is told to read them before working on a project. They are instructions for using Clarive: how to code in a repository stays in that repository's own AGENTS.markdown or CLAUDE.markdown.

An agent can write the instructions from the configuration of the installation. Users with the new permission Prepare the AI Agent Instructions (action.ai.instruction_setup) are warned by their agent when the instructions have never been prepared, and are asked "Prepare Clarive AI Instructions now, this operation will take a few minutes?". If they agree, the agent reads the configuration, the rules and some recent topics and jobs, and writes the snippets. When the Warn when the Clarive configuration changes option is on, they are also warned when rules, categories, workflows, statuses, environments or projects change afterwards, with a list of what changed. CLI users get the same warning as one line on the error output, which CLARIVE_NO_NOTICE=1 turns off. Other users are never warned.

The new Admin > AI > Agent Instructions page turns the instructions on and off, shows whether and when they were prepared and what has changed since, and lets administrators write and edit the snippets by hand. The snippets can be seen by project, by snippet, by category, as a list, and by their estimated cost in tokens, with a search and filters. New ai operations of the API, MCP server and CLI read the instructions for the installation or for a project, and manage the snippets and the settings.

[ENH] #4243 Make the in-app help open fast and show that it is loading

The in-app help now opens much faster and shows that it is loading. The index of the documentation is kept ready in the cache, and it is updated at once, without a restart, when a page is edited or a feature is installed. The help viewer no longer shows a blank page: it shows placeholders while the index and the first page load, keeps the previous page dimmed under a progress bar while the next one loads, and shows "Searching..." during the first search. Screen readers are told when the help is loading too.

[ENH] #4246 Job monitor and job page: classic status badges, tabs in the header line without the job fields band

Adjustments to the new job monitor and job page, to bring back the look users liked in the classic monitor and to save space in the job page:

  • The status of each job in the monitor is again the badge of the classic monitor: its icon and its name in capitals, inside a line of the color of the status (green for success, red for error, yellow for a rollback success, blue for running, ready or waiting for approval). The spinner of a running job, the warning icon, the queue position and the click that approves, resumes or opens the trap actions stay as they were.
  • In the job page, the tabs (Dashboard, Job Tree, Log, Stash and Logfile) move up to the line of the job name and status, so they no longer take a line of their own.
  • The band of job fields under the name is gone. Those fields are in the Summary of the Dashboard tab, which now shows its 12 fields in 2 rows of 6.

Phones keep their layout.

[ENH] #4290 MCP server: OAuth sign-in for Microsoft Copilot Studio and Microsoft 365 Copilot (each user as themselves)

The MCP server can now be used from clients that cannot send a token header and connect to remote MCP servers with OAuth: Microsoft Copilot Studio agents, Microsoft 365 Copilot agents in Teams, VS Code and the web versions of other assistants. Clarive is its own OAuth authorization server for /mcp. The client opens a Clarive page, the user signs in with the usual Clarive login (local accounts, LDAP, SAML2 or CAS), allows the application on a consent page, and the client gets a token of its own for that user. Each user works as themselves, with their own roles and projects; there is no shared token.

  • Copilot Studio connects with Dynamic discovery, with nothing to set up in Clarive, or with a Manual client created by an administrator with the new oauth operations (clarive oauth create-client).
  • Access tokens last one hour and refresh tokens 90 days from their last use. The consent page decides whether the client may make changes or only read.
  • Users can list and disconnect the applications they allowed (oauth.list_grants, oauth.revoke_grant). An OAuth token cannot create other credentials, such as API tokens or client secrets, so nothing outlives disconnecting an application.
  • New audit events event.oauth.grant and event.oauth.client, and the settings under oauth: in the config file, are described in the new Microsoft Copilot and OAuth page of the MCP documentation.

Note: OAuth and the dynamic registration of clients are on by default. Behind a proxy or CDN, /.well-known/* and /oauth/* must reach Clarive like /mcp does. Set oauth.dynamic_registration: 0 to accept only clients created by an administrator, or oauth.enabled: 0 to turn OAuth off.

[ENH] #4303 Memory limit for the web workers: recycle a worker after the request that takes it over web_max_rss (41573)

A web worker can now be recycled when it uses too much memory. Before, max_requests only restarted a worker after a number of requests, so a worker that grew in one heavy request could keep that memory for a long time.

The new web_max_rss setting sets, in MB, the memory (RSS) a web worker may reach. After the request that takes a worker over the limit, the worker finishes that request, closes the connection and exits, and the web server starts a new one. No request is cut. The cla-web log shows a warning with the PID, the memory, the limit and the method and path of the request, which helps to find the requests that make the workers grow. It is set like max_requests, in config/clarive.yml, in the environment file or with --web_max_rss. 0 or missing turns it off, which is the default.

The memory counted includes the part a new worker shares with the web server, about 500 to 650 MB, so the limit must be set above it, for example web_max_rss: 2048. The configuration file documentation describes the setting.

[ENH] #4307 Job log: long messages on several lines as an option, and a movable Actions column in the log and the monitor (41576)

Long messages in the job log can now be read whole in the list. A new Messages on several lines button, next to Columns in the log toolbar, shows each message on the lines it needs and keeps its line breaks, as the classic log did, so for example the whole command of a step can be seen. Click it again to go back to one line, with the whole text in the tooltip. One line is still the default, and the browser remembers the choice for every job log, as it does with the columns.

The Actions column can now be moved like the other columns, in the job log and in the monitor, and in the monitor it can also be resized. The column layout keeps it where the user put it, and a new or reset layout still has it last. In the job log, while Actions is the last column it stays on the right edge when the columns do not fit; moved anywhere else, it scrolls with the others. The job log and monitor documentation describes both changes.

[ENH] #4318 Attachment names: rules for special characters (typographic dashes and quotes, tabs, invisible characters), with a proposed rename and new-version detection

Clarive can now check the names of the files attached to topics for special characters. Names copied and pasted from Windows, a browser or Office often look normal but carry typographic dashes and quotes, tabs, non-breaking spaces, zero-width characters or accents split in two. These names break scripts, deploys, storage providers and searches, and a file that should be a new version of an attachment ends up as a separate attachment because its name differs by one invisible character.

  • Global rules: an administrator switches the check on in Administration > System > General Settings, tab Attachments, with no restart. The check is off by default. There is a switch for each built-in rule (composed accents, typographic quotes, typographic dashes, tabs and unusual spaces, invisible characters, control characters, characters Windows does not allow, and letters outside ASCII), custom rules made of a name, a regular expression and a replacement, and a Try a name box to see what the rules do to a name before saving them. The rules are also kept as text in config.attachment.names.rules, for the API, the CLI and the MCP tools.
  • Per field: the Attach files fieldlet of a form rule can use the global rules, add its own rules to them, use only its own rules, or not check the names at all.
  • Never refused: when a name breaks a rule, the browser shows the characters that are not allowed and proposes a clean name, which the user can accept or edit, or the user can skip that file. For example, Report – final’s.docx becomes Report - final's.docx.
  • New versions: when the topic already has an attachment with a similar name (the same name once case, accents, spaces, punctuation and invisible characters are left aside), Clarive offers to upload the file as a new version of that attachment.
  • Also in the server: the same rules apply to the topic page, the API (topic.upload_file) and the rule services that attach files. A name that breaks them is stored clean, never rejected, and topic.upload_file returns the original name in renamed_from.

General Settings now also shows the value of each setting correctly; before, a setting could show the value of another one of the same group. A new Attachment Names documentation page describes the rules, with examples of custom rules.

[FIX] #3952 Repo data command injection

Fixed a critical security flaw in the repository browser of the lifecycle tree for Plastic SCM repositories. Some values of the request were passed to the system shell without being checked, so any logged-in user could run commands on the Clarive server with the permissions of the web server. These values are now passed to the cm command as plain arguments, and no shell ever reads them. The browser works as before.

[FIX] #3953 Sanitize topic comments to stop stored XSS

Fixed a critical security flaw in topic comments. The HTML of a comment was saved and shown exactly as it was sent, so a user could post a comment with code that ran in the browser of everyone who opened the topic, administrators and approvers included. Comments are now cleaned when they are saved and also when they are shown, so the comments saved before the upgrade are safe too. The usual formatting of the editor and the @mentions keep working, and nothing needs to be done after the upgrade.

[FIX] #3957 Block NoSQL operator injection in topic grid

Fixed a security problem in the topic lists. The filter that the topic grid sends to the server was used as the database query as it came, so any logged-in user could add query conditions of their own to it. This could be used to find out data of topics the user cannot see, or to slow down the server. The server now accepts only the kind of filter conditions that the topic grid and the kanban use, and refuses any other with an error message. The filters of the topic lists keep working as before.

[FIX] #3959 SSRF guard for Slack webhook save/test/send

Fixed a security problem in Slack notifications. Any user could save any address as the webhook URL of a Slack notification, and the Test button or a notification event then made the Clarive server send a request to it. This could be used to reach internal addresses of the server's network, such as cloud metadata services or admin pages. The webhook URL must now be an https address on an allowed host, hooks.slack.com by default, and internal or private addresses are always refused. The address is checked when the notification is saved and again before each message is sent, so webhooks saved before this change are checked too. The server does not follow redirects from the webhook either.

Note: webhooks that point to a host other than hooks.slack.com, such as a self-hosted Slack-compatible relay, stop sending messages until their host is added to the slack_webhook_allowed_hosts key of the config file. Webhooks with an http address must be changed to https.

[FIX] #4071 Events purge and over storage

Fixed the event storage growing more than it should. Every rule op with error trapping enabled fired a job retry event, with the job data, and set the job back to running each time it ran, not only when the job was really retried after an error. It now does so only on a real retry, and the job is set back to running after an error is skipped. Job retry events also store less data about the projects of the job.

The event purge is also fixed. It now removes the event logs (rule output, stash and DSL) and their stored files together with their event, and it also removes the event logs left behind by older purges whose event no longer exists. The database indexes the purge relies on are fixed as well, so it no longer scans the whole stored files collection. A new purge daemon setting, event_pending_purge, sets the number of days to keep events stuck in pending status, which were left behind by an interrupted process and will never run (disabled by default). The purge daemon documentation describes both.

[FIX] #4074 Remove relations in topics documents when deleting topics

Fixed deleted topics that were still listed in the topics related to them. When a topic was deleted, the other topics that referred to it in their relation fields (related topics, parent topics and release fields) kept it in those fields and in their search text. The deleted topic is now removed from them. When the topic is restored from the trash, with or without its dependencies, it is put back in the fields of the related topics. The trash documentation describes this.

[FIX] #4075 Mails not sent in event.post.mention

Fixed the emails for mentions in topic comments, which were not sent: the email template failed because the mention event did not include the projects of the topic. The mention and comment deletion events now include the project names of the topic, as creating and editing a comment do, and the template works even without projects. The notification of a deleted comment now also takes the projects from the right topic, and a project that no longer exists no longer makes the email fail.

[FIX] #4077 New job panel uses local time to schedule a job instead of the server time

Fixed the scheduling of new jobs when the clock of the user's workstation is not in sync with the Clarive server. The New Job panel took the time of the workstation as "now": with a workstation two minutes ahead of the server, a job that was not scheduled for later still waited two minutes to start, and the earlier times could not be picked.

The New Job panel and the Deploy dialog of the topic now have Local and Server buttons next to the time, to choose which clock is used as "now": the workstation's or the Clarive server's. The selected clock decides the first date and time offered. Its current date and time, with its time zone, is shown next to the buttons, and the browser remembers the choice for the next jobs. Also fixed the minute marks of the time slider in the Deploy dialog, which were drawn wrong.

[FIX] #4080 Timeout submitting new job with many changesets

Fixed the slowness of the Deploy dialog and of the job submission for releases with many changesets, which could end in a timeout. Opening the dialog loaded each changeset with a request of its own, and creating the job read the changesets and their related data many times. The dialog now loads all the topics of the job in one request, and the calendars, the job statistics, the job events and the rules read what they need with far fewer queries. The job log no longer writes one entry per changeset on each status change either. If the submission or its preparation fails, the dialog now shows the error instead of a spinner that never stops. The job documentation has a new section on jobs with many changesets.

[FIX] #4082 Internal report performance User Roles by project

Fixed the User roles by project report, which took more than 90 seconds and never finished when there were groups with many projects and users. The report now gathers its data in a much lighter way and answers quickly, with the same filters as before. A search with special characters, such as a parenthesis, no longer fails either.

[FIX] #4092 When loading topics on a new tab got "Something went wrong!" message

Fixed the message "Something went wrong!" that often appeared when a topic was opened in a new background tab, for example with Cmd+click or Ctrl+click on the topic. Browsers delay the work of background tabs, so the breadcrumb of the page could be built for an address the page had already left, and the page failed. The topic now opens correctly in the new tab.

[FIX] #4099 Scheduler task hangs when started at same second as another because of tee flag name.

Fixed scheduled tasks that could hang forever when several tasks started in the same second. The processes of those tasks chose the same name for a temporary file used to capture their log, so only one of them could create it and the others stayed waiting. Each task now gets its own file names.

[FIX] #4100 Job daemon fork and Daemons services fork fix for seed

Fixed jobs and dispatcher services that could hang forever while writing their log. Jobs started by the job daemon, and services started by the dispatcher, at the same moment could pick the same temporary file to capture their output, and then one of them blocked. Each job and service now picks its own file.

[FIX] #4101 New monitor adaptations

Fixed several problems of the new job monitor and job page:

  • Approving a job from the actions menu failed. Jobs can now be approved and rejected from the new monitor, as in the classic one.
  • The job log showed as plain text the HTML of the messages whose tags had attributes, such as the formatted messages written by rules. The usual tags are now rendered, and lists, tables and other blocks stay on the line of their message.
  • A job already rolled back that a rule made rollbackable again now offers the rollback again, as the classic monitor does.
  • The user chosen as owner in the rerun dialog, in both monitors, was lost. The rerun job now keeps that owner, and the rerun checks the permissions of the user who runs it.
  • When a job could not be created, the message only said "Error creating job:" without the reason. The reason is shown again.
  • A request that gets no answer from the server now shows "Connection Error" with the reason given by the browser.

Two security problems were fixed too. The actions on jobs and other resources now always run as the logged-in user: a user name sent with the request is ignored, so a user can no longer rerun, reschedule or approve jobs as another user. And the HTML of the log messages is now sanitized in the new job log: only safe tags are rendered, without scripts or event handlers, images only load from Clarive itself, and a message can no longer cover the page or send hidden requests when the log is opened or the message is clicked.

[FIX] #4116 No CSRF protection

Fixed a security problem: Clarive had no protection against cross-site request forgery (CSRF). A page of another site, or HTML shown inside Clarive, could make the browser of a logged-in user send requests that ran actions as that user, for example rerunning or approving a job. The web server now refuses the requests authenticated by the session cookie that come from another site. Links from other sites, such as emails or wikis, still open Clarive pages and downloads. Requests authenticated with an API key, Basic authentication or a sessionid are not affected, and neither are scripts, integrations or rule web services. The methods of resources (/ci/<mid>/<method>) called with the session cookie now run only by POST or from the Clarive interface.

The classic job log now renders its messages sanitized, with the same rules as the new job log, so a message can no longer run code in the browser of whoever opens the log. Only users who can see a job can now add comments to its log.

Note: the full protection needs Clarive served by HTTPS, because browsers only tell where a request comes from to HTTPS sites. If a portal of another site calls Clarive with the session of the user, add its origin to the csrf.allowed_origins key of the config file. The sessions documentation describes the check.

[FIX] #4117 Security regressions

Fixed three problems caused by the security fixes of this release:

  • Slack notifications were no longer sent. The new check of the webhook's TLS certificate failed every time, because the certificates bundled with Clarive cannot validate hooks.slack.com. The certificate is no longer checked, as before, and messages are sent again. The allowed hosts and the block on redirects still keep a webhook from reaching other addresses.
  • Comments and rich text topic fields lost their pasted images, tables and strikethrough text when they were cleaned of unsafe HTML. These are kept now. Other data: links are still removed.
  • The Plastic SCM repository browser could show no files when no folder was requested. It lists them again.

[FIX] #4118 Dashboards gets empty when only one row is visible for last page + get back number of rows selector.

Fixed the dashlet tables, which went blank when the last page had a single row. The rows per page selector is back in the title of the list dashlets, with Auto (the rows that fit, by default), 10, 20, 50 and All. The topic list fields of a topic offer the same sizes, starting with the Table Page Size of their configuration, and in the Always mode they always show the pager, also when all the topics fit in one page. The pager of the topic grid opened from a topic list field now shows "19 / page" instead of a bare "19" when the page size is not one of the usual ones.

The list tables of the dashboards and the topic list fields have also improved:

  • Columns can be resized and moved, and the rows can be grouped by a column from the group icon of the title, with the totals of each group. A date and time groups by its day. The dashboard saves the layout with the dashlet.
  • A click on a column header sorts by it, ascending, descending or not at all, and Shift+click (or Ctrl+click) adds more columns to the sort. The arrows at the right of each header show the order, with a number for the place of each column.
  • The Sort by setting of the List topics dashlet and of the topic list fields takes several fields, each one with its own direction, for example due_date desc, title asc. The table starts sorted that way.
  • The Monitor sorts by several columns with Shift+click, and both the Monitor and the job log group their rows from the group icon.

[FIX] #4120 Git clone of a repository URL ending in .git

Fixed cloning a Clarive Git repository with a URL ending in .git, such as /git/<project>/<repo>.git. Clarive did not find the repository <repo> and created a new empty repository named <repo>.git, linked to the project, so for example the Git timesync of the project's jobs failed with "your current branch 'master' does not have any commits yet". The .git ending is now ignored when looking up the repository, a repository is never created with a name ending in .git, and only a push creates a new repository: cloning or fetching a repository that does not exist answers that it was not found.

[FIX] #4126 Topic view relation fields show stale values instead of master_rel

Fixed the right-hand panel of the topic view, which since the in-view editing of 7.20.1 could show different related topics and releases than the edit form. A release field could show "None" although the topic was in a release, removed relations were still listed, and relations added by rules or from the other topic were missing. The topic view now always shows the current relations, the same ones as the edit form.

Also fixed emptying a relation field from its inline editor in the topic view. The fields of releases, topics, resources (CIs), projects, assignees and combo chains kept their value when all their items were removed. The field is now cleared.

[FIX] #4133 Search box of the list fields in the topic header

Fixed the search box of the list fields shown in the header of a topic. The magnifier icon sat over the text being typed, and the clear button was out of place. The box now has its normal size: the text starts after the magnifier and the clear button sits at its end.

[FIX] #4134 New job checks the active jobs of all its changesets

Fixed the check of active jobs when a new job is created. Clarive only checked one of the changesets of the job, picked at random, so a job could be created for a topic that was already in an active job to the same environment. All the changesets of the job are checked now.

Also fixed the downgrade of the database migration 0206 (SLA configuration), which failed with the error "index not found with name [HASH(...)]". It now removes the SLA indexes by their name, and skips the ones that do not exist.

[FIX] #4135 migra-start refreshes the code of applied migrations

Fixed downgrades running an old copy of a migration. A downgrade runs the code saved in the database when the migration was applied, so a fix made later to a migration never reached databases already migrated. Before migrating, cla migra-start now replaces the saved code of each applied migration with its file in the installation, when there is one with the same version and name. Migrations without a local file keep their saved code, and a dry run changes nothing. The cla migra documentation describes this.

[FIX] #4136 Adding a user to a group no longer saves the user so groups in user are outdated.

Fixed the groups stored in each user when users are added to a group from User Groups. Since a performance change in July 2026, adding users to a group no longer updated the list of groups kept in each user, so the parts of Clarive that read the groups from the user did not see the new memberships. The groups of the users are now updated in the same save, and only for the users whose membership changed. During the upgrade, a database migration brings the groups of all the existing users up to date, so no action is needed.

[FIX] #4137 Saving a topic in the classic edit form removes the linked topics beyond the field's page size

Fixed the loss of linked topics when a topic was saved from the classic edit form. A Topics field with several values only loaded the first page of its linked topics when the form opened (often 10 in a combo field, 20 in a grid field), and on save the topics that were not loaded were taken as removed. They were unlinked for good, with no warning, and the activity showed the save as a change made by the user. The form now loads all the linked topics of the field, so saving keeps them all.

[FIX] #4139 A new pushed branch lists only its own commits

Fixed the commits of a new branch pushed to a Clarive Git repository. Clarive took as the commits of the new branch all the commits that were not in the production branch (master by default), so a branch started from a release branch ahead of master got all the commits of that release. The topic created by the push took its description from the oldest of them, none of them from the branch, and the activity listed them as new commits of the branch. Now the commits of a new branch are only the ones that are in no other branch of the repository, both for the description of the topic and for the commits and the diff of the push.

[FIX] #4140 CSRF check behind a proxy on a non-standard port

Fixed Clarive refusing its own requests when it is served behind a proxy on a port other than the standard one, such as http://host:8080. The nginx configuration forwarded the host name without the port, so the CSRF check took http://host as the address of the application and rejected the requests of the browser. The check now uses the port and scheme the proxy forwards (X-Forwarded-Port and X-Forwarded-Proto), and when no port is forwarded at all it accepts the same host on any port. The web_url setting is now read from the right place of the configuration as well.

The nginx template and the install guide now forward the host with its port and the scheme. The session setup documentation explains how to configure a proxy in front of the CSRF check.

[FIX] #4143 Deleting topics from the topic grid fails for non-root users

Fixed deleting topics from the topic grid, which failed with the error "Missing parameter collection" for every user except root. The deletion now checks the delete permission of each topic, by its category, status and project, as the topic itself does when it is deleted from its own screen. When a deletion fails, the topic grid now shows the server error instead of only writing it to the browser console.

[FIX] #4144 Selecting topics in a classic topic grid or report sends a workflow request per row and saturates the web server

Fixed the classic topic grid, used for example by the saved topic reports, which could saturate the web server when many topics were selected. Each selected row sent its own request for the workflow statuses, with all the rows selected so far, so ticking the "select all" checkbox on a page of 50 topics or more sent dozens or hundreds of slow requests. They could take up every web server process and cause 502 errors and timeouts in the whole application. The workflow statuses are now loaded once, when the Workflow menu is opened, for the topics selected at that moment. While they load the menu shows "Loading...", and it shows "No Common Statuses" when the selected topics have no status in common.

[FIX] #4147 Report grids show raw user data in the Created By column

Fixed the Created By and Modified By columns of the report grids, which showed raw data instead of the user. They now show the user, like the other user columns.

[FIX] #4160 SSH agent: commands longer than 64K are wrapped in unescaped double quotes and can run injected shell code

Fixed a security problem in remote commands run over SSH. Commands longer than 64 KB were sent to the remote server with their arguments in double quotes that were not escaped, so a long argument with quotes or other special characters could run other commands on the remote server as the SSH user. This could happen with any rule operation, service or API call that passes long arguments. Long commands are now quoted the same safe way as short ones, so every argument reaches the remote server exactly as given, whatever its length.

[FIX] #4161 Server ping runs the hostname through the shell, so editing a server's hostname can run commands on the Clarive host

Fixed a security problem in the ping of server resources. The host name of the server was passed to the system shell, so a user allowed to edit a server's host name could make Clarive run commands on its own server when the server was pinged, from the interface, a rule or the API. The ping now runs without a shell, and a host name that is not a valid host name or IP address is refused with the message "Invalid hostname".

[FIX] #4162 /ci// calls any method of a resource (delete, update, save...) with only a login check

Fixed a security flaw in the route the interface uses to call methods of resources (/ci/<mid or class>/<method>). Any logged-in user could call any method of any resource, such as delete, update or save, whatever their permissions. For example, a user could resume jobs they could not see, rename a status, change the preferences of another user, or read the fields of topics they could not see. The route now only accepts the methods the interface really uses, each one with the permission it needs (for example, seeing the job or the topic, or view permission on the resource class), and any other call is refused with a 403 error.

The DB Query field of topic forms now only runs the query of a field on the database connection of that field, and only for users who can see the category of the form.

[FIX] #4163 UI routes read or change data without the permission checks the API makes on the same operations

Fixed several screens of the web interface whose server requests did not check all the permissions that the same operations check in the API. A logged-in user could read or change data that the screens themselves did not offer. Each request now checks the same permission as the matching API operation:

  • Rule Designer: listing, reading, exporting, comparing and checking rules, their variables, profiling and test sets need the rules permissions, and a user limited to some rule types only reaches rules of those types. Checking a rule compiles its code only for users who may modify it.
  • Notifications, Settings and Labels: saving, deleting and enabling need the administration permission of each screen. The settings grid no longer writes, deletes or exports the keys that the server configuration hides.
  • Messages: users read and delete only the messages of their own inbox.
  • Change password: users change only their own password, and need the change password permission.
  • Roles, Semaphores, Calendars and saved REPL scripts: the editing requests check the permission of each screen.
  • Project settings: changing, deleting, activating or disabling a project, and changing the roles of its members, need the administration of that project, and members can only get roles the user may grant.
  • Topics: reading a topic needs permission to view it, and fields hidden by field permissions are no longer sent. Uploading, downloading and previewing attachments follow the topic view rule and the field permissions. Status changes from the topic, the topic grid and the Kanban board follow the category workflow, and a multi-topic change reports each topic that was refused and why.
  • Effort: listing and logging hours need permission to view the topic.

[FIX] #4164 Variables by environment (variable_environment) is only enforced in the browser; the server accepts writes to any environment

Fixed a security problem with the Variables by environments limit of the resource administration permission (action.ci.admin). The limit was applied only by the variables form in the browser, so a user allowed to edit, for example, only the QA variables could change, add or remove the PROD ones by sending them directly to the server. The server now checks every environment whose values change when a resource is created or saved, including project variables and variable resources, and when a resource is rolled back to a previous version. A refused change saves nothing and the resource editor shows the reason, such as "User foo may not change the variables of environment PROD of project".

Also fixed a resource save that checked the permission against the resource type sent in the request instead of the type of the resource being saved, which let an administrator of one type of resource save resources of another type.

[FIX] #4165 Artifact repositories: one public repository lets a user list files of private ones, and files_json follows .. in paths

Fixed security problems in the artifact repository browsers. As soon as one public artifact repository existed (repositories are public by default), every access check passed, so a user could browse the files of private repositories. A crafted path could also list directories outside the repository, and the search could return files of repositories the user cannot read. Access is now decided on each repository actually listed, the search only covers the repositories the user can read, and a path that leaves the repository is refused with the message "Path ... must stay inside the repository". The repositories the user can read are listed as before.

[FIX] #4166 /job/build_job_window_direct answers without authentication

Fixed a security flaw in the /job/build_job_window_direct route, which answered without authentication: anyone who could reach the web server could get the calendar windows (the available time slots, their calendars and types) of any environment. The route now requires a logged-in user or a token, like every other job route. No part of Clarive used it, so scripts that still call it must authenticate as on any other route.

[FIX] #4167 Job submit does not check deployment windows or workflow transitions on the server; only the dialog does

Fixed job creation from the web interface, which checked the deployment windows and the workflow transitions only in the browser. A request sent by hand or from a script could deploy outside every deployment window, or to an environment or with a job type the workflow does not offer the user. The server now checks both, as the new job dialogs do:

  • Each topic of the job must offer the user that job type to that environment. Changesets that come with a release are covered by the release. Root is exempt.
  • The job must start inside an open deployment window, and it gets the type of the window it starts in. Users with permission to skip the windows can still do so, but must add a comment explaining why, as in the dialogs.
  • A job with no topics is refused.

The new messages tell the user why a job was refused.

[FIX] #4168 Semaphore grant and cancel always report an error even when they worked; numeric flags never match in queries

Fixed granting and cancelling a waiting request in the Semaphores administration screen. The screen always showed the error "Semaphore not found or status changed from granted", although the request had been granted or cancelled. Also, granting a request that was no longer waiting could grant another waiting request of the same semaphore instead. Now the screen reports the real result, and only the selected request is changed.

Internal semaphores stored with a numeric flag no longer show up in the list of semaphores.

[FIX] #4169 Rules model load_tree always returns an empty tree (an inner my $rule shadows the outer one)

Fixed loading the tree of a rule by its id or name from server code, which always returned an empty tree although the rule existed. The steps of the rule are returned now.

This change also includes the semaphore fixes described in #4191.

[FIX] #4170 Running a rule from the Rule Designer always returns a null result (run_rule redeclares $ret_rule)

Fixed running a rule from the Rule Designer, which always returned an empty result. The output and the stash were shown, but not the answer of the run, with the rule and the version that ran. The result of the run is returned now.

[FIX] #4171 HCL views of rules are root-only: action.admin.rules.view is checked but never registered

Fixed the HCL views of rules, which only the root user could open. They required a permission that did not exist and could not be granted in any role. The HCL view of the Rule Designer, the HCL tab of the operation dialog and the Format button of the HCL editors now open for the users with the Administer Rules permission (action.admin.rules), the same permission that opens the Rule Designer, so no role needs to be changed. The rule's limits by id and rule type are respected: a user limited to pipeline rules cannot read nor save the HCL of other types of rules. The Format button also works for the administrators of roles, users and user groups.

[FIX] #4172 Importing a rule loses a pipeline's when and keeps the exported author; restoring a version credits the old author

Fixed three problems with rule imports and versions. An imported pipeline rule lost its default job type (promote, demote or static). An imported rule was credited to the user who wrote it in the installation it was exported from, instead of the user who imported it. Restoring an old version of a rule saved the new current version under the name of the old version's author, instead of the user who restored it. Imports now keep the job type and record the importing user, and a restore records who did it.

[FIX] #4173 Per-role grants never match: get_roles_granted reads bound key role, but action.admin.role_grant registers user_role

Fixed the Administer Roles Granted permission (action.admin.role_grant) when it is limited to some roles. The limit was never matched, so a user administrator allowed to grant only some roles could grant none of them when creating or editing users. Also, a role excluded from an otherwise unlimited grant was not left out. Both cases now work as configured.

[FIX] #4174 Personal access tokens cannot be disabled or deleted from Preferences: toggle_active and remove match _id with a string

Fixed disabling and deleting a personal access token by its id. The operation reported success, but the token stayed active or was not deleted. The Preferences screen was not affected, since it finds the tokens in a different way, but any other caller of these operations now really disables or deletes the token.

[FIX] #4176 Deleting the global value of a config key that has per-environment values makes it read as empty instead of its default

Fixed the reading of configuration values after the global value of a key was deleted while some environments kept a value of their own. The key was then read as empty instead of its default value, both globally and in the environments without a value of their own. The same happened to a key that only ever had values for some environments. The default value is now used whenever no stored value applies.

[FIX] #4177 TopicMetadata::get_meta_fields_from_category dies unless called on Baseliner::Model::Topic

Fixed an error when getting the fields of a topic category, with the permissions of the user applied, from some of the internal topic models. It only worked from the main topic model (Baseliner::Model::Topic); from the others it failed with a missing method error, also when no category was given. It now works from all of them, with the same result. The screens of Clarive already used the main model and are not affected: the fix is for custom code and features that use the other models.

[FIX] #4178 Label priority updates die: Label.pm calls max without importing it

Fixed the server functions that update the label priority of topics, the value the topic grid uses to sort by label priority. They always failed with an error as soon as they ran. The label screens and the API used their own copy of this logic, so nothing visible was broken, but any other code that called these functions failed. They now update the topics correctly, and labels without a priority count as 0.

[FIX] #4179 Git merge messages get stray backslashes before double quotes

Fixed the message of the merge commits made by the git merge service, used by rules and by the API. Every double quote of the message got a backslash in front of it (Merge \"foo\" instead of Merge "foo"). The message is now kept exactly as given.

[FIX] #4180 Git blame in the repository browser ignores the selected revision

Fixed the blame view of the git repository browser, which ignored the selected revision and in practice showed nothing at all. Blame now shows the file at the selected revision, or at the selected branch when there is no revision. Values that git could read as options are refused, so they cannot be used to read other files of the server.

[FIX] #4181 ClariveSE API v1 topic update dies: _update_topic is called with the wrong arguments

Fixed topic updates through the ClariveSE v1 API (/api/v1/topic/update/<mid>), which always failed with "API Error: Topic not found". The update now works, and it writes only the fields the user may edit: read-only and hidden fields are left out. The title can now be updated too, while the category and the status are still refused.

This also fixes a permission check of the v1 API: a user without the permission to edit or delete topics (action.topics.edit, action.topics.delete) could update or delete a topic without project security through it. Such a user is now refused.

[FIX] #4182 Worker agent: file_exists asks every worker, chmod/chown send Perl to the Go worker, put_dir is broken, get_dir/mkpath/rmpath do nothing

Fixed several file operations on servers reached through a Clarive worker (cla-worker):

  • Checking whether a file exists asked every connected worker, and the first one to answer decided. Now only the worker of that server is asked, and a worker that refuses or does not answer gives a clear error instead of "the file does not exist".
  • Changing the permissions of a file (chmod) did not work, because it sent code the worker cannot run. It now runs the chmod command on the worker.
  • Sending a directory to the worker always failed. It works now, and the directories keep their permissions.
  • Fetching a directory from the worker, and creating or removing a remote directory, did nothing but reported success. They now do their job, or fail with a clear message.

Directories fetched from a worker are refused if they contain links or special files, so a compromised worker host cannot write outside the destination directory on the Clarive server. Shipping files to a worker also makes fewer calls to it.

[FIX] #4183 SSH agent repeats the previous command's output when reused, delete_file runs rm on the wrong host, put_data leaks a temp file

Fixed three problems of the SSH connection to servers:

  • When the same connection was used for several commands, as is usual in a job, every command reported the output of the first one. Error messages, for example of a failed chmod or chown, and the output read by rule operations and the API, were wrong. Each command now reports its own output.
  • Deleting a remote file opened a second SSH connection from the remote server to itself, which usually failed or could reach another machine. The file is now deleted over the existing connection.
  • Sending data to a server left a temporary file on the Clarive server every time, possibly with sensitive data, and two transfers to the same server at the same time shared that file. A unique temporary file is now used and always removed.

[FIX] #4184 Tests assume git's default branch is master; auth.t's LDAP mock and system_messages.t fail on a clean checkout

Fixed several automated tests that failed depending on the machine they ran on. The tests that create Git repositories failed where Git is configured to name the first branch main, and the LDAP login and system messages tests failed with recent versions of the YAML library. The tests now pass on any machine. Clarive itself does not change.

[FIX] #4185 cla import dies in packed installations: Baseliner::View::Mason's comp_root is empty

Fixed cla import in packed installations, such as the ones installed from the release archives, where it failed before importing anything with the error "comp_root path '' is not an absolute directory". The command did not prepare the server environment before loading the application, so it only worked when BASELINER_HOME was set by hand. The same problem affected cla import-plan, cla diff, cla rule-check, cla rule-ref, cla rule-run, cla sbom-scan and the other SBOM commands, cla docs-build, cla repl and cla keeper, and cla critic failed even outside packed installations. All of them now prepare the environment as the server commands do, and work without setting any variable.

[FIX] #4186 cla export --stdout writes non-ASCII text as Latin-1, and cla import of it fails with HCL005

Fixed cla export --stdout, which wrote text with accents or other non-ASCII characters (such as "Revisión") in Latin-1 instead of UTF-8. Importing that output then failed with the error HCL005 "Invalid escape sequence \x in string". cla export --stdout and cla fmt --stdout now write UTF-8, like the files written with --path, so their output can be imported back.

[FIX] #4187 HCL export writes a call's comment (qtip) as note, so saving the rule from HCL moves it to the note field

Fixed the tooltip of rule steps that have a note when the rule is saved from HCL. The Rule Designer keeps a copy of each step's note as its tooltip, and a save from the HCL view kept the note but dropped that copy, so cla rule-check reported "error lost qtip". The note is still written once in HCL, and reading it back now also restores its tooltip copy, as the Rule Designer does. Applying HCL to a step in the operation dialog updates the tooltip along with the note, and cla rule-check no longer reports the copy as lost. The HCL documentation explains the tooltip copy.

[FIX] #4191 Flaky sem.t and mongoc client.t fork tests; Sem release frees a slot it no longer holds

Fixed semaphores letting in more processes than their maximum number of slots. A process that released a semaphore freed a slot even when it no longer held one, for example when its entry had already been removed as dead by another process, or when the semaphore had been purged and created again, so it freed the slot of another process. A process now frees its slot only while it holds it, and freeing the slot and leaving the queue happen in a single step. A semaphore whose slot count was left higher than the processes really using it stayed blocked for good; Clarive now corrects the count by itself, and processes granted the semaphore by hand are no longer counted as using a slot.

Two automated tests that failed now and then, for semaphores and for the database connection after a fork, have been fixed as well.

[FIX] #4193 Ship a File Remotely asks for rollback when its Needs Rollback mode is missing (HCL imports drop it)

Fixed HCL imports that made Ship a File Remotely steps ask for rollback. A ship step with no Needs Rollback value stored marks its job step as needing rollback once it ships a file, so any later failure in the job runs the rollback. The HCL export left out the "No Rollback Necessary" value, and the import did not write it back, so after an export and an import every ship step set to "No Rollback Necessary" asked for rollback.

Now, for Ship a File Remotely and Write remote file, the HCL export always writes the needs_rollback line, and importing one of these steps without that line stores "No Rollback Necessary", as the HCL documentation says. What the steps do in the jobs does not change. cla rule-check now reports these changes, and the rollback check of the rule critic finds more kinds of rollback logic, such as a step that only runs in rollback or an IF ROLLBACK block.

Note: HCL files exported before this version leave out the needs_rollback line of ship steps. Applying one of them stores "No Rollback Necessary" on all its ship steps, including the ones that asked for rollback. Export the rules again, or add needs_rollback = "nb_after" to the ship steps that must ask for rollback.

[FIX] #4196 Topic activity: chips of changed topics break mid-label, the category acronym and the #mid land on separate lines

Fixed the topic chips in the activity of a topic. In the entries of a changed field that lists topics, for example the topics of an epic, the chip of each added or removed topic broke in two lines when the column was narrow: the category acronym stayed on one line and the topic number fell to the next, and the title next to it was squeezed into a thin strip. The chips now keep their width on one line, and the title takes the rest of the space.

[FIX] #4197 Rebasing leaves a trail of new commits in comments

Fixed the long trail of commits shown in the activity of a topic after its branch was rebased onto a release, or after a release was merged into it. Clarive showed one "New commit in branch" line for each commit of the release that the push brought to the branch, sometimes hundreds of them.

Clarive now detects that the push brought commits that a base branch already had, and the activity shows a single line such as "Rebased with release/7.24 (296 commits)" ("Merged with" for a merge), with links to the commit log of the branches and to the new head commit, followed only by the commits of the branch itself. The base branches are the default branch of the repository, the production branch of the project and the branches matched by the new Git configuration key config.git.base_branches, a regular expression whose default value is ^(?:master|main|develop|release/.+)$.

Rules on the "Topic Revisions Updated" event also get only the commits of the branch, and a new rebase value with the base branch, the kind (rebase or merge) and the number of commits it brought. Activity entries saved before the upgrade are shown as before.

[FIX] #4198 Epic bugs follow-up

Fixed several problems found while working on other fixes of this release, most of them security issues.

Security fixes:

  • The repository browser accepted values that git reads as options, so a crafted request could make git write a file on the server or run shell commands. These values are now refused with the error "Invalid git argument". The browser also opens only the Git repositories of the user's projects (root users excepted), so a repository of another project can no longer be browsed through a hand-made link.
  • With a balix user configured in a server, the arguments of remote commands could be expanded by the shell of that user. They now arrive exactly as written, as on a server without a user, and arguments that contain a single quote now work in the balix and clax agents.
  • Creating a resource through /ci/update now needs the admin permission of its class, as creating it from the interface already did.
  • Admin > Variables: saving, deleting and copying variables now need action.variables.admin, within the environments the permission is limited to.
  • Creating, linking and unlinking the repositories of a project now need the admin permission of the project, and only allow the repository types the user may create.
  • In the Rule Designer, running a tree or DSL code from the Test tab now needs the permission to modify rules (action.admin.rules.modify), the diagram views need permission on that rule, and the operation timings only show the rules the user may read.
  • The field content window of a topic only shows the fields the user may read.
  • /topic/get_files and /effort/user_daily_hours always answer for the logged-in user, and listing the sequences needs action.development.sequences.
  • Only the members and the admins of a project can list its members and their roles.
  • The artifact browser no longer follows symbolic links that point outside of the repository, in its listings, its search or its catalog. Searching a repository with such a link no longer fails.

Other fixes:

  • A job cancelled while running and killed in the middle of a step no longer fails with "Job cancelled by user" at its first task when it is run again.
  • Worker agents: rollbacks of files shipped to a worker no longer fail, command timeouts are counted correctly, and mkdir and rm now work on Windows workers, where chmod no longer fails.
  • In the Rule Designer, the dialog of a Ship a File Remotely or Write Remote File step with no rollback mode stored now shows "Rollback Needed After", the mode the step really runs with. Before, it showed "No Rollback Necessary", and pressing Apply turned the rollback off.
  • In the variables of a resource or a project, an admin limited to some environments now sees the common values (*) and the other environments read-only from the start, and saving no longer rewrites the environments the user may not change, which made the server refuse the save. Users with only view permission see the variables read-only.
  • Users whose SBOM permissions are limited to some repositories can now open the SBOM page for those repositories, and admins of some resource classes now get the lists of classes and roles of the resources screen.
  • An SBOM step written in HCL now lists its parameters in the order of its form.

[FIX] #4199 Translate the forms of features that have their own dictionary

Fixed the forms of resources and rule operations brought by a feature with its own translation file, which showed in English even with the interface in another language (for example, the GeneXus Server policy form in Spanish). They are translated now. A feature still cannot change the texts of the core or of other features: its dictionary only adds the texts that the core does not have. The developer guide of frontend features explains it.

[FIX] #4203 cla import --dry-run asks for confirmation and reports changes as "applied" although nothing is written

Fixed cla import --dry-run, which asked for confirmation and, after a "y", reported the changes as applied ("1 applied") although nothing was written. A user could believe a change had been deployed when it had not. A dry run now never asks for confirmation, and its summary says "N would be applied, ... (dry run, nothing was written)". Without --dry-run, the command asks for confirmation as before.

[FIX] #4212 Tell the user why a revision could not be removed from a topic

Fixed removing a revision from a topic when the removal is refused, for example by a repository that does not allow it (as GeneXus Server versions do) or by the check of mandatory fields. The screen showed nothing and the revision simply stayed in the topic, while the reason only appeared as an error in the browser console. The reason is now shown to the user, and the topic and its activity are refreshed.

[FIX] #4253 The job window reads every topic of the project to find its groups (41573)

Fixed the slowness and the high memory use of the New Job panel and the Deploy dialog in projects with many topics. To find the calendars of the groups of a project, Clarive read every relation of the project, which are mostly its topics. In a project with about 164,000 topics, each request took 7 to 9 seconds and 400 to 500 MB of memory, which the web server process kept until it ran out of memory. Clarive now reads only the relations between the project and its groups, so the same lookup takes a few milliseconds and no extra memory, with the same groups and calendars as before. The job submission benefits from the same change.

[FIX] #4266 One broken help page must not take the whole help down

Fixed the help when a single page cannot be read, for example a page that fails to build, has a wrong header or has no read permission. The whole help stopped loading and showed "The help could not be loaded" in every language. Now the help leaves that page out, writes in the log which page failed and why, and keeps showing the rest. Opening the broken page shows a clear message instead of "Document not found", and the page comes back by itself once it is fixed. cla docs-check also reports the pages that the help cannot read, with the reason.

The Rulebook API help page has been removed, since rulebooks are deprecated.

[FIX] #4268 Creating a job and the calendar API read every topic of the environment or project (41573)

Fixed slow job creation in installations with many topics. When a changeset of the new job was already in another active job, Clarive looked for the deploy statuses of both environments by reading every topic related to each environment, twice for each changeset. In large installations an environment can have thousands of topics, and creating a job could take 10 to 16 seconds. Clarive now reads only the statuses of the environment, with the same result.

The calendar.check_window operation of the API, MCP server and CLI had the same problem when it looked for the groups of a project, and now reads only the groups, as the deployment windows of the new job dialog already do since #4253.

[FIX] #4282 The job page shows the job status as the legacy job page, and hides the Stash and Logfile tabs behind a menu

Fixed how the new job page shows the status of the job. In the header and in the summary of the dashboard, the status is now shown as in the legacy job page, with the icon of the status and its name in the color of the status, instead of a filled colored label.

The Stash and Logfile tabs, which are seldom used, are now behind a ... menu at the end of the tabs (More on a phone). The one that is open shows among the tabs. Their addresses do not change, and users without the action.job.advanced_menu permission see no menu.

[FIX] #4283 The Sequence of the Planning topic fields sorts as text, not as a number

Fixed the Sequence column of the Planning topic fields, for example the topics of a release, which sorted as text instead of as a number: 10, 101, 103, 12, 13... instead of 10, 12, 13, ..., 101, 103. The topics are now sorted by their sequence as a number, also for the sequences already saved, with no data migration, and new relations save their sequence as a number.

[FIX] #4289 Undocumented Slack webhook and git base branch config keys, and the MCP, CLI and API docs only in English

Completed the documentation of this release. The Slack Notifications page now explains which webhook addresses Clarive accepts (an https address on an allowed host; internal addresses and redirects are refused) and how to allow another host with the slack_webhook_allowed_hosts key. A new page, Rebases and Merges in the Topic Activity, describes the single rebase or merge line of the topic activity and the config.git.base_branches key. The pages of the MCP server, the clarive CLI, the API and the Agent Instructions are now available in Spanish.

[FIX] #4296 cla docs-export needs a database since 7.24, so the PROD job cannot publish the documentation

Fixed cla docs-export and cla docs-build, which failed with "missing database name in configuration" when run where no database is configured, such as a build server or container. The documentation commands no longer set up the database connection: they only need the location of the installation, which a packed installation (bin/cla.exe) still finds.

[FIX] #4298 Creating a job waits for every other job creation of its environment, and a failed semaphore take can block the semaphore (41564)

Fixed slow job creation when many jobs are created at the same time for one environment, for example in a bulk deploy of hundreds of changesets. To prevent duplicate jobs, each job creation waited for all the other creations of the same environment, even when the jobs had different changesets, and every handover took more than a second. With many creations in parallel, some of them failed with "Timeout waiting for semaphore: 30s". Now a job creation only waits for the creations that share one of its changesets in the same environment, so jobs with different changesets are created in parallel. Duplicate jobs are still prevented: the second job for the same changeset fails with the usual message "'X' is in an active job to bl Y".

Several problems of the semaphores were also fixed. They affect every semaphore, also the ones that rules and scripts use:

  • A take that failed, because of its timeout or because it was cancelled, could leave the semaphore blocked: once released, nobody could take it again.
  • A process whose take failed for another reason could be stopped later by the timeout of that take.
  • A semaphore now passes from one process to the next much faster, and waiting for it puts less load on the database.

The wait between two attempts to take a busy semaphore now starts short and grows up to semaphore_wait_interval (now 0.1 seconds by default). The new semaphore_reap_interval setting (default 0.5 seconds) sets how often a waiting process removes the processes that are gone from the queue. The configuration file documentation describes both settings and the semaphores of job creation.

[FIX] #4300 Mentions in comments don't trigger the mentioned event

Fixed mentions of users in topic comments, which no longer triggered the mention event, so the rules that send the mention notification never ran. Mentioning a user in a comment now triggers the event again, once for each mentioned user. Editing a comment also triggers it, only for the users the edit adds, so the users that were already mentioned are not notified twice.

[FIX] #4302 Fieldlets sort by field is corrupted with hint text

Fixed the topic list fieldlets, the planning topic list fieldlets and the topic dashlets, which listed no topics when their Sort By option had been saved with its example text ("field1 desc, field2 asc, ..."). The configuration forms saved the example text shown in an empty field as if it were its value. Now the forms no longer save the example texts of empty fields, and the lists already saved with that text load their topics again: the sort fields that are not valid are ignored, and when none is left the topics are sorted by their modification date.

[FIX] #4306 The topic list of a big project sends every topic mid to MongoDB and reloads on every new topic (41575)

Fixed the topic list of a project with many topics, which could overload the MongoDB server. Filtering the list by a project sent MongoDB the list of every topic of the project, which could be hundreds of thousands, and each query could take tens of seconds and gigabytes of memory in the database. The list also reloaded entirely every time a topic was created or deleted in any project, so a list left open while many topics were created piled up heavy queries that went on running in the database after the browser had stopped waiting.

  • A filter by project now checks the projects of each topic directly, so it is fast whatever the number of topics in the project.
  • A filter by another relation of the topics (assigned to, parent topics, related topics, unread, or a project of a collection other than project) with more topics than topic_filter_max_mids (default 10000) is now resolved inside MongoDB instead of sending it the whole list. 0 always sends the list. The topics listed are the same as before.
  • The queries of the topic list stop in MongoDB after topic_list_max_time_ms milliseconds (default 30000, the timeout of the web server). The list then says that it took too long and suggests narrowing it with more filters. 0 lets them run.
  • The automatic reloads of the topic list are grouped: a burst of new topics makes one reload, a reload never starts while another one is running, and a hidden browser tab does not reload until it is shown again.

The configuration file documentation describes the two new settings.

[FIX] #4308 Job page: Add a comment and Delete Log go to the menu of Stash and Logfile, and deleting a log removes the data of its rows (41577)

Fixed where the Add a comment and Delete Log actions are in the new job page. These seldom used actions were in the toolbar of the job log, although Delete Log deletes the whole log of an execution. They are now in the ... menu of the job page (More on a phone), under Stash and Logfile, and they work from any tab of the page. The menu shows when the user can use any of its entries. Who can see each action does not change: Delete Log still needs the action.job.advanced_menu permission and still asks for confirmation. After the log is deleted, the job, its dashboard, its Job Tree and its log load again.

Also fixed deleting the log of an execution, which removed its log entries but left in the database the data attached to them and the output of their remote executions (JES). That data is now deleted with the entries, as when the whole job is deleted.

[FIX] #4309 The topic grid list grows the web worker about 900 MB with big projects (41573)

Fixed the memory used by the web server when the topic list is filtered by big projects. Loading a single page of the topic grid could make a web worker grow by hundreds of megabytes, up to about 900 MB, and go over the web_max_rss limit after one request. This happened when the topics of the page had thousands of relations (jobs, deliveries, changesets, related topics) or were related to projects or other resources with very large fields: to build the 20 rows of the page, the server read every related document whole, although the list only shows a few of their fields.

The topic grid now reads only what it shows, with the same rows, totals and permissions as before. In the tests with a customer-sized database, the memory growth of the worst cases went down by up to two thirds, and the list loaded in about half the time.

[FIX] #4311 topic create rules get 'category' in the stash for non-root users

Fixed the rules that run when a topic is created and check its category. When the user creating the topic could not edit the category field, for example a user without write permission on all the fields of the initial status of the category, the category was left out of the stash of the creation event. Rule conditions and operations that used category then did not work for those users. The category is now always in the stash, as for the users with full permissions.

[FIX] #4316 Monitor and job log: the clicked row stays marked, and the Monitor shows new jobs and removes the bars of the ended ones by itself (41581, 41582)

Fixed two problems of the new Monitor and the new job log.

The clicked row now stays marked. Before, a row was only highlighted while the mouse was over it, so users lost their place when they scrolled to check something else. As in the classic grids, a click on a job in the Monitor, or on an entry of the job log, marks its row until another one is clicked, also while the Monitor updates its jobs or the log of a running job reloads. A double click on a log entry still opens its full text, and the actions and links of the rows still work.

The Monitor now updates by itself in two more cases. A new job only showed after clicking Refresh: the event of the new job reached the browser without the job and its projects, and never reached the user who created it. New jobs, and jobs run again, retried or rescheduled, now show with no refresh, also in the Monitor of the user who created them and in the Monitor of their project. The progress bars of a job also stayed after it ended until the next refresh. Now the bar goes away as soon as the job ends, as in the classic Monitor, and the clock button of the row still shows the stages of any job.

[FIX] #4335 Topic activity: changing the project of a topic shows the old and new projects, not only the name of the field (41564)

Fixed the activity entry of a topic when its projects change. It only showed the name of the projects field, for example T721157 modified topic: (_INRE0000098) - DRS_842419 ( Aplicación ), without telling which project the topic was moved to. It now shows the field with the old and the new projects, for example ana modified topic: Foo ( Project: Bar → Baz ), or only the new ones when the field had none. When all the projects are removed, the entry lists the removed ones. Several projects are separated by commas, and these texts are now translated into Spanish. The entries saved before keep their text.

Ready to upgrade?

Just follow the standard procedure for installing the new version. Click here to get it from our Install page.

Acknowledgements

Join us in our Community to make suggestions and report bugs.

Thanks to everyone who participated there.