diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3edf718333..1b33b002f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ on: jobs: build_and_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: # it is helpful to know which sets of tests would have succeeded, # even when there is a failure. @@ -55,6 +55,9 @@ jobs: - name: Install Node.js packages run: yarn install + - name: Install gvisor + run: sudo apt install runsc + - name: Run eslint if: contains(matrix.tests, ':lint:') run: yarn run lint:ci diff --git a/app/server/lib/ActiveDoc.ts b/app/server/lib/ActiveDoc.ts index eaad7b3530..27dc7ff786 100644 --- a/app/server/lib/ActiveDoc.ts +++ b/app/server/lib/ActiveDoc.ts @@ -2830,7 +2830,7 @@ export class ActiveDoc extends EventEmitter { private async _makeEngine(): Promise { // Figure out what kind of engine we need for this document. - let preferredPythonVersion: '2' | '3' = process.env.PYTHON_VERSION === '3' ? '3' : '2'; + let preferredPythonVersion: '2' | '3' = process.env.PYTHON_VERSION === '2' ? '2' : '3'; // Careful, migrations may not have run on this document and it may not have a // documentSettings column. Failures are treated as lack of an engine preference.