Backport #28528 to branch v25.2.x. This issue was created as a placeholder because the original PR's commit(s) could not be automatically cherry-picked.
Here are the commands to execute:
git checkout v25.2.x
git checkout -b manual-backport-28528-v25.2.x-711
git cherry-pick -x ee648559cc 74b79782fe
git push origin manual-backport-28528-v25.2.x-711
gh pr create \
--title "[v25.2.x] storage: throw if timequerying a closed log" \
--base "v25.2.x" \
--label "kind/backport" \
--head "manual-backport-28528-v25.2.x-711" \
--draft \
--repo "redpanda-data/redpanda" \
--milestone "v25.2.x-next" \
--body "Backport of PR https://github.com/redpanda-data/redpanda/pull/28528 "
Backport #28528 to branch v25.2.x. This issue was created as a placeholder because the original PR's commit(s) could not be automatically cherry-picked.
Here are the commands to execute: