Skip to content
Snippets Groups Projects
Verified Commit 1a9536eb authored by Michał Zając's avatar Michał Zając
Browse files

Log name components for UUIDv5 generation

For some reason we are unable to reproduce UUIDs for
Vulnerability::Finding objects when calculating them from the persisted
data. See #212322 (comment 434346683)
for a sample.

Now we will log the name we use when generating the UUID right before
we persist the object.
parent 2b8072a2
No related branches found
No related tags found
1 merge request!45899Log name components for UUIDv5 generation
......@@ -104,6 +104,8 @@ def calculcate_uuid_v5(vulnerability_finding, finding_params)
name = uuid_v5_name_components.values.join('-')
Gitlab::AppLogger.debug(message: "Generating UUIDv5 with name: #{name}")
Gitlab::Vulnerabilities::CalculateFindingUUID.call(name)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment