Fix backlog refresh test config source #1377

Merged
coilyco-ops merged 1 commit from issue-1371 into main 2026-07-15 09:52:55 +00:00
Owner

This change hardens TestBacklogRefreshReservationStates so it uses the repo's own config context instead of inheriting the host WARD_CONFIG_REF. That keeps the reservation TTL aligned with the code under test and makes the backlog refresh mock match the real Forgejo feed shape.

  • closes #1371
  • ward.workflow: pull-request-and-merge
  • tests: go test ./cmd/ward -run 'TestBacklogRefreshReservationStates|TestBacklogReservationState' -count=1
This change hardens `TestBacklogRefreshReservationStates` so it uses the repo's own config context instead of inheriting the host `WARD_CONFIG_REF`. That keeps the reservation TTL aligned with the code under test and makes the backlog refresh mock match the real Forgejo feed shape. - closes #1371 - ward.workflow: pull-request-and-merge - tests: `go test ./cmd/ward -run 'TestBacklogRefreshReservationStates|TestBacklogReservationState' -count=1`
Fix backlog refresh test config source
All checks were successful
test / test (pull_request) Successful in 1m1s
fb9f471eee
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward!1377
No description provided.