Small fixes: dashboard #797
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#797
Loading…
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?
dashboard/jvm/src/infrastructure/BrowserSafetyHeaders.scala:26("the type test for cask.Response.Raw cannot be checked at runtime") — found during IW-681.evalwarning from htmx in the frontend build — found during IW-681.build.mill, name thedashboard.testdirectory once and buildsourcesand thelogging.propertiespath from it;LibraryLogLevelsTestcould add one child logger name per library and an assertion message that namesjava.util.logging.config.file— project-management/issues/IW-681/review-phase-03-20261011-084838.md (style/composition/testing suggestions).Intake: needs-input
Workflow: diagnostic
Reason: G1 (1 CLARIFY marker)
Analysis: project-management/issues/IW-797/analysis.md on branch IW-797
1. How do we remove the htmx
evalwarning from the dashboard frontend build? (G1: an open decision in the analysis)Each frontend build prints one rolldown
[EVAL]warning. It comes from the debug helperhtmx._in htmx 2.0.11, which is the newest 2.x release. The dashboard does not callhtmx._. Your rule forbids warnings in the code, and no earlier decision covers hiding a warning from a third-party library. The analysis is on branch IW-797: https://code.iterative.works/iterative-works/iw-cli/src/branch/IW-797/project-management/issues/IW-797/analysis.md (section "Defect 2").dashboard/frontend/vite.config.js. The filter drops only theEVALwarning that comes from thehtmx.orgmodule, so anevalin our own code still prints a warning. The bundle does not change: the bytes are identical with and without the filter. You must approve this as an exception to the warnings rule.yarn patchso it uses an indirect eval. This removes the warning at its source.htmx._then runs in global scope, and the patch must be carried again at each htmx upgrade.Recommended: a) — it is the smallest change, it does not alter third-party code, and any new
evalstill shows a warning.Answer in a comment on this issue, per number, for example "1: a", or in your own words; intake reads it on its next iteration.