Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,15 @@ Useful direct commands:

After implementing any feature or fix, verify correctness by running all of:

- `make build` — compile frontend and both Go binaries
- `go test ./...` — backend unit tests
- `golangci-lint run` — backend linting
- `cd web && npm test` — frontend tests
- `cd web && npm run lint` — frontend linting
- `cd web && npm run typecheck` — frontend type checking
- `make test-e2e` — end-to-end tests (Dockerized Playwright; also recompiles inside Docker)

All three must pass before considering the work done.
All must pass before considering the work done.

## Agent Working Rules

Expand Down
5 changes: 1 addition & 4 deletions internal/server/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,7 @@ func (s *server) recoverStuckTickets() {
for _, repo := range repos {
tickets := s.meta.ListTickets(repo.ID)
for _, ticket := range tickets {
if ticket.Status == string(workflowstate.FlowStatusDone) ||
ticket.Status == string(workflowstate.FlowStatusFailed) ||
ticket.Status == string(workflowstate.FlowStatusCancelled) ||
ticket.Status == "" {
if ticket.Status != string(workflowstate.FlowStatusRunning) {
continue
}

Expand Down
Loading