Skip to content

Release: Merge release into master from: release/merge-dev-into-master-3.5.300 - #17062

Merged
defectdojo-release-tracker[bot] merged 18 commits into
masterfrom
release/merge-dev-into-master-3.5.300
Nov 23, 2026
Merged

defectdojo-release-tracker[bot] merged 18 commits into
masterfrom
release/merge-dev-into-master-3.5.300

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Release triggered by defectdojo-release-tracker[bot]

DefectDojo release bot and others added 18 commits November 20, 2026 00:31
…ev-3.5.202

Release: Merge back 3.5.202 into dev from: release/merge-master-into-dev-3.5.202
…mbership role (#17030)

Claude-Session: https://claude.ai/code/session_0143hYTGYxcD3xsZkrunMPeK

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…sumes it (#17033)

* docs(celery-status): show every routed queue and whether a worker consumes it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBzfUBEVQdjLju56UnZc

* docs(celery-status): describe the consumed field, and quote the purge confirm that names its queue

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBzfUBEVQdjLju56UnZc

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… inactive duplicate (#17028)

* fix(findings): keep the cluster open when Set as Original promotes an inactive duplicate

Set as Original promoted a duplicate to original but only cleared its
duplicate fields, so it stayed inactive while the previous original closed:
no finding in the cluster was open. The new original now takes over the
active, verified and mitigation status of the finding it replaces at the
head of the cluster. A target that is a duplicate in another cluster is
refused, as the Similar Findings menu never offers it, instead of silently
leaving that cluster.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x1A613sseL37ZdgRKQE

* fix(findings): accept a chained duplicate and keep a human closure on Set as Original

The cross-cluster refusal now accepts a duplicate of the page finding itself
(a chain under a member), which the Similar Findings menu offers. A head
closed as a false positive, out of scope or risk accepted no longer hands its
status to the new original, which would read as Mitigated or as closed for no
reason. Tests cover the chain, each closure reason and the classic view's
refusal message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x1A613sseL37ZdgRKQE

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs(dedupe): global component compares the package namespace

With Locations on, Global Component Deduplication treats a component's
namespace (an npm scope, a Maven groupId) as part of its name when both
Findings record one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x1BxtiLTMFjEj9VmEt5

* docs(dedupe): state the package type and namespace rule precisely

Global Component, with Locations, compares the package type and the
namespace of two package locations; only a generic package with no
namespace matches a typed one. The comparison callout says so too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x1BxtiLTMFjEj9VmEt5

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs: clear background imports stuck in Processing

Pro now fails a background import whose worker stopped before it recorded a
result, once the queue allowance or the worker time limit has passed, and lets
an operator clear stuck imports from Diagnostics, the API or a management
command. Document the settings, the Stuck Imports view and the command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBzhLpmYJJh731ba3K8N

* docs(diagnostics): listing stuck imports needs view permission, and name the selection button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBzhLpmYJJh731ba3K8N

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rms (#17027)

* docs(findings): request/response pairs on the New and Edit Finding forms

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x187J7qk4jQMprqrAQf

* docs(findings): the request/response pairs section sits in Optional Fields

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018B4x187J7qk4jQMprqrAQf

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…onfigured with (#17011)

* fix(celery): read the queue through the broker connection Celery is configured with

The queue length, details and purge-by-task helpers built their own client from
CELERY_BROKER_URL alone, so they left out what Celery is configured with besides
the URL: the broker transport, its TLS options and its credentials. A broker that
signs in with something other than a password in the URL could be used by Celery
but not read by these helpers. They now open the broker the way Celery does,
through the app's connection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBziqQkqMzvTnfUNEnm2

* test(celery): run the queue helper tests without a Redis server

The unit test job has no Redis, so the tests errored in setUp opening a broker
connection. The patched app connection now hands back an in-memory Redis
client, which still proves each helper reads (and purges) through the app's
connection: on the old helpers all four fail, reading an empty queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GXkBziqQkqMzvTnfUNEnm2

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…17042)

* fix(tags): lock tag count rows in id order in bulk_add_tag_mapping

bulk_add_tag_mapping raised every touched tag's count in one
UPDATE ... WHERE id IN (...), which locks the rows in the order its plan
reads them: id order for an index scan, physical order for a sequential or
bitmap heap scan (the plan a small tag table gets). The other count writers
take the same rows in ascending id order, so two concurrent imports sharing
tags could each hold a row the other needed and deadlock (40P01 on
dojo_tagulous_finding_tags).

Lock the rows with SELECT ... FOR NO KEY UPDATE ORDER BY id in the same
transaction as the UPDATE, so its own scan order no longer matters.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(tags): take the ordered row locks inside the count UPDATE

Locking the rows with a separate SELECT ... FOR UPDATE in an atomic block
added three queries per bulk_add_tag_mapping call (BEGIN, the SELECT,
COMMIT), which the tag inheritance and importer query-count baselines
caught. Reach the rows through a subquery that locks them ORDER BY id
FOR NO KEY UPDATE instead: still id-ordered locks, one statement, the
same query count as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(tags): describe bulk_add_tag_mapping's single ordered count UPDATE

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
#17048)

* docs: move the DefectDojo Pro pages and the docs site to dojo-pro-docs

docs.defectdojo.com is now built and published from DefectDojo-Inc/dojo-pro-docs,
together with the Open Source pages kept here. This removes what moved there: the
Pro pages and their translations, the images only they use, the site itself (theme,
layouts, config beyond the preview's needs) and the gh-pages publish workflow.

What stays is a preview on the stock Doks theme, so `npm run dev` and the docs CI
still build and link-check the Open Source pages. Links into Pro pages get a
placeholder from the live site before the link check, screenshots only the
published site has show as a labelled placeholder, and the docs CI now refuses a
DefectDojo Pro page (audience: pro, pro-feature: true, a PRO__ file, or anything
under releases/pro/), with a note in docs/README.md saying where those go.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* docs: let ruff accept the docs link stub script as a standalone file

scripts/docs_live_link_stubs.py is run by the docs CI on its own, not imported, so
INP001 (implicit namespace package) does not apply; ignore it for that file as T201
already is.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
RELEASE_DATES stopped at 3.7.0, so no deprecation could name the
February 2027 minor. Add 3.8.0 (2027-02-01), matching the published
release schedule.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(notes): delete an object's note history in one batch

delete_related_notes deleted each note's edit history from the per-note
pre_delete receiver, about four queries per note, so deleting a finding
with a hundred notes cost some 500 queries. It now reads the history ids
once, deletes the notes with that receiver standing down, and deletes the
history rows in one query. A note deleted on its own still takes its
history through the receiver.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(notes): drop the unused unpacked finding in the kept-notes test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Tidies the wording of the comment and the failure message in the "Refuse DefectDojo
Pro pages" step. No change to what the check does.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
… reimport goes (#17020)

process_scan() kept the parsed report, and _process_findings_internal() a sorted copy
of it, until the run ended: through matching, close-old, the import history and the
notifications. process_scan() also kept every finding close_old_findings() loaded and
closed, though it only reads their ids afterwards.

_process_findings_internal() now empties the parsed list in place once the findings
are cleaned (every caller above it holds the same list, and none reads it after
process_findings() returns), and lets go of each batch's slots as the batch is
taken. process_scan() drops the closed findings once it has their ids.


Claude-Session: https://claude.ai/code/session_01GXkBzfMmm8nmhv9ya6ndNY

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The 3.0 upgrade notes and the deprecations table called the removed
feature "remote-user header authentication", so a search for
REMOTE_USER or DD_AUTH_REMOTEUSER found nothing. Name the header and
the settings, and say SSO stops working in 3.0.0 rather than
"after 2.59".

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the release-management Automated release-train PR label Nov 23, 2026
@defectdojo-release-tracker
defectdojo-release-tracker Bot merged commit cd0a448 into master Nov 23, 2026
@defectdojo-release-tracker
defectdojo-release-tracker Bot deleted the release/merge-dev-into-master-3.5.300 branch November 23, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-management Automated release-train PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants