From f7a3423bb55f247a4b4b9f206e69732b8e314310 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 14:02:57 +0000 Subject: [PATCH 1/2] [ci][feat]: add manual workflow_dispatch for experiments Agent-Logs-Url: https://github.com/j143/6g/sessions/4f6d7884-8cbe-4d63-9681-47f30880450c Co-authored-by: j143 <53068787+j143@users.noreply.github.com> --- .github/workflows/experiments-dispatch.yml | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/experiments-dispatch.yml diff --git a/.github/workflows/experiments-dispatch.yml b/.github/workflows/experiments-dispatch.yml new file mode 100644 index 0000000..841c4e3 --- /dev/null +++ b/.github/workflows/experiments-dispatch.yml @@ -0,0 +1,52 @@ +name: Run Experiments + +on: + workflow_dispatch: + inputs: + experiment: + description: "Experiment example to run" + required: true + default: "all" + type: choice + options: + - all + - exp_001_dfrc_pareto_frontier + - exp_002_phy_baseline_comparison + - exp_003_mac_srsran_baseline + - exp_004_semantic_ai_phase5 + - exp_005_e2e_core_session + - exp_006_open5g_core_comparison + - exp_007_ueransim_gnb_comparison + - exp_008_onnx_semantic_codec + - exp_009_5g_vs_6g_full_stack + +env: + CARGO_TERM_COLOR: always + +jobs: + run-experiments: + name: Run selected experiment(s) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - name: Run experiment(s) + run: | + if [ "${{ github.event.inputs.experiment }}" = "all" ]; then + for exp in \ + exp_001_dfrc_pareto_frontier \ + exp_002_phy_baseline_comparison \ + exp_003_mac_srsran_baseline \ + exp_004_semantic_ai_phase5 \ + exp_005_e2e_core_session \ + exp_006_open5g_core_comparison \ + exp_007_ueransim_gnb_comparison \ + exp_008_onnx_semantic_codec \ + exp_009_5g_vs_6g_full_stack + do + cargo run --example "$exp" + done + else + cargo run --example "${{ github.event.inputs.experiment }}" + fi From 651de6433b67ce80e600959a00f5496a2c575b60 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 29 Mar 2026 14:04:17 +0000 Subject: [PATCH 2/2] [ci][fix]: scope GITHUB_TOKEN permissions in experiments dispatch workflow Agent-Logs-Url: https://github.com/j143/6g/sessions/4f6d7884-8cbe-4d63-9681-47f30880450c Co-authored-by: j143 <53068787+j143@users.noreply.github.com> --- .github/workflows/experiments-dispatch.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/experiments-dispatch.yml b/.github/workflows/experiments-dispatch.yml index 841c4e3..285acef 100644 --- a/.github/workflows/experiments-dispatch.yml +++ b/.github/workflows/experiments-dispatch.yml @@ -27,6 +27,8 @@ jobs: run-experiments: name: Run selected experiment(s) runs-on: ubuntu-latest + permissions: + contents: read steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable