A web app's tests can have the base branch's history (web.history) #113
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!113
Loading…
Reference in a new issue
No description provided.
Delete branch "web-test-history"
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?
Part of https://openproject.home.romaine.life/wp/PIPT-12.
chess-tactics' backend tests check that its schema migrations stay append-only against
origin/main. The web-app suite's test job checks out one commit, so there is noorigin/main, and the checkout drops its credentials, so a test can't fetch it later; its PR (romaine-life/chess-tactics#1000) failed there.web.history: truegives that repo's test job full history (fetch-depth: 0), which bringsorigin/<base>. Every other web app keeps a one-commit checkout: the suites limit history to the jobs that read a diff, and the workflow test now allows exactly this conditional one.