Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = require("fs")
var { benchBranch, benchmarkRuntime } = require("./bench");

module.exports = app => {
const baseBranch = process.env.BASE_BRANCH || "master"
const baseBranch = process.env.BASE_BRANCH || "master"
app.log(`base branch: ${baseBranch}`);

const appId = parseInt(process.env.APP_ID)
Expand Down Expand Up @@ -93,6 +93,9 @@ module.exports = app => {
report = await benchBranch(app, config)
};

// Max github body is 65536 characters... we are a little conservative.
report = report.substring(0, 65000)

if (report.error) {
app.log(`error: ${report.stderr}`)
if (report.step != "merge") {
Expand Down