Guards the one place a value reaches an ExtraFilter as a literal: ScheduledJob.Configuration
is free-form JSON, so finding the jobs that name an agent means a LIKE against it, and a LIKE
is string concatenation into SQL. Every id used that way is checked here first — the agent's own
primary key always passes, and anything that does not is not queried at all.
Whether a string is a plain UUID.
Guards the one place a value reaches an
ExtraFilteras a literal:ScheduledJob.Configurationis free-form JSON, so finding the jobs that name an agent means aLIKEagainst it, and aLIKEis string concatenation into SQL. Every id used that way is checked here first — the agent's own primary key always passes, and anything that does not is not queried at all.