Skip to content
Snippets Groups Projects
  1. May 24, 2022
  2. May 23, 2022
  3. May 20, 2022
    • Mikołaj Wawrzyniak's avatar
      Extract ServicePing payload persistance · 343968db
      Mikołaj Wawrzyniak authored
      Extract ServicePing payload computation and persistance
      out of SubmitService into GitlabServicePingWorker
      in order to pre compute SerivcePing data for preview
      for instance admins even if those instances does not submit
      this data later on to GitLab
      
      Changelog: performance
      343968db
  4. May 19, 2022
  5. May 18, 2022
    • Krasimir Angelov's avatar
      Scope batched background migrations to current gitlab_schema · 6facb534
      Krasimir Angelov authored
      * Add `batched_background_migrations.gitlab_schema` column.
      * When fetching the active migration scope to schemas available for the
      current connection.
      
      For DML migrations, which are restricted to given gitlab_schema, use this
      value when enqueuing batched background migration, if there is not one
      provided explicitly.
      
      For v1.0 migrations, set `gitlab-schema` to `gitlab_main`.
      
      Skip batched backfround migration worker if it shares database config
      with another database.
      
      https://gitlab.com/gitlab-org/gitlab/-/issues/359951
      
      Changelog: changed
      6facb534
  6. May 17, 2022
  7. May 16, 2022
  8. May 13, 2022
    • Bob Van Landuyt's avatar
      Make Ci::ArchiveTraceWorker use replica for reads · db378780
      Bob Van Landuyt authored
      This sets the data_consistency for the Ci::ArchiveTraceWorker to
      sticky. Allowing the read queries before any write to be handled by a
      replica.
      
      The job is scheduled from the Ci::BuildFinishedWorker with some delay
      built in. Which means this job can take the 0.8s wait in the
      beginning, and is very likely to find a replica that is up to date
      with the WAL locations at the time of scheduling.
      
      To increase the effect of this, this also preloads some associations
      in the worker. That way, we can take advantage of loading them from a
      replica rather than doing it lazily from the primary.
      Unverified
      db378780
    • David Fernandez's avatar
      Add a loop mode to the Enqueuer worker · 2767e75f
      David Fernandez authored and Bob Van Landuyt :neckbeard:'s avatar Bob Van Landuyt :neckbeard: committed
      In loop mode, the Enqueuer will loop on migration starts until either:
      * it fills the capacity
      * it hits the loop deadline
      * the loop mode feature flag is disabled
      2767e75f
  9. May 12, 2022
  10. May 11, 2022
    • Patrick Bajao's avatar
      Close issues async after merging MR · aa0d3e19
      Patrick Bajao authored
      When closing issues errors out, it can stop the execution of
      `PostMergeService` which can result to other operations not being
      executed.
      
      To ensure that we still run the rest of logic in `PostMergeService`
      when that happens, we close issues asynchronously.
      
      This is behind the `async_mr_close_issue` feature flag as a new
      worker is being introduced.
      aa0d3e19
    • John Cai's avatar
      Do not update project stats for incremental repack · 2a91a8d8
      John Cai authored and Igor Drozdov's avatar Igor Drozdov committed
      The repository size calculation is changing in Gitaly and will be more
      expensive to compute. Recomputing the size on an incremental repack is
      not necessary, so we can save some system resources by not computing it.
      
      Changelog: changed
      2a91a8d8
  11. May 10, 2022
    • Harsh Chouraria's avatar
      Add deployment metadata when firing hooks · 1e8aaba8
      Harsh Chouraria authored
      The deployment hooks worker can run against
      a runner's job request API call which lacks user,
      project or group identities in certain cases.
      
      In such cases it is difficult to locate the exact
      log that was responsible for firing a webhook or
      integration event related to a deployment because
      the volume of overall deployments per minute is
      pretty high and no distinguishable fields are
      present to filter it any further.
      
      This change adds ID values to the logging
      that allows us to track the deployment by ID
      or its associated project by ID. The expectation
      is that these IDs are always printed regardless
      of the scope of the runners.
      
      Changelog: added
      1e8aaba8
  12. May 09, 2022
  13. May 06, 2022
  14. May 05, 2022
    • Eugie Limpin's avatar
      Detect Android app projects · 5405cd14
      Eugie Limpin authored
      Update Projects::RecordTargetPlatformsWorker to handle detection of
      projects built for the Android platform. It executes a new service
      (Projects::AndroidTargetPlatformDetectorService) to determine if a given
      project that uses Java or Kotlin is an Android project by checking if
      the file AndroidManifest.xml is present in the project repository.
      5405cd14
    • Rodrigo Muino Tomonari's avatar
      Set ProjectAttributesPipeline to be a file extraction pipeline · 2d9c37ea
      Rodrigo Muino Tomonari authored
      Add the flag file_extraction_pipeline! to the
      ProjectAttributesPipeline in bulk import to keep re-enqueuing the
      pipeline until the exported file is generated and download from the
      source instance
      
      Changelog: fixed
      2d9c37ea
    • Omar Qunsul's avatar
      Automatically fixing mirror tables inconsistencies · e06ad8c3
      Omar Qunsul authored
      We have jobs to check the consistency between Namespace/Project
      tables and their mirror tables.
      With this MR, we will detect them and fix them automatically
      
      Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/359855
      Unverified
      e06ad8c3
    • Markus Koller's avatar
      Clean up error logging in integrations · b5c400b9
      Markus Koller authored and Etienne Baqué's avatar Etienne Baqué committed
      - Add a `#log_exception` helper to format exceptions.
      - Also log the integration record ID.
      - Log through the integration model in `Jira::Requests::Base` instead
        of including `Integrations::Loggable`.
      
      Besides the formatting changes, there are two behaviour changes in
      `ProjectServiceWorker`:
      
      - The log message now goes to `integrations_json` instead of
        `exceptions_json`.
      - We stop logging errors when the integration record can't be found,
        and instead just exit silently.
      
      Changelog: changed
      b5c400b9
  15. May 02, 2022
  16. Apr 28, 2022
  17. Apr 26, 2022
  18. Apr 22, 2022
Loading