[P1] Make production static-load errors fail CI #136
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#136
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?
Problem
The deterministic CI gate can report green while SWI-Prolog emits a real production-module load error.
Observed in CI run
32418769221, deterministic job96585895206, duringtest/load_all.pl:The static-load step still completed successfully and the overall deterministic job went green. This makes the merge oracle unsound: a production compile/load error can be present on an exact head while the required gate says success.
The current source also contains the triggering shape in
refresh_observation_sources/6, whereConfig.source_refresheris passed directly as the closure argument tocall/6. Other dynamic handlers in the same module first bind the dict field to a variable beforecall/N.Required behavior
test/load_all.plmust load without SWIERRORdiagnostics.rlm_spec_workflowsource-refresher meta-call must compile cleanly on the repository's supported SWI runtime while preserving the same trusted callback semantics.Non-goals
|| true, swallowed exceptions, or log-grep-only fake validation;Evidence
prolog/rlm_spec_workflow.plcurrently callsConfig.source_refresherdirectly as a higher-arity closure.test/load_all.plis the canonical production static-load smoke and currently reachesrlm_spec_workflow_ready/0even after the loader has emitted the compile error.rlm_spec_workflow,load_all, or the exact SWI meta-argument error when searched before filing.