Skip to content

Extract job_log method into Job Loggable concern

Eva Kadlecová requested to merge 498199-extract-job_log-method into master

What does this MR do and why?

Since the handling of job_log in Duo Chat was duplicated in two places, this MR unites the logic into a single concern, JobLoggable.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. From Rails console enable feature flags:
Feature.enable(:ai_build_reader_for_chat)
  1. Run GDK.
  2. Visit a pipeline job and ask a question to Duo Chat about the pipeline (What is this pipeline about?)
  3. You should receive a details about the build.

Related to #498199 (closed)

Edited by Eva Kadlecová

Merge request reports

Loading