terraform-genai-knowledge-base
terraform-genai-knowledge-base copied to clipboard
[testing] Test webhook on deployed infrastructure
Currently the tests are running locally in pytest.
There should be an additional test that deploys the webhook into Cloud Functions along with the Eventarc trigger, and it should simply upload a document and wait for a successful processing. This test would fail if a code change or dependency upgrade requires more memory in the Cloud Function deployment.
The existing "local" test is still useful to get logs for debugging.
Use gs://arxiv-dataset/arxiv/cmp-lg/pdf/9505/9505005v2.pdf for this test, it's a large document with 20 pages that requires several GiB to process
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days