Skip to content

Stop tika-acceptance container when stopping the acceptance backend#78

Merged
reekitconcept merged 2 commits into
mainfrom
fix-acceptance-tika-orphan
Jun 17, 2026
Merged

Stop tika-acceptance container when stopping the acceptance backend#78
reekitconcept merged 2 commits into
mainfrom
fix-acceptance-tika-orphan

Conversation

@reekitconcept

Copy link
Copy Markdown
Member

Summary

make acceptance-backend-dev-start left the tika-acceptance container running after the acceptance stack was stopped.

The target ran:

docker compose -f docker-compose-dev.yml up backend-acceptance solr-acceptance --build

tika-acceptance only came up as a depends_on dependency of solr-acceptance. On Ctrl-C, docker compose up stops the services it was explicitly given (backend-acceptance, solr-acceptance) but leaves such dependencies running — so tika was orphaned.

Fix

Name tika-acceptance explicitly in the up command so compose attaches to it and tears it down together with the rest on Ctrl-C.

Verification

Reproduced deterministically (even a single Ctrl-C): with only solr-acceptance named, solr-acceptance stops but tika-acceptance stays Up. With tika-acceptance named as well, a single Ctrl-C stops both.

`make acceptance-backend-dev-start` ran `docker compose up backend-acceptance
solr-acceptance`, pulling in tika-acceptance only as a solr-acceptance
dependency. docker compose up stops the services it was given on Ctrl-C but
leaves such dependencies running, orphaning the tika container. Name
tika-acceptance explicitly in the up command so it is stopped too.
The acceptance CI run is driven entirely by Makefile targets
(ci-images-load, ci-containers-start, ci-test), but the acceptance
paths-filter did not include the root Makefile, so Makefile-only changes
that affect how the acceptance stack is built/started/tested did not
trigger the acceptance jobs. Add 'Makefile' to the acceptance filter.
@reekitconcept

Copy link
Copy Markdown
Member Author

@davisagli kitconcept.solr runs the solr servers for the cypress tests in a slightly different way than kitconcept.intranet, but just like kitconcept.intranet, it also failed to stop tika in devmode, leaving a stray container running. This is what this PR fixes.

@reekitconcept reekitconcept merged commit 6743288 into main Jun 17, 2026
17 checks passed
@reekitconcept reekitconcept deleted the fix-acceptance-tika-orphan branch June 17, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants