Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
512c16f
feat: add phylax docker workflow
lean-apple Jul 3, 2026
8b78fef
chore: remove useless write perm
lean-apple Jul 3, 2026
84cecb2
fix: use GITHUB_TOKEN for GHCR push
lean-apple Jul 3, 2026
56396da
fix: install ca-certificates in phylax docker image
penumbra23 Jul 6, 2026
8c7d22f
ci: remove unused upstream workflows
lean-apple Jul 7, 2026
6cfdd09
Merge branch 'main' into credible-marker
lean-apple Jul 17, 2026
4f09359
update doc
lean-apple Jul 17, 2026
a0bf749
fix(rpc): pin credible marker block to the executed block
lean-apple Jul 17, 2026
96ba3c7
fix(rpc): derive credible marker slot from full U256 block number
lean-apple Jul 17, 2026
b3de14b
docs(rpc): document pending marker limitation
lean-apple Jul 17, 2026
1c77288
fix(rpc): keep exact-block semantics for credible block-hash requests
lean-apple Jul 17, 2026
36928d6
fix(rpc): don't broadcast retained-private forwarded txs
lean-apple Jul 17, 2026
93b134a
fix(rpc): derive credible marker from resolved call env
lean-apple Jul 20, 2026
524b542
fix(rpc): keep credible-retained txs visible by hash
lean-apple Jul 20, 2026
1d3a482
fix(rpc): read retained-private tx from single pool snapshot
lean-apple Jul 20, 2026
060aada
docs(rpc): note private-origin retention assumption
lean-apple Jul 20, 2026
130735b
test(rpc): cover credible marker across call handlers
lean-apple Jul 20, 2026
a5dc849
fix(rpc): hide retained-private txs from txpool namespace
lean-apple Jul 20, 2026
a07d6c4
test(rpc): cover txpool private-tx hiding
lean-apple Jul 20, 2026
0173e95
perf(txpool): maintain private-tx counts for O(1) txpool_status
lean-apple Jul 20, 2026
67dad48
refactor(rpc): drop misleading DEFAULT_ prefix from credible base-slo…
lean-apple Jul 20, 2026
0b735ae
fix(txpool): guard private-tx count decrement against underflow
lean-apple Jul 20, 2026
6b43319
fix: fix doc
lean-apple Jul 20, 2026
8ffa5ca
fix(txpool): serve txpool_status counts from a single snapshot
lean-apple Jul 20, 2026
69f9f69
refactor(txpool): rename combined count accessor to total_and_private…
lean-apple Jul 20, 2026
49face8
Merge pull request #2 from phylaxsystems/credible-marker
lean-apple Jul 20, 2026
768e670
ci: cache docker builds via GHCR registry buildcache
lean-apple Jul 20, 2026
887fef5
Merge pull request #6 from phylaxsystems/ci/docker-build-cache
lean-apple Jul 20, 2026
f2da679
ci: reject fork refs on self-hosted benchmarks
odyslam Jul 21, 2026
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
57 changes: 49 additions & 8 deletions .github/workflows/bench-benchmarkoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
download_ref:
description: "Reth git ref used only for snapshot download"
required: false
default: "pull/24027/head"
default: "main"
type: string
suite:
description: "benchmarkoor-replay suite"
Expand Down Expand Up @@ -149,7 +149,53 @@ name: bench-benchmarkoor
permissions: {}

jobs:
authorize:
name: authorize self-hosted benchmark refs
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: Reject fork and hidden pull refs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
INPUT_PR: ${{ inputs.pr || '' }}
INPUT_FEATURE: ${{ inputs.feature || '' }}
INPUT_BASELINE: ${{ inputs.baseline || 'main' }}
INPUT_DOWNLOAD: ${{ inputs.download_ref || 'main' }}
with:
script: |
const trustedRepository = `${context.repo.owner}/${context.repo.repo}`;
const pullNumber = process.env.INPUT_PR;
if (pullNumber) {
const { data: pr } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: Number(pullNumber),
});
if (pr.head.repo.full_name !== trustedRepository) {
core.setFailed(`Refusing to run fork PR code from ${pr.head.repo.full_name} on a self-hosted runner`);
return;
}
}

const unsafeRef = (ref) => {
const value = String(ref || '');
return /^(refs\/)?pull\//.test(value) || /^[0-9a-f]{40}$/i.test(value);
};
for (const [name, value] of [
['feature', process.env.INPUT_FEATURE],
['baseline', process.env.INPUT_BASELINE],
['download_ref', process.env.INPUT_DOWNLOAD],
]) {
if (unsafeRef(value)) {
core.setFailed(`${name} must be a branch or tag in ${trustedRepository}; pull refs and raw SHAs are not allowed on self-hosted runners`);
return;
}
}

benchmarkoor:
needs: authorize
name: bench-benchmarkoor
runs-on: [self-hosted, Linux, X64, available]
permissions:
Expand Down Expand Up @@ -330,18 +376,13 @@ jobs:
INPUT_PR: ${{ inputs.pr || '' }}
INPUT_FEATURE: ${{ inputs.feature || '' }}
INPUT_BASELINE: ${{ inputs.baseline || 'main' }}
INPUT_DOWNLOAD: ${{ inputs.download_ref || 'pull/24027/head' }}
INPUT_DOWNLOAD: ${{ inputs.download_ref || 'main' }}
run: |
set -euo pipefail
git fetch origin main --quiet

resolve_ref() {
local ref="$1"
if [[ "$ref" =~ ^pull/[0-9]+/(head|merge)$ ]]; then
git fetch origin "$ref" --quiet
git rev-parse --verify "FETCH_HEAD^{commit}"
return 0
fi
git fetch origin "$ref" --quiet 2>/dev/null || true
if git rev-parse --verify --quiet "${ref}^{commit}" >/dev/null; then
git rev-parse --verify "${ref}^{commit}"
Expand All @@ -364,7 +405,7 @@ jobs:

BASELINE_NAME="${INPUT_BASELINE:-main}"
BASELINE_REF="$(resolve_ref "$BASELINE_NAME")"
DOWNLOAD_NAME="${INPUT_DOWNLOAD:-pull/24027/head}"
DOWNLOAD_NAME="${INPUT_DOWNLOAD:-main}"
DOWNLOAD_REF="$(resolve_ref "$DOWNLOAD_NAME")"

{
Expand Down
Loading
Loading