1. 23 8月, 2019 4 次提交
  2. 22 8月, 2019 5 次提交
  3. 21 8月, 2019 8 次提交
    • K
      Properly handle `sidekiq` skip · 8d17c4da
      Kamil Trzciński 提交于
      Transform `CancelledError` into `JobRetry::Skip`
      8d17c4da
    • K
      Improve resillency of monitor · cb193cd6
      Kamil Trzciński 提交于
      - Retry connection when it fails
      - Properly shutdown daemon
      - Stop monitor if the Exception is raised
      - Properly guard exception handling
      cb193cd6
    • K
      Perform cheap thread find · 3683d2d2
      Kamil Trzciński 提交于
      If we process message that is not designated to us
      previously we would fire a separate Thread for that.
      We don't need to do it. We can cheaply check if thread
      is available, if it is, we can perform expensive operation
      then.
      3683d2d2
    • K
      Rework `Sidekiq::JobsThreads` into `Monitor` · c2cbfc5c
      Kamil Trzciński 提交于
      This makes:
      - very shallow `Middleware::Monitor` to only request tracking
        of sidekiq jobs,
      - `SidekiqStatus::Monitor` to be responsible to maintain persistent
        connection to receive messages,
      - `SidekiqStatus::Monitor` to always use structured logging
        and instance variables
      c2cbfc5c
    • K
      Allow to interrupt running jobs · 75e2302d
      Kamil Trzciński 提交于
      This adds a middleware to track all threads
      for running jobs.
      
      This makes sidekiq to watch for redis-delivered notifications.
      
      This makes be able to send notification to interrupt
      running sidekiq jobs.
      
      This does not take into account any native code,
      as `Thread.raise` generates exception once the control gets
      back to Ruby.
      
      The separate measure should be taken to interrupt gRPC, shellouts,
      or anything else that escapes Ruby.
      75e2302d
    • L
      Add service classes for mutating AwardEmoji · 37b17fa6
      Luke Duncalfe 提交于
      Adding, destroying and toggling emoji previously lacked services and
      instead were performed through methods called on Awardable models.
      
      This led to inconsistencies where relevant todos would be marked as done
      only when emoji were awarded through our controllers, but not through
      the API. Todos could also be marked as done when an emoji was being
      removed.
      
      Behaviour changes
      
      - Awarding emoji through the API will now mark a relevant Todo as done
      - Toggling an emoji off (destroying it) through our controllers will no
        longer mark a relevant Todo as done
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
      37b17fa6
    • D
      Introducing new Syntax for Ci::Build inclusion rules · ac77bb93
      drew 提交于
      - Added Gitlab::Ci::Config::Entry::Rules and Gitlab::Ci::Config::Entry::Rules:Rule
        to handle lists of Rule objects to be evalauted for job inclusion
      - Added `if:` and `changes:` as available Rules::Rule::Clause classes
      - Added Rules handling logic to Seed::Build#included? with extra specs
      - Use DisallowedKeysValidator to mutually exclude rules: from only:/except: on job config
      ac77bb93
    • S
      Standardize remote_ip and path keys for auth.log and api_json.log · e632ae80
      Stan Hu 提交于
      Current `auth.log` uses `fullpath` and `ip`, while `api_json.log` uses
      `remote_ip` and `path` for the same fields. Let's standardize these
      namings to make it easier for people working with the data.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66167
      e632ae80
  4. 20 8月, 2019 6 次提交
  5. 19 8月, 2019 2 次提交
  6. 18 8月, 2019 1 次提交
  7. 17 8月, 2019 4 次提交
  8. 16 8月, 2019 6 次提交
  9. 15 8月, 2019 4 次提交