Forgefriends merge requestshttps://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests2022-11-13T16:07:50Zhttps://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests/55Draft: Add support for the Friendly Forge Format (F3)2022-11-13T16:07:50ZLoïc DacharyDraft: Add support for the Friendly Forge Format (F3)PR: https://gitea.com/earl-warren/gitea/pulls/2
---
To run tests use [the cheatlist example](https://forum.forgefriends.org/t/cheatlist-for-forgefriends-development/429) with `--volume=$(pwd)/../gof3:/gof3` to expose the local copy of ...PR: https://gitea.com/earl-warren/gitea/pulls/2
---
To run tests use [the cheatlist example](https://forum.forgefriends.org/t/cheatlist-for-forgefriends-development/429) with `--volume=$(pwd)/../gof3:/gof3` to expose the local copy of gof3 so that local changes are taken into account before they are merged and add to `go.mod`:
```
replace lab.forgefriends.org/friendlyforgeformat/gof3 => ../../gof3
```
```
docker run --rm -ti -e TEST_TAGS='bindata sqlite sqlite_unlock_notify' -e GOPATH=/tmp/cache/go-path -e GOCACHE=/tmp/cache/go-build --volume=$(pwd)/..:/tmp/cache --volume=$(pwd)/../gof3:/gof3 --volume $(pwd):/drone/src --workdir /drone/src --user gitea mytestenv bash -c 'make integrations.sqlite.test generate-ini-sqlite && GITEA_CONF=tests/sqlite.ini ./integrations.sqlite.test -test.v -test.run TestF3'
```Earl WarrenEarl Warrenhttps://lab.forgefriends.org/forgefriends/forgefriends/-/merge_requests/54Draft: test demonstrating orphaned process are not killed with their parent2023-08-13T09:05:20ZLoïc DacharyDraft: test demonstrating orphaned process are not killed with their parentPR: https://github.com/go-gitea/gitea/pull/20264
---
This test fails and demonstrates that when Gitea kills one of its
children (for instance when mirroring a repository timesout), the grand
children are not killed and become orphaned ...PR: https://github.com/go-gitea/gitea/pull/20264
---
This test fails and demonstrates that when Gitea kills one of its
children (for instance when mirroring a repository timesout), the grand
children are not killed and become orphaned that linger and will
eventually become zombies.
This is explained in detail in these blog posts:
* https://hostea.org/blog/zombies/
* https://hostea.org/blog/zombies-part-2/
I'd be happy to work on implementing a bug fix for Gitea.
```
...
[unit-test:115] 16511 1 16494 /usr/libexec/git-core/git remote-https origin https://4.4.4.4
[unit-test:116] 16513 16511 16494 /usr/libexec/git-core/git-remote-https origin https://4.4.4.4
...
[unit-test:120] 17165 16486 1 ps -x -o pid,ppid,pgid,args
[unit-test:121] Contains git-remote-https origin https://4.4.4.4
[unit-test:122] Test: TestManagerKillGrandChildren
[unit-test:123] FAIL
[unit-test:124] coverage: 35.5% of statements
[unit-test:125] FAIL code.gitea.io/gitea/modules/process 6.518s
```Loïc DacharyLoïc Dachary