test_log_adapter checks outdated backend interface (open/write/close instead of new) #142
Labels
No labels
coordination/cross-repo
coordination/needed
effort
large
effort
medium
effort
small
meta/duplicate
meta/planning
meta/wontfix
priority
high
priority
low
priority
medium
session
blocker
session
handover
session
next
status
blocked
status
done
status
in-progress
status
review
status
to-go
type
admin
type/architecture
type
bug
type
config
type
deployment
type
docs
type/documentation
type
enhancement
type
feature
type
handover
type
infrastructure
type
installation
type
maintenance
type
migration
type
research
type
security
type/task
type/tech-debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
DAW/fragjan#142
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
test/test_log_adapter.lua still checks the old backend interface
(open/write/close). Since
47386c5(2026-06-04) adapters/log expectslog backends to provide a constructor only:
The test was written one day earlier (
7d08db7, 2026-06-03) and wasnever updated. It has failed since June (5 of 25 checks) and was
hidden among the submodule test failures.
The three "check missing open/write/close" cases pass by accident:
they fail because
newis missing, not because the named op ismissing. The test does not check what it claims.
Note: open/write/close in M._contracts are the adapter's own
functions and are unchanged. Only the backend interface changed.
Scope
Acceptance criteria
Related
DAW/fragjan#124
Fixed in
43dc300(test(log): follow the backend contract of adapters/log): test_log_adapter now checks the constructor contract (new). make test passes with Lua 5.4 and 5.1 (27 files, 1375 tests, 2026-11-18).