What broke in the last 3 days
50 open production errors in mind-api. Open any card for the full briefing.
StandardError
[Medplum::Client] GET Practitioner/<secret> failed with HTTP 410: {"resourceType":"OperationOutcome","id":"gone","issue":[{"severity":"error","code":"deleted","details":{"text":"Gone"}}],"extension":[{"url":"https://med…
A staging rake task pages through all Medplum Patients with _offset and hits Medplum's 10,000 offset cap. The 400 is then reported to Bugsnag as a warning by Medplum::Client.
6 people hit it · Happening now · SC-170887 filed
NoMethodError
undefined method 'user_id' for nil user_id = audits.reorder(id: :desc).first.user_id ^^^^^^^^
claim_denied_by crashes when a denied billing item has no audit rows, and the code on releases/master still has no guard for that.
User-facing request · 3 people hit it · Quiet for 14 h
Errno::ENOENT
No such file or directory @ rb_sysopen - /app/tmp/CommunicationNote_<name>.pdf
The PDF file was never written to tmp, so reading it back failed; the filename is built from the raw patient name, which is not sanitized, and that is the likeliest cause.
User-facing request · 1 person hit it · New this week (5 d old) · Quiet for 18 h
ActiveModel::UnknownAttributeError
unknown attribute 'email_type' for MemberEmail. raise UnknownAttributeError.new(self, name) ^^^^^
Updating a member email for a member with no Medplum patient id writes `email_type` straight to the MemberEmail model, which has no such column, so it raises UnknownAttributeError.
User-facing request · 1 person hit it · Quiet for 16 h
NoMethodError
undefined method 'start_date' for nil member_program_statuses.first.start_date ^^^^^^^^^^^
MemberProgram#duration crashes with a nil error when a member program has no status rows, and that breaks the whole member_programs index response.
User-facing request · 1 person hit it · Quiet for 18 h
ActiveRecord::StatementInvalid
PG::UndefinedTable: ERROR: missing FROM-clause entry for table "member_content_view_summaries" LINE 1: ...ents" WHERE "contents"."is_independent" = $1 AND (member_con... ^
Members with no programs, tags or care managers get a Content query that never joins member_content_view_summaries, but refresh_member_contents filters and sorts on that table, so Postgres raises.
Still arriving · SC-171159 filed
ActiveRecord::RecordInvalid
Validation failed: Care extender brands must have at least one brand, Roles must include at least one role
db/seeds.rb creates the bootstrap admin CareExtender without brands or roles, which the model now rejects, so the seed fails whenever that admin record is missing.
Still arriving
NoMethodError
undefined method 'program' for nil program_settings = member_program.program.program_settings ^^^^^^^^
The text-message job crashes when a member has no member program, because `assignable_support_request_id_with_class_name` never checks for nil.