Skip to content

Releases: mercadolibre/fury-little_monster-gem

Raw error attribute in job model

08 Nov 14:10
33e0a62
Compare
Choose a tag to compare

Summary

This pr adds raw_error new attribute in job model.

This allows any gem implementation to manipulate error as it was created, giving the possibility to access error's inner fields without serialization.

Support Job extension

27 Feb 16:56
e711d40
Compare
Choose a tag to compare

Jobs can now inherit from another job, this will inherit a copy of the parent job's task list, retries and callback retries. The task list can be modified by new methods task_list_prepend(new_tasks...), task_list_prepend_at(task, new_tasks...), task_list_append(new_tasks...) and task_list_append_at(task, new_tasks...).

When searching for Task implementations, we will first look for implementations in the Job's namespace, then in the parent's namespace and last of all without any namespace.

example:

class JobB < JobA
  task_list_prepend :task_a, :task_b # these tasks will be run before all parent tasks
  task_list_append :task_c, task_d # these tasks will be run after all parent tasks
  task_list_prepend_at :task_x, :task_u, :task_v # tasks :task_u and :task_v will be run before :task_x (:task_x can be a parent task)
  task_list_append_at :task_y, :task_u, :task_v # tasks :task_u and :task_v will be run after :task_x (:task_x can be a parent task)

  retries 5 # if we don't specify anything, this job inherits the parent's retries
end

Insert datasec pre-commit

23 Feb 14:08
a3562cc
Compare
Choose a tag to compare

This PR adds the pre-commit configurations to use DataSec hook (Aegis), following on from what was previously
communicated in workplace.

It is generated automatically and therefore its revision is requested.

The following behavior is expected:

  • If you do not have built-in .pre-commit-config.yaml.
    WebSec hook (SAST)
    and DataSec hook (Aegis) hooks are added.
  • If you have built-in .pre-commit-config.yaml only DataSec hook is added.
  • Previous hooks should not be modified, changes may arise in the comments of the hooks.

Important

Both SAST and Aegis hooks are required.

Contact

If you have any questions contact [email protected]
or slack.

Support for GCP PubSub

13 Apr 13:26
53ef2d6
Compare
Choose a tag to compare

Update version and add auto tagging for github

16 Mar 19:54
d1610a1
Compare
Choose a tag to compare