An open API service providing commit metadata for open source projects.

gitlab.com / gitlab-org/ruby/gems/labkit-ruby / commits

LabKit is minimalist library to provide functionality for Ruby services at GitLab.

SHA Message Author Date Stats
acf2e8c2 chore(deps): update pre-commit hook gitlab-com/gl-infra/common-ci-tasks to v4 GitLab Renovate Bot <o****e@g****m> 3 months ago
3840c4e7 fix: Related specs Matias Alvarez <m****z@g****m> 3 months ago
50b43296 fix: Fix RuboCop offenses in field_validator.rb Matias Alvarez <m****z@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
ca51b81f fix: Remove the exception message because it's ignored and add an explanation Matias Alvarez <m****z@g****m> 3 months ago
a8256ade merge Merge branch 'renovate/copier-project-template-update' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
af8d0659 chore(deps): update dependency https://gitlab.com/gitlab-com/gl-infra/common-... GitLab Renovate Bot <o****e@g****m> 3 months ago
9a7c584a merge Merge branch 'malvarez-test-logging-field-variant' into 'master'
Co-authored-by: Matias Alvarez <m****z@g****m>
Luke Hollinda <l****a@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
b0a0186a fix: Logging validator exit with code 2 Matias Alvarez <m****z@g****m> 3 months ago
e523484f merge Merge branch 'fix/rate-limit-noscript-rescue' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
5f810066 fix(redis): catch RedisClient::CommandError in Script EVALSHA rescue Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
b94e1223 merge Merge branch 'rate-limit/rule-extras' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
c79dbf95 merge Merge branch 'mzajac/use-top-level-openssl-constant' into 'master'
Co-authored-by: Michał Zając <m****c@g****m>
Luke Hollinda <l****a@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
ea4d04be refactor(rate_limit): treat variadic callables as zero-arity and document rul...
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
43f29c4b Use top-level OpenSSL constant Michał Zając <m****c@g****m> 3 months ago
8dce0e70 refactor(rate_limit): rename rule_extras to rule_context and guard non-Proc a...
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
b283c27c merge Merge branch 'rate-limit/unique-cardinality' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
41323ba9 feat(rate_limit): rule_extras for per-request callable context
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
663989ec merge Merge branch 'renovate/copier-project-template-update' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
b2c60ca9 chore(deps): update dependency https://gitlab.com/gitlab-com/gl-infra/common-... GitLab Renovate Bot <o****e@g****m> 3 months ago
ef148a80 style(rate_limit): fix indentation in evaluate_rule count branch
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
9a9fc079 chore(rate_limit): address GitLabDuo MR review comments
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
bb474c4d fix: restore master's Rails 8.1 nil_key query expectation
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
2b889807 merge Merge branch 'loosen-otel-requirements' into 'master'
Co-authored-by: andrey <a****s@g****m>
Matias Alvarez <m****z@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
87eceb47 refactor(rate_limit): atomic SADD_SCRIPT for count_distinct rules
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
2fddab5a merge Merge branch 'master' into rate-limit/unique-cardinality
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
85ffa31a refactor(rate_limit): rule-level count_distinct in place of check_unique API
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 3 months ago
339cd7f5 Use more precise ranges andrey <a****s@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
fad04a43 Define permitted ranges for otel dependency gems andrey <a****s@g****m> 3 months ago
d4b76198 merge Merge branch 'permit-rails-8-1' into 'master'
Co-authored-by: andrey <a****s@g****m>
Peter Leitzen <p****n@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
be476081 test(excon_publisher): update nil-query expectation for Rails 8.1 andrey <a****s@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
c907bfa1 test(excon_publisher): adapt nil-query expectation for Rails 8.1 andrey <a****s@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
55f744dc Update railties dep andrey <a****s@g****m> 3 months ago
f17a969a Support rails 8.1 version andrey <a****s@g****m> 3 months ago
9adf1516 merge Merge branch 'renovate/copier-project-template-update' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Peter Leitzen <p****n@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
45ba801a chore(deps): update dependency https://gitlab.com/gitlab-com/gl-infra/common-... GitLab Renovate Bot <o****e@g****m> 3 months ago
44d03f26 merge Merge branch 'renovate/redis-8.x' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
99155c17 merge Merge branch 'mw/inline-nit' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
e4a6c5c8 refactor(rate_limit): inline single-use eval_incr_script helper Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
a0ab7b16 merge Merge branch 'rate-limit/lua-cost-aware-incr' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
3 months ago
5d806b57 chore(deps): update redis docker tag to v8 GitLab Renovate Bot <o****e@g****m> 3 months ago
e7938207 test(rate_limit): replace sleep-based TTL assertions with state anchoring Max Woolf <m****f@g****m> 3 months ago
3c15ecb6 refactor(rate_limit): simplify Lua script to always INCRBYFLOAT Max Woolf <m****f@g****m> 3 months ago
b2361e4e refactor(rate_limit): extract EVALSHA caching into Labkit::Redis::Script Max Woolf <m****f@g****m> 3 months ago
4e78944c style(rate_limit): collapse check_unique wrapper to one line
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
f91e18fc feat(rate_limit): set-cardinality check_unique / peek_unique primitives
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
3d256250 style(rate_limit): fix rubocop offenses from cost-aware-incr branch
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
3d55b44e merge Merge branch 'malvarez-group-application-context-logs' into 'master'
Co-authored-by: Matias Alvarez <m****z@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
7e187fd9 merge Merge branch 'malvarez-add-unauthorized-for-field-validator-cli' into 'master'
Co-authored-by: Matias Alvarez <m****z@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
d3cb4717 merge Merge branch 'renovate/copier-project-template-update' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
1ce45adf chore(deps): update dependency https://gitlab.com/gitlab-com/gl-infra/common-... GitLab Renovate Bot <o****e@g****m> 4 months ago
e8119255 merge Merge branch 'docs/rate-limit-readme' into 'master' Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
e934aa6a docs(rate_limit): add mermaid diagrams for architecture, evaluation, and Redi...
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
0ae4a8b5 docs(rate_limit): add module README and link from root README
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
99204787 feat(rate_limit)!: cost-aware atomic increment via Lua script Max Woolf <m****f@g****m> 4 months ago
a51a33d4 fix(spec): use Time.now in TestRedis autostart wait loop Max Woolf <m****f@g****m> 4 months ago
14940bbe merge Merge branch 'testing/docker-compose-redis-autostart' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
8ee8406f merge Merge branch 'malvarez-correct-deprecation-for-remote-ip' into 'master'
Co-authored-by: Matias Alvarez <m****z@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
714224cb chore: untrack .idea/workspace.xml and gitignore .idea/
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
90875684 ci(rate_limit): attach redis service to base rspec job
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
c87eeb0b Try redis service Max Woolf <m****f@g****m> 4 months ago
1bedbd6d doc: Update the definition of a logging offense Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
4d7ec8fb fix: Refactor to a single line Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
5defef2e test(rate_limit): replace FakeRedis with real Redis via docker compose
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Max Woolf <m****f@g****m> 4 months ago
bbc780dd merge Merge branch 'rate-limit/log-rules-no-early-return' into 'master'
Co-authored-by: Sam Wiskow <s****w@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
1e71e212 feat(rate_limit): :log rules continue evaluation; add :allow rule action (Spe... Sam Wiskow <s****w@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
3496ec14 fix: Rubocop offenses Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
3ad60ef5 feat: Refine logging offense consolidation even more Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
fd51ce57 merge Merge branch 'spec-10-regex-matcher' into 'master'
Co-authored-by: Sam Wiskow <s****w@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
8bcce5af fix: Correct the deprecation values for remote_ip Matias Alvarez <m****z@g****m> 4 months ago
9538c34f refactor(rate_limit): tighten Matcher per round-2 review
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
08c2a928 fix: Rubocop offenses Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
7e5dbbb7 feat: Add any logger to the logging todo file Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
4c591b1b test(rule): restore single-quoted regex strings in YAML parity spec
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
ef6dc8e8 refactor(rate_limit): adopt :eq / :re hash keys per review
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
ae9140c5 merge Merge branch 'rate-limit/limiter-peek' into 'master'
Co-authored-by: Max Woolf <m****f@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
f06fd459 Add Limiter#peek read-without-increment API Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
e57d5121 refactor(rate_limit): address review feedback on Spec 10 Matcher
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
0cf76147 merge chore(rate_limit): merge master into spec-10-regex-matcher
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
9b3c7f21 feat: Consolidate logging offenses originating from the application context Matias Alvarez <m****z@g****m>
Committed by: Elliot Forbes <e****s@g****m>
4 months ago
2f4bc36a refactor(rate_limit): rename Matcher.from -> Matcher.build
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
2d2b1f49 feat(rate_limit): regex matchers in Rule#match
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
4674c6a9 merge Merge branch 'renovate/common-ci-tasks' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Hercules Merscher <h****r@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
fa1e4f79 chore(deps): update pre-commit hook gitlab-com/gl-infra/common-ci-tasks to v3.24 GitLab Renovate Bot <o****e@g****m> 4 months ago
817a4083 merge Merge branch 'rate-limit/stage-1c' into 'master'
Co-authored-by: Sam Wiskow <s****w@g****m>
Bob Van Landuyt <b****b@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
96aa6129 feat(rate_limit): Stage 1c — remaining/reset_at/limit fields and to_response_... Sam Wiskow <s****w@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
9e024f08 feat: Add logging field variant versions Matias Alvarez <m****z@g****m> 4 months ago
0f417f20 merge Merge branch 'bvl/redis-pool-support' into 'master'
Co-authored-by: Bob Van Landuyt <b****b@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
b8f050d2 feat: require Redis pool with `.with` interface Bob Van Landuyt <b****b@g****m> 4 months ago
ab351e1b feat: Add unauthorized error for logging field validator CLI Matias Alvarez <m****z@g****m> 4 months ago
d63b42bb merge Merge branch 'feat/rate-limit-metrics' into 'master'
Co-authored-by: Bob Van Landuyt <b****b@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
0d42a179 merge Merge branch 'renovate/common-ci-tasks' into 'master'
Co-authored-by: GitLab Renovate Bot <o****e@g****m>
Matthias Käppler <m****r@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
26d1d9a2 feat: add Prometheus metrics to rate limit evaluator Bob Van Landuyt <b****b@g****m> 4 months ago
71d83f2e chore(deps): update pre-commit hook gitlab-com/gl-infra/common-ci-tasks to v3.23 GitLab Renovate Bot <o****e@g****m> 4 months ago
db4ec7a4 merge Merge branch 'bvl/fix-ratelimit-result' into 'master'
Co-authored-by: Bob Van Landuyt <b****b@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
a9f10824 fix: make `Result#action` return the outcome Bob Van Landuyt <b****b@g****m> 4 months ago
96e48148 merge Merge branch 'bvl/remove-check-logging' into 'master'
Co-authored-by: Bob Van Landuyt <b****b@g****m>
Max Woolf <m****f@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
8b004d37 refactor: remove per-request logging from `Limiter#check` Bob Van Landuyt <b****b@g****m> 4 months ago
8eea3315 merge Merge branch 'rate-limit/stage-1b' into 'master'
Co-authored-by: Sam Wiskow <s****w@g****m>
Elliot Forbes <e****s@g****m>
Committed by: GitLab <n****y@g****m>
4 months ago
711404fe test(rule): add Spec 7 rule name validation scenarios
Co-authored-by: Claude Sonnet 4.6 <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago
f89a0530 rebase(stage-1b): adapt Spec 7 onto Spec 8 (Limiter redesign) API
Co-authored-by: Claude Sonnet 4.6 <n****y@a****m>
Sam Wiskow <s****w@g****m> 4 months ago

← Back to repository