Silence CI warnings: give every phx-change form an id, rewrite mix.lock #600
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
local-it/mitgliederverwaltung#600
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed in the CI log of the #538 PR (2026-10-16); all warnings pre-exist on
main @ 0462bf4dand are unrelated to #538. The full CI run emits ~1000 warning lines, which buries real warnings.Problem
LiveView test warning "Detected a form with phx-change but missing id" (several hundred occurrences). Forms with
phx-changebut noid, e.g.:search_membersinlib/mv_web/live/group_live/show.exandlib/mv_web/live/user_live/form.exfilter_fieldsinlib/mv_web/components/add_filter_builder_component.excommit_group,commit_payment,commit_dates,commit_exit_range,commit_active_formerupdate_slug_confirmationNot only noise: without an
id, LiveView cannot recover the form state after a reconnect."found quoted keyword "" but the quotes are not required" (one per
mix.lockentry, 108). The lockfile was written by an older Mix; the current Elixir warns when reading it. Harmless at runtime.Two
[warning] Required custom fields validation: no actor in contextlog lines: expected test logging, out of scope unless trivially capturable with@tag :capture_log.Proposal
idto everyphx-changeform (components: derive it from the componentid, e.g."#{@id}-search-form").config :phoenix_live_view, :test_warnings, missing_form_id: :raiseinconfig/test.exsso the regression fails tests instead of warning.mix.lockwith the current Mix (e.g.mix deps.getafter removing the quoting, or as part of the next dependency bump) without changing any locked version.Acceptance criteria
just ci-devoutput contains no "missing id" and no "quoted keyword" warnings.missing_form_id: :raiseis active in the test config.mix.lockdiff changes formatting only; no dependency version changes.