Search code examples
palantir-foundryfoundry-code-repositories

How can I prevent timeout error during CI checks in Foundry Code Repository?


In Code Repository, CI check fails due to a timeout after 20 minutes as shown in the screen shot below, how can I increase the timeout period?

enter image description here


Solution

  • As the error log shows Job section timed out, can you open the the ci.yml file in the Code Repository root file (you might need to first toggle Show hidden files and folders option to see it), then replace the section where it says JAVA_OPTS="-Xmx512mg with JAVA_OPTS="-Xmx2g.

    enter image description here

    Once done, try reloading the page and rebuilding the notebook.