Skip to content

Commit

Permalink
remove human review link (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnolte committed Sep 16, 2024
1 parent f8e52d4 commit 7de7f8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
8 changes: 0 additions & 8 deletions src/handlers/testing/exec/components/progress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
makeAutoblocksCIBuildSummaryHtmlUrl,
makeAutoblocksLocalTestResultsHtmlUrl,
makeAutoblocksCITestResultsHtmlUrl,
makeAutoblocksHumanReviewHtmlUrl,
makeAutoblocksGridSearchRunGroupHtmlUrl,
} from '../../util/url';

Expand Down Expand Up @@ -168,13 +167,6 @@ function TestRunRow(props: {
{/* Links */}
<Box flexDirection="column" paddingTop={1} paddingLeft={2}>
{resultsUrl && <ExternalLink name="Results" url={resultsUrl} />}
<ExternalLink
name="Human Review"
url={makeAutoblocksHumanReviewHtmlUrl({
testExternalId: props.runMeta.testExternalId,
runId: props.runMeta.id,
})}
/>
{props.runMeta.gridSearchRunGroupId && (
<ExternalLink
name="Grid Search"
Expand Down
12 changes: 0 additions & 12 deletions src/handlers/testing/exec/util/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@ export function makeAutoblocksCITestResultsHtmlUrl(args: {
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/ci/test/${testId}/branch/${branchId}`;
}

/**
* Links to the human review UI for a particular test run (local or CI).
*/
export function makeAutoblocksHumanReviewHtmlUrl(args: {
testExternalId: string;
runId: string;
}): string {
const testId = encodeURIComponent(args.testExternalId);
const runId = encodeURIComponent(args.runId);
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/test/${testId}/run/${runId}/human-review`;
}

/**
* Links to a group of runs from a grid search.
*/
Expand Down

0 comments on commit 7de7f8c

Please sign in to comment.