wip: update state_postgres, update dependent modules

This commit is contained in:
2025-07-11 15:34:07 -07:00
parent e74f135494
commit ac6d77509a
2 changed files with 10 additions and 7 deletions

View File

@@ -59,19 +59,19 @@ eof
# Submit the MRVA job with the first query # Submit the MRVA job with the first query
cd ~/work-gh/mrva/gh-mrva/ cd ~/work-gh/mrva/gh-mrva/
gh-mrva submit --language cpp --session mirva-session-2372 \ gh-mrva submit --language cpp --session mirva-session-2473 \
--list mirva-list \ --list mirva-list \
--query ~/work-gh/mrva/gh-mrva/FlatBuffersFunc.ql --query ~/work-gh/mrva/gh-mrva/FlatBuffersFunc.ql
# Check the status of the submitted session # Check the status of the submitted session
gh-mrva status --session mirva-session-2372 gh-mrva status --session mirva-session-2473
# Download SARIF files and databases if there are results. For the current # Download SARIF files and databases if there are results. For the current
# query / database combination there are zero result hence no downloads # query / database combination there are zero result hence no downloads
cd ~/work-gh/mrva/gh-mrva/ cd ~/work-gh/mrva/gh-mrva/
gh-mrva download --session mirva-session-2372 \ gh-mrva download --session mirva-session-2473 \
--download-dbs \ --download-dbs \
--output-dir mirva-session-2372 --output-dir mirva-session-2473
#* Set up QLPack for the next query #* Set up QLPack for the next query
@@ -119,9 +119,9 @@ cd ~/work-gh/mrva/gh-mrva/
gh-mrva download --session mirva-session-2661 \ gh-mrva download --session mirva-session-2661 \
--download-dbs \ --download-dbs \
--output-dir mirva-session-2661 --output-dir mirva-session-2661
ls -l mirva-session-2661
# Download only SARIF files
gh-mrva download --session mirva-session-2661 \ gh-mrva download --session mirva-session-2661 \
--output-dir mirva-session-2661 --output-dir mirva-session-2661
ls -l mirva-session-2661

View File

@@ -20,7 +20,10 @@
# Run standalone # Run standalone
docker run -p 8070:8070 -ti mrva-hepc-container:0.4.0 docker run -p 8070:8070 -ti mrva-hepc-container:0.4.0
# Test server # shell in hepc
docker run -ti mrva-hepc-container:0.4.0 /bin/bash
# Test server; also when running via compose
curl 127.0.0.1:8070/index -o - 2>/dev/null | wc -l curl 127.0.0.1:8070/index -o - 2>/dev/null | wc -l
curl 127.0.0.1:8070/api/v1/latest_results/codeql-all \ curl 127.0.0.1:8070/api/v1/latest_results/codeql-all \