terraform-genai-knowledge-base icon indicating copy to clipboard operation
terraform-genai-knowledge-base copied to clipboard

[testing] Test webhook on deployed infrastructure

Open davidcavazos opened this issue 1 year ago • 1 comments

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.

davidcavazos avatar Mar 09 '24 13:03 davidcavazos

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

davidcavazos avatar Mar 09 '24 13:03 davidcavazos

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

github-actions[bot] avatar Jun 29 '24 23:06 github-actions[bot]