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
  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
    • Bob Van Landuyt's avatar
      Force ImportScheduleWorker to use read-replica · b099f8fd
      Bob Van Landuyt authored
      This makes sure that the ProjectImportScheduleWorker uses replicas for
      it's reads in the beginning of the job.
      
      We need to allow retries for the `delayed` strategy, because that will
      raise an error if it cannot find an up-to-date replica in 0.8s the
      first time.
      
      If the job can't find an up-to-date replica in the retry, it will use
      the primary instead.
      Unverified
      b099f8fd
  9. May 12, 2022
  10. May 11, 2022
    • Max Woolf's avatar
      Remove ability for SSH key expiration to be optional · 3b9d2a59
      Max Woolf authored and Terri Chu's avatar Terri Chu committed
      Instance administrators can no longer allow
      expired SSH keys to work.
      
      Changelog: removed
      EE: true
      3b9d2a59
    • 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
  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
    • David Fernandez's avatar
      Update the lease key · f0c3a79f
      David Fernandez authored and Bob Van Landuyt :neckbeard:'s avatar Bob Van Landuyt :neckbeard: committed
      to take the repository id into account. This way, if two executions in
      parallel select different repositories, both can continue their
      execution.
      f0c3a79f
    • Peter Leitzen's avatar
      Configure RSpec to fail on potential false positives · aacebd6e
      Peter Leitzen authored
      Previously RSpec only warned in the following cases:
      
         expect(foo).to raise_error
      
         expect(foo).not_to raise_error(SomeSpecifcError)
      
      and suggested to correct potential false positives with:
      
         expect(foo).to raise_error(SomeSpecifcError)
      
         expect(foo).not_to raise_error
      
      This commit corrects all warnings and make RSpec fail instead of warn in
      such situations preventing future false positives.
      Unverified
      aacebd6e
  14. May 05, 2022
  15. May 02, 2022
Loading