# Changelog

## Score

- CAI 55 → 56 (+0.3)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

## Lenses

- Code Health 63 → 63 (+0.0)
- Architecture 98 → 98 (-0.1)
- Maturity 56 → 60 (+3.7)
- Readiness 47 → 47 (-0.2)
- Security 96 → 94 (-2.1)
- Domain Modelling 100 → 100 (+0.0)
- Accessibility 55 → 55 (+0.0)

## Resolved (4)

- Duplicate accessors for the same configuration value. `environment` and `env` are standard synonyms in Ruby/Rails contexts, but exposing both as public API methods creates redundancy and potential for drift if one is updated and the other is not.
- Inconsistent access pattern for the logger. `Scheduler.logger` is exposed as a Property, while `Scheduler.logger()` is exposed as a Method. In Ruby, this distinction is often subtle but can lead to confusion regarding whether the logger is a static attribute or a computed value.
- Inconsistent naming convention for queue-specific operations. While `enqueue_at` vs `enqueue_at_with_queue` is consistent, `enqueue_delayed` vs `enqueue_delayed_with_queue` breaks the pattern slightly by using 'delayed' in the name rather than a generic 'enqueue' pattern, making it harder to generalize the API mentally. More importantly, `enqueue_delayed` implies a default queue, but the naming doesn't clearly signal that it's a variant of a generic enqueue operation.
- Redundant methods differing only by the bang suffix. Without documentation, it is unclear if `release_master_lock` is a no-op if not locked, while `release_master_lock!` raises an error, or if they are identical. This violates the principle of least surprise where bang methods usually imply mutation or error-raising on failure.

## New (2)

- Floating git dependency: resque
- Off-boarding risk: anonymized user #1

## Changes since last survey

- 10 commits — 10 feature/other, 0 fixes

## By area

- lib/resque — 5 commits
- (root) — 4 commits
- test/delayed_queue_test.rb — 1 commit

## Notable commits

- change: Check master only when a delayed timestamp is due
- change: Cover enqueue hooks that open their own MULTI
- change: Enqueue batched delayed jobs outside the transaction
- change: Load the web UI after Rails initialization to avoid a circular require
- change: Retry a conflicted delayed batch from the outer loop
- change: Skip delayed items when not master
- change: Take the delayed batch and its timestamp memberships in one transaction
- change: Version 5.1.0
- change: Version 5.1.1
- change: add flag for batch enqueue delayed enable/disable
