d54a1a5568 left observation::Backend with one variant, Vulkan, so every
parameter, key and check that carried it decided nothing. This commit
removes all of them. One use stays: the rows' and refusals' serialized
"backend":"vulkan" field. Every committed row carries it, and so do the
private store's rows on msi. Dropping the field means rewriting both
stores through the store's writer, and the private rewrite waits for
msi's hold to lift. So the field goes in its own commit, together with
that rewrite. Until then Backend is the field's literal type and nothing
else.
What goes:
- The store: read_candidates and read_refusals take no backend.
refusal_directory(backend) is now the REFUSAL_DIRECTORY constant,
beside CANDIDATE_DIRECTORY. The "wrong backend directory" checks and
the backend in a candidate slot's key go too: a row's field can hold
only vulkan, so no check could fail.
- CandidateDependencies::backend and its dependency check.
- The executor: engine::execute, execute_case, execute_prepared,
run_on_context, platform::execute_engine and execute_engine_render
take no backend. DeviceInput (the device worker's input) has no
backend field. run_on_context's runtime routing loses its
`backend == Vulkan` term. check_backend is deleted. It refused a
context that opened MoltenVK, and validate_host (was
validate_backend_host) already refuses every candidate run on macOS,
the only host MoltenVK runs on.
- C3: VenueKind::backend, Venue::backend, VenueSlot::backend. VenueKeys'
insert, expected, holds and artifact_is_current, and Venues::venue_of,
take no backend.
- The index: candidate_staleness, candidate_slot_state,
refusal_staleness, refusal_is_current and candidate_state take no
backend. The candidate_observations table loses its backend column; its
key is (case_id, environment_id). Every sync clears the table and
refills it from the shards, so an older index's table (one with the
column, or one without translator_fingerprint) is dropped and made
again (ensure_candidate_columns, which replaces
ensure_candidate_fingerprint_column). The evidence slots still name
"metal" or "vulkan".
- The batch: BatchBackend::candidate and From<Backend> go.
vulkan_batch::install takes no backend; it refuses an out directory
whose record is not a Vulkan batch's, as before. find_row and
find_refusal take no backend. BatchBackend keeps its two variants,
Vulkan and Metal.
- corpus-vulkan: candidate_common::main and candidate_batch::serve take
no backend; their messages name corpus-vulkan.
- corpus/README.md: a candidate slot is (case_id, environment_id).
corpus-status's --rekey-venues help loses "of either backend".
No version moves. No row changes: each still records "backend":"vulkan",
and the executor enables, binds, submits, reads back and records what it
did. The index's table is rebuilt by its own migration.
Tests: the backend arguments go from the store, index, C3, batch,
admission and platform tests, and the BACKEND and HOST_BACKEND constants
go with them. The device worker's integration input drops "backend".
Verified: not yet compiled; a gate covers it.