diff --git a/src/main.ts b/src/main.ts
index 8551f93..5330dbe 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -64,7 +64,7 @@ async function runInCI(
process.env.SITE_APP_URL ??
siteApiEndpoint.replace(/\/api\/?$/, "").replace("api.", "app.");
const baseUrl = appUrl.replace(/\/$/, "");
- reportContext.runUrl = `${baseUrl}/ci/${runId}`;
+ reportContext.runUrl = `${baseUrl}/ixr/ci/${runId}`;
reportContext.queryBaseUrl = baseUrl;
}
diff --git a/src/reporters/github/success.md.j2 b/src/reporters/github/success.md.j2
index 131f857..9018fb4 100644
--- a/src/reporters/github/success.md.j2
+++ b/src/reporters/github/success.md.j2
@@ -14,7 +14,7 @@
#### This PR improves queries
{% for q in displayImproved %}
-- {% if queryBaseUrl %}[{{ q.queryPreview }}]({{ queryBaseUrl }}/ci/queries/{{ q.hash }}){% else %}{{ q.queryPreview }}{% endif %}
cost {{ formatCost(q.previousCost) }} → {{ formatCost(q.currentCost) }} ({{ q.improvementPercentage | round(0) }}% reduction){% if q.indexesChanged %}{% if q.previousIndexes.length > 0 %}
was using: {% for idx in q.previousIndexes %}{{ idx }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}{% if q.currentIndexes.length > 0 %}
now using: {% for idx in q.currentIndexes %}{{ idx }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}{% endif %}{{""}}
+- {% if queryBaseUrl %}[{{ q.queryPreview }}]({{ queryBaseUrl }}/ixr/ci/queries/{{ q.hash }}){% else %}{{ q.queryPreview }}{% endif %}
cost {{ formatCost(q.previousCost) }} → {{ formatCost(q.currentCost) }} ({{ q.improvementPercentage | round(0) }}% reduction){% if q.indexesChanged %}{% if q.previousIndexes.length > 0 %}
was using: {% for idx in q.previousIndexes %}{{ idx }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}{% if q.currentIndexes.length > 0 %}
now using: {% for idx in q.currentIndexes %}{{ idx }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %}{% endif %}{{""}}
{% endfor %}
{% endif %}
@@ -22,7 +22,7 @@
#### This PR has regressions on queries
{% for q in displayRegressed %}
-- {% if queryBaseUrl %}[{{ q.queryPreview }}]({{ queryBaseUrl }}/ci/queries/{{ q.hash }}){% else %}{{ q.queryPreview }}{% endif %}
cost {{ formatCost(q.previousCost) }} → {{ formatCost(q.currentCost) }} (+{{ q.regressionPercentage | round(0) }}%)
+- {% if queryBaseUrl %}[{{ q.queryPreview }}]({{ queryBaseUrl }}/ixr/ci/queries/{{ q.hash }}){% else %}{{ q.queryPreview }}{% endif %}
cost {{ formatCost(q.previousCost) }} → {{ formatCost(q.currentCost) }} (+{{ q.regressionPercentage | round(0) }}%)
{% endfor %}
{% endif %}
@@ -40,7 +40,7 @@
#### This PR introduces queries with recommendations
{% for r in displayRecommendations %}
-- {% if queryBaseUrl %}[{{ r.queryPreview }}]({{ queryBaseUrl }}/ci/queries/{{ r.fingerprint }}){% else %}{{ r.queryPreview }}{% endif %}
recommended index {{ r.proposedIndexes | join(", ") }}
cost {{ formatCost(r.baseCost) }} → {{ formatCost(r.optimizedCost) }} ({{ (((r.baseCost - r.optimizedCost) / r.baseCost) * 100) | round(0) }}% reduction)
+- {% if queryBaseUrl %}[{{ r.queryPreview }}]({{ queryBaseUrl }}/ixr/ci/queries/{{ r.fingerprint }}){% else %}{{ r.queryPreview }}{% endif %}
recommended index {{ r.proposedIndexes | join(", ") }}
cost {{ formatCost(r.baseCost) }} → {{ formatCost(r.optimizedCost) }} ({{ (((r.baseCost - r.optimizedCost) / r.baseCost) * 100) | round(0) }}% reduction)
{% endfor %}
{% endif %}
@@ -49,7 +49,7 @@
{{ preExistingRecommendations.length }} pre-existing issue{{ "s" if preExistingRecommendations.length != 1 else "" }}
{% for r in preExistingRecommendations %}
-- {% if queryBaseUrl %}[{{ r.queryPreview }}]({{ queryBaseUrl }}/ci/queries/{{ r.fingerprint }}){% else %}{{ r.queryPreview }}{% endif %}
index {{ r.proposedIndexes | join(", ") }}
cost {{ formatCost(r.baseCost) }} → {{ formatCost(r.optimizedCost) }} ({{ (((r.baseCost - r.optimizedCost) / r.baseCost) * 100) | round(0) }}% reduction)
+- {% if queryBaseUrl %}[{{ r.queryPreview }}]({{ queryBaseUrl }}/ixr/ci/queries/{{ r.fingerprint }}){% else %}{{ r.queryPreview }}{% endif %}
index {{ r.proposedIndexes | join(", ") }}
cost {{ formatCost(r.baseCost) }} → {{ formatCost(r.optimizedCost) }} ({{ (((r.baseCost - r.optimizedCost) / r.baseCost) * 100) | round(0) }}% reduction)
{% endfor %}
{% endif %}