In this section
- GlobalGrid2050 Dependencies V4 Workflow automation · globalgrid2050 / .github/workflows/dependencies_v4.yml lines 1–21
- GlobalGrid2050 Deploy Pages Workflow automation · globalgrid2050 / .github/workflows/deploy-pages.yml lines 1–397
- GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split Workflow automation · globalgrid2050 / .github/workflows/diagnose_repair_v6_price_v5_ui_split.yml lines 1–28
- GlobalGrid2050 Document UK Energy Trackers Workflow automation · globalgrid2050 / .github/workflows/document_uk_energy_trackers.yml lines 1–40
- GlobalGrid2050 Elexon Generation Sources Weekly Workflow automation · globalgrid2050 / .github/workflows/elexon_generation_sources_weekly.yml lines 1–56
- GlobalGrid2050 Elexon System Prices Workflow automation · globalgrid2050 / .github/workflows/elexon_system_prices.yml lines 1–49
GlobalGrid2050 Dependencies V4 Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/dependencies_v4.yml · lines 1–21 of 21 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “V4 Dependency Diagnostics”; runs GlobalGrid2050 Dependencies V4 (`scripts/dependencies_v4.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Dependencies V4 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- V4 Dependency Diagnostics
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/dependencies_v4.yml:1-21 · blob fbfe2a476e12d5d915757734efd5fcd1f5d5c334 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: V4 Dependency Diagnostics
on:
workflow_dispatch:
permissions:
contents: write
jobs:
diagnostics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run V4 dependency diagnostics
run: python scripts/dependencies_v4.py
- name: Commit V4 diagnostics report
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Run V4 dependency diagnostics
file_pattern: gridbot_reports/dependencies_v4.md gridbot_reports/dependencies_v4.jsonGlobalGrid2050 Deploy Pages Workflow
A GitHub Actions workflow that builds and publishes the site. Runs on push, by hand and after another workflow.
automationglobalgrid2050 / .github/workflows/deploy-pages.yml · lines 1–397 of 397 · Entry point
- What it does
- It builds and publishes its content. Side effects: changes the web page (DOM); reads or writes files; makes network requests; starts processes.
- Inputs & outputs
- In: JSON file status.json; JSON file major_project_news_v5.json; JSON file major_projects_v5.json; JSON file major_project_news_v6.json; JSON file major_project_news_v9_5_1.json; JSON file major_projects_v6.json; JSON file project_identity_v6.json; JSON file project_identity_v6_integrity.json. Out: GitHub Pages deployment.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Import Homepage Owner (`scripts/import_homepage_owner.py`), Browser Smoke V9 7 (`uk_renewables_pipeline/v9.7/tests/browser_smoke_v9_7.mjs`) and Browser Stage Agent7 (`uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs`); publishes to GitHub Pages.
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Import Homepage Owner (workflow run), Browser Smoke V9 7 (workflow run), Browser Stage Agent7 (workflow run), Browser Real Map to Engine Agent7 (workflow run), Public (workflow run), Ventus — Wiring Page (estate URL)
- Used by
- none found
- Produces
- none declared
- Defines here
- Deploy GlobalGrid2050 Pages
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/deploy-pages.yml:1-397 · blob b218755f66afe2a74ee5ee43e3e1f7a6523e6c27 · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: output · effects: dom, filesystem, network, process · domain stage: unknown · users: none · canonical: production_core
name: Deploy GlobalGrid2050 Pages
on:
workflow_dispatch:
# Commits pushed by the V6 workflow use GITHUB_TOKEN and therefore do not emit a
# second push workflow. Deploy the validated main branch when that workflow finishes.
workflow_run:
workflows: ["UK Renewables V6 REPD-Bound Newspaper"]
types: [completed]
branches: [main]
push:
branches: [main]
paths:
- 'index.html'
- 'scripts/import_homepage_owner.py'
- 'homepage-shell/**'
- 'testcode/**'
# The Kuiper and Real Systems now live at permanent addresses, /kuiper/ and /systems/,
# as an immutable shell plus hashed cartridges behind current.json. Neither folder was in
# this list, so on 2026-09-20 the first shell release (k0031) triggered no deploy at all and
# /kuiper/ sat at HTTP 404 for seven minutes until a deploy was started by hand; the next
# cartridge then blocked the release timer, which waits for published bytes. Third time
# this file has learned the same lesson: a folder that is published must be listed here.
- 'kuiper/**'
- 'systems/**'
# The Solar Design Studio site world ships as dated release folders; a manifest fix on
# 2026-09-26 did not deploy because this folder was missing here. Fourth time.
- 'solar-design-studio/**'
# The compute method page is published from its own folder at /compute/.
# Fourth time this file learns the lesson: on 2026-09-21 it went live as a
# 404 because the folder was not listed here, and the manual dispatches
# that would have covered it were cancelled by the concurrency group.
- 'compute/**'
# FIFTH TIME. The Kuiper grid builds are published from kuiper-grid/, a
# different folder from kuiper/, and it was not in this list - so i0092
# was pushed, gated, hashed and merged on 21 September and the live site
# went on showing i0091. Nothing failed. No run went red. The commit said
# PUBLISHED and the page said otherwise, which is the worst shape a
# failure can take.
#
# THIS LIST IS THE BUG. An allow-list of published folders has now been
# wrong five times, and it will be wrong again the next time a folder is
# added, because nothing anywhere checks that the two agree. It should be
# inverted to paths-ignore, so a new published folder deploys by default
# and only what is deliberately excluded does not. Left as a list for now
# because inverting it changes how often this deploys, and that is a
# decision about the runners, not a typo fix.
- 'kuiper-grid/**'
# EIGHTH TIME, listed with the folder: kuiper-editions/ is the door on this domain to the
# Kuiper editions served from kuiper-belt (1 November 2026). Its first push deployed
# nothing because it was not here; the deploy was dispatched by hand.
- 'kuiper-editions/**'
# SIXTH TIME, and added WITH the folder rather than after it. The
# comments above count to five because each was found by a page
# being published and not appearing. This one is listed before
# anything is served from it.
- 'plant/**'
# SEVENTH TIME. The Energy Transition Simulator ships dated versions under
# energy-transition-simulator/ (v1 202609280014 on 28 September). It was not
# listed, so its first push deployed nothing and served 404. Listed now.
- 'energy-transition-simulator/**'
- 'ventus/**'
- 'why_ventusltd_building_globalgrid2050/**'
# A new PipelineNews release is a directory under uk_renewables_pipeline.
# It was NOT in this list, so a push that only added a release triggered
# no deploy at all: 202609061329 sat at HTTP 404 through eight polls after
# its push, and 202609061149 only went live because an unrelated homepage
# restore happened to fire this workflow. CD that depends on a coincidence
# is not CD. The workflow file itself is listed too, so a change to what
# deploys is deployed by the same push that makes it.
- 'uk_renewables_pipeline/**'
- 'pipelinenews_intelligence/**'
# The homepage is rendered from catalogue/homepage-catalogue.json. A run of
# scripts/build_homepage_catalogue.py that changes only the JSON must deploy.
- 'catalogue/**'
- '.github/workflows/deploy-pages.yml'
- 'CNAME'
# The build status page is published from the repository root, not from a
# release directory, so nothing above matched it. status.json was committed
# at 15,173 bytes with 25 entries on 2026-09-05 and that push triggered zero
# workflow runs; the site kept serving the previous 10,454-byte, 19-entry
# document. The page built specifically so a lost context window could
# recover the estate's state was the one artefact that never reached it.
# Checking for HTTP 200 did not catch this - the stale document also
# returns 200. Compare published bytes, not status codes.
- 'status.html'
- 'status.json'
# A published Pipeline News snapshot must trigger the deploy that
# serves it. Until 202609020025 no path here matched
# pipelinenews_intelligence/, so pushing a new release directory
# deployed nothing at all: 202609012326 sat on origin/main, complete
# and verified byte-identical to its release, and returned 404 for
# over an hour. Every earlier snapshot appeared to work only because
# its commit also touched index.html, which did match - so the
# directory was being served as a side effect of a homepage edit
# rather than because it had been published.
- 'pipelinenews_intelligence/**'
- 'employers_competence/**'
- 'solar_deployment_statistics/**'
- 'solar_components/**'
- 'uk_renewables_pipeline/**'
# The estate build scan is a published directory like the Pipeline News
# snapshots above. Without a path here a rescan would deploy nothing,
# and would appear to work only when its commit also touched index.html.
- 'estate_scan/**'
# Working papers are published directories like the snapshots above.
# papers/202609060045-published-fault-level/ was the first; without a
# path here it would have deployed only when a commit also touched
# index.html, which is the silent non-deploy this list keeps recording.
- 'papers/**'
# Grid Engine workbenches are published directories like the papers and
# snapshots above, plus a ledger the index reads at runtime. Without a
# path here a new iteration would deploy nothing, and would appear to
# work only when its commit also touched index.html — the silent
# non-deploy this list exists to keep recording.
- 'grid_engine/**'
- 'dist/major_project_news_v5.json'
- 'dist/major_projects_v5.json'
- 'dist/major_project_news_v6.json'
- 'dist/major_project_news_v9_5_1.json'
- 'dist/major_projects_v6.json'
- 'dist/project_identity_v6.json'
- 'dist/project_identity_v6_integrity.json'
- 'dist/project_news_links_v6.json'
- 'dist/repd_source_reconciliation_v6.json'
- 'dist/renewables_v6_integrity.json'
- 'dist/manifest_v6.json'
- 'dist/repd_master.json'
- 'dist/manifest_v4.json'
- '.github/workflows/deploy-pages.yml'
permissions:
contents: read
pages: write
id-token: write
statuses: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
outputs:
deployed_sha: ${{ steps.source.outputs.sha }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 1
- name: Record deployed commit
id: source
run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
- name: Mark Pages deployment pending
env:
GH_TOKEN: ${{ github.token }}
TARGET_SHA: ${{ steps.source.outputs.sha }}
run: |
gh api --method POST \
-H "X-GitHub-Api-Version: 2022-11-28" \
"repos/${GITHUB_REPOSITORY}/statuses/${TARGET_SHA}" \
-f state=pending \
-f context='globalgrid/pages-deploy' \
-f description='GlobalGrid2050 Pages deployment running' \
-f target_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
- name: Import hash-pinned homepage owner bundle
run: python3 scripts/import_homepage_owner.py
- name: Configure Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
verify_v9_7_candidate:
runs-on: ubuntu-latest
needs: [build, deploy]
timeout-minutes: 20
steps:
- name: Checkout deployed commit
uses: actions/checkout@v4
with:
ref: ${{ needs.build.outputs.deployed_sha }}
fetch-depth: 1
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: uk_renewables_pipeline/v9.7/package-lock.json
- name: Install pinned browser harness
working-directory: uk_renewables_pipeline/v9.7
run: |
npm ci
npx playwright install --with-deps chromium
- name: Wait for deployed V9.7 candidate bytes
env:
TARGET_SHA: ${{ needs.build.outputs.deployed_sha }}
run: |
live="https://globalgrid2050.com/uk_renewables_pipeline/v9.7/?deployment=${TARGET_SHA}"
for _ in {1..30}; do
if curl --fail --silent --show-error --location --max-time 20 "$live" | grep -q 'UK RENEWABLES PIPELINE V9.7'; then
exit 0
fi
sleep 2
done
echo "Deployed V9.7 candidate HTML did not become observable" >&2
exit 1
- name: Run deployed V9.7 candidate browser proof
env:
TARGET_SHA: ${{ needs.build.outputs.deployed_sha }}
V9_BASE_URL: https://globalgrid2050.com/uk_renewables_pipeline/v9.7/?deployment=${{ needs.build.outputs.deployed_sha }}
run: node uk_renewables_pipeline/v9.7/tests/browser_smoke_v9_7.mjs
- name: Verify VENTUS wiring on Linux Chromium
working-directory: uk_renewables_pipeline/v9.7
env:
TARGET_SHA: ${{ needs.build.outputs.deployed_sha }}
run: |
node --input-type=module <<'JS'
import assert from 'node:assert/strict';
import {chromium} from 'playwright';
const browser=await chromium.launch({headless:true});
const report=[];
try {
for(const [file,kind] of [['inverter-48.html','dc'],['inverter-station.html','ac']]) {
const page=await browser.newPage({viewport:{width:1440,height:1000}}),errors=[];
page.on('pageerror',e=>errors.push(e.message));
const start=Date.now();
const response=await page.goto('https://globalgrid2050.com/ventus/wiring/'+file+'?release='+process.env.TARGET_SHA,{waitUntil:'domcontentloaded'});
assert.equal(response.status(),200);
await page.waitForFunction(k=>k==='dc'?window.__inverter48?.ready&&window.__inverter48.animatedHomeCount===48:!!window.__inverterStation,kind,{timeout:45000});
const state=await page.evaluate(k=>k==='dc'?{modules:__inverter48.model.modules.length,homes:__inverter48.model.homes.length,playing:__inverter48.playing,activeHomes:__inverter48.animatedHomeCount}:{inverters:__inverterStation.model.inverters.length,cables:__inverterStation.model.cables.length,paused:document.querySelector('#drawing').classList.contains('paused')},kind);
if(kind==='dc'){assert.equal(state.modules,900);assert.equal(state.homes,48);assert.equal(state.playing,true);assert.equal(state.activeHomes,48);}
else{assert.equal(state.inverters,28);assert.equal(state.cables,84);assert.equal(state.paused,false);}
assert.deepEqual(errors,[]);
report.push({file,platform:process.platform,state,readyMs:Date.now()-start,errors});
await page.close();
}
console.log(JSON.stringify({passed:true,release:process.env.TARGET_SHA,report},null,2));
}finally{await browser.close();}
JS
verify_v922_public:
name: Agent8 V9.22 public served-byte, browser and real MAP acceptance
needs: [build, deploy]
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.build.outputs.deployed_sha }}
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Fetch public HTTPS V9.22 and immutable V9.21/V9.20, compare exact source bytes
shell: bash
run: |
set -euo pipefail
mkdir -p /tmp/agent8-v922-public
report=/tmp/agent8-v922-public/served-sha256.txt
echo "deployed_commit=$(git rev-parse HEAD)" > "$report"
for relative in \
uk_renewables_pipeline/202611151300/index.html \
uk_renewables_pipeline/202611151300/scripts/plugins/live-news.js \
uk_renewables_pipeline/202611151300/data/v9.1/build_manifest.json \
uk_renewables_pipeline/202611151300/contracts/release.v9.1.json \
uk_renewables_pipeline/202611151300/news/pipeline_headlines.snapshot.json \
uk_renewables_pipeline/202611141017/index.html \
uk_renewables_pipeline/202611140306/index.html
do
test -s "$relative" || { echo "Source file missing or empty: $relative"; exit 1; }
target=/tmp/agent8-v922-public/"$(echo "$relative" | tr '/' '_')"
expected="$(sha256sum "$relative" | cut -d' ' -f1)"
matched=0
for attempt in 1 2 3 4 5 6 7 8 9 10 11 12; do
if curl --fail --silent --show-error --location --max-time 40 --retry 1 \
"https://globalgrid2050.com/$relative?source=$(git rev-parse --short HEAD)" -o "$target"; then
actual="$(sha256sum "$target" | cut -d' ' -f1)"
if [ "$actual" = "$expected" ]; then matched=1; break; fi
fi
sleep 8
done
echo "$relative source=$expected served=$(sha256sum "$target" 2>/dev/null | cut -d' ' -f1) match=$matched" | tee -a "$report"
test "$matched" = 1 || { echo "PUBLIC BYTE MISMATCH/UNVERIFIED: $relative" >&2; exit 1; }
done
echo "Exact public served bytes for V9.22 and historical rollback paths: PASS" | tee -a "$report"
- name: Install browser engines for real public source acceptance
working-directory: uk_renewables_pipeline/202611151300
run: |
npm ci --no-audit --no-fund
npx playwright install --with-deps chromium webkit
- name: Public V9.22 Chromium 390/1440 + WebKit 393, actual REPD/CSV/MAP controls
env:
V9_BASE_URL: https://globalgrid2050.com/uk_renewables_pipeline/202611151300/
AGENT7_SCREENSHOT_DIR: /tmp/agent8-v922-public/browser
run: node uk_renewables_pipeline/202611151300/tests/browser_stage_agent7.mjs
- name: Real PUBLIC V9.22 MAP click through live GridAtlas to three actual nearest calculations
env:
AGENT7_PIPELINE_SOURCE: https://globalgrid2050.com/uk_renewables_pipeline/202611151300/
AGENT7_ENGINE_MODE: public
AGENT7_ENGINE_SAMPLE_LIMIT: '3'
AGENT7_ENGINE_WAIT_MS: '85000'
AGENT7_ENGINE_REPORT_DIR: /tmp/agent8-v922-public/engine
shell: bash
run: |
set -euo pipefail
for width in 390 1440; do
export AGENT7_ENGINE_WIDTH="$width"
node uk_renewables_pipeline/202611151300/tests/browser_real_map_to_engine_agent7.mjs
done
echo "Public three-class MAP→GridAtlas real-engine sample success is not fleet-wide acceptance."
- name: Scope V9.42 public mobile acceptance to its homepage publisher
id: v942_scope
env:
EVENT_NAME: ${{ github.event_name }}
BEFORE_SHA: ${{ github.event.before }}
shell: bash
run: |
set -euo pipefail
enabled=false
pin="$(python3 -c "import json; print(json.load(open('catalogue/homepage-owner.json'))['commit'])")"
if [ "$pin" = 'd760e9902698f7c01e0019d40d8b501dfafb5b44' ]; then
if [ "$EVENT_NAME" = workflow_dispatch ]; then
enabled=true
elif [ "$EVENT_NAME" = push ] && [[ "$BEFORE_SHA" =~ ^[0-9a-f]{40}$ ]] && [ "$BEFORE_SHA" != '0000000000000000000000000000000000000000' ]; then
git fetch --no-tags --depth=1 origin "$BEFORE_SHA"
if ! git diff --quiet "$BEFORE_SHA" HEAD -- catalogue/homepage-owner.json; then enabled=true; fi
fi
fi
echo "enabled=$enabled" >> "$GITHUB_OUTPUT"
echo "V9.42 public sender + actual Atlas result gate enabled=$enabled"
- name: Actual V9.42 Android and WebKit MAP tap, visible result, rotation and Back
if: steps.v942_scope.outputs.enabled == 'true'
env:
PLAYWRIGHT_MODULE: ${{ github.workspace }}/uk_renewables_pipeline/202611151300/node_modules/playwright/index.mjs
V942_PUBLIC_OUT: /tmp/agent8-v922-public/v942-mobile
run: node automation/v942_preview/public.mjs
- name: Preserve real public source SHA and browser/engine receipts including failures
if: always()
uses: actions/upload-artifact@v4
with:
name: agent8-v922-public-served-sha-browser-grid
path: /tmp/agent8-v922-public/
if-no-files-found: warn
report:
if: always()
runs-on: ubuntu-latest
needs: [build, deploy, verify_v9_7_candidate, verify_v922_public]
steps:
- name: Publish Pages deployment result
env:
GH_TOKEN: ${{ github.token }}
TARGET_SHA: ${{ needs.build.outputs.deployed_sha || github.sha }}
BUILD_RESULT: ${{ needs.build.result }}
DEPLOY_RESULT: ${{ needs.deploy.result }}
LIVE_RESULT: ${{ needs.verify_v9_7_candidate.result }}
V922_RESULT: ${{ needs.verify_v922_public.result }}
run: |
if [[ "$BUILD_RESULT" == "success" && "$DEPLOY_RESULT" == "success" && "$LIVE_RESULT" == "success" && "$V922_RESULT" == "success" ]]; then
state=success
description='Pages, V9.7 and V9.22 public served bytes/browser/engine passed'
elif [[ "$BUILD_RESULT" == "cancelled" || "$DEPLOY_RESULT" == "cancelled" || "$LIVE_RESULT" == "cancelled" || "$V922_RESULT" == "cancelled" ]]; then
state=error
description='GlobalGrid2050 Pages verification cancelled'
else
state=failure
description='Pages, V9.7, or V9.22 public served-byte/browser/engine acceptance failed'
fi
gh api --method POST \
-H "X-GitHub-Api-Version: 2022-11-28" \
"repos/${GITHUB_REPOSITORY}/statuses/${TARGET_SHA}" \
-f state="$state" \
-f context='globalgrid/pages-deploy' \
-f description="$description" \
-f target_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/diagnose_repair_v6_price_v5_ui_split.yml · lines 1–28 of 28 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage hv_procurement (path word 'price'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split (`scripts/diagnose_repair_v6_price_v5_ui_split.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Diagnose Repair V6 Price V5 UI Split (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Diagnose Repair V6 Price V5 UI Split
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/diagnose_repair_v6_price_v5_ui_split.yml:1-28 · blob c8fbceaadbd41fe3310b554bfd979e4053bd42db · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: Diagnose Repair V6 Price V5 UI Split
on:
workflow_dispatch:
permissions:
contents: write
jobs:
diagnose_repair:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run diagnostic repair
run: python scripts/diagnose_repair_v6_price_v5_ui_split.py
- name: Commit diagnostic repair output
run: |
git config user.name "GridBot"
git config user.email "gridbot@users.noreply.github.com"
git add uk_energy_tracking_v6/price_history_chart/render_price_chart/render_price_chart.js
git add uk_energy_tracking_v6/index.md
git add uk_energy_tracking_v6/V6_PRICE_V5_UI_SPLIT_DIAGNOSTIC_REPAIR.md
git add uk_energy_tracking_v6/V5_V6_COMPARISON_REPORT_V2.md
git diff --cached --quiet && echo "No changes to commit" && exit 0
git commit -m "Diagnose and repair V6 price chart V5 UI split"
git pushGlobalGrid2050 Document UK Energy Trackers Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/document_uk_energy_trackers.yml · lines 1–40 of 40 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Document UK Energy Trackers (`scripts/document_uk_energy_trackers.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Document UK Energy Trackers (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- document_uk_energy_trackers
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/document_uk_energy_trackers.yml:1-40 · blob 33db2adf005d763b0536edb09f0902bac7bef45b · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: unknown · users: none · canonical: production_core
name: document_uk_energy_trackers
on:
workflow_dispatch:
permissions:
contents: write
jobs:
document-trackers:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Generate tracker diagnostics
run: python scripts/document_uk_energy_trackers.py
- name: Commit diagnostic notes
run: |
git config --global user.name "GridBot"
git config --global user.email "gridbot@globalgrid2050.com"
git add uk_energy_tracking/DIAGNOSTIC_NOTES.md
git add uk_energy_tracking_v2/DIAGNOSTIC_NOTES.md
git add UK_ENERGY_TRACKER_COMPARISON.md
git add gridbot_reports/document_uk_energy_trackers.md
if [ -n "$(git status --porcelain)" ]; then
git commit -m "docs: Generate UK energy tracker diagnostics via GridBot"
git push
else
echo "No documentation changes detected"
fiGlobalGrid2050 Elexon Generation Sources Weekly Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/elexon_generation_sources_weekly.yml · lines 1–56 of 56 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage upstream_foresight (path word 'elexon'): upstream engineering foresight over GB transmission and distribution topology (TSO/DNO, 132kV and above, the REPD pipeline, data centres), which Ventus Ltd states it models for foresight.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Named “Update Generation Sources YTD V6”; runs GlobalGrid2050 Download Elexon Generation Sources (`scripts/download_elexon_generation_sources.py`), GlobalGrid2050 Download Pvlive Solar History (`scripts/download_pvlive_solar_history.py`) and GlobalGrid2050 Split Elexon Generation Sources by Year (`scripts/split_elexon_generation_sources_by_year.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Download Elexon Generation Sources (workflow run), GlobalGrid2050 Download Pvlive Solar History (workflow run), GlobalGrid2050 Split Elexon Generation Sources by Year (workflow run), GlobalGrid2050 Generate Generation History Daily V6 (workflow run), GlobalGrid2050 Generate Generation Recent Halfhourly V6 (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Update Generation Sources YTD V6
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/elexon_generation_sources_weekly.yml:1-56 · blob 54b98d141174a35bc420b2c3d25d9cd20b28932d · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
name: Update Generation Sources YTD V6
on:
workflow_dispatch:
inputs:
backfill_days:
description: Days to fetch ending yesterday
required: true
default: '30'
permissions:
contents: write
concurrency:
group: generation-sources-ytd-v6
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Fetch generation sources and maintain V7 loading ladder files
env:
BACKFILL_DAYS: ${{ github.event.inputs.backfill_days || '30' }}
run: |
python scripts/download_elexon_generation_sources.py
python scripts/download_pvlive_solar_history.py
python scripts/split_elexon_generation_sources_by_year.py
python scripts/generate_generation_history_daily_v6.py
python scripts/generate_generation_recent_halfhourly_v6.py
- name: Commit generation source data
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
set -e
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add data/generation/elexon_generation_sources_half_hourly.csv data/generation/elexon_generation_sources_*.csv uk_energy_tracking_v6/generation_history/generation_history_daily_decade.json uk_energy_tracking_v6/generation_history/generation_recent_halfhourly_30d.json uk_energy_tracking_v6/generation_history/GENERATION_HISTORY_DATA_REPORT.md uk_energy_tracking_v6/generation_history/PVL … [line shortened here: 427 characters; full line on GitHub]
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Update V6 generation source YTD data"
git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No generation source changes"
fiGlobalGrid2050 Elexon System Prices Workflow
A GitHub Actions workflow. Runs by hand.
automationglobalgrid2050 / .github/workflows/elexon_system_prices.yml · lines 1–49 of 49 · Entry point
- What it does
- It runs automated jobs on GitHub Actions. Side effects: starts processes.
- Why it exists in the grid workflow
- Domain stage hv_procurement (path word 'prices'): HV materials procurement, which Ventus Ltd states is within its commercial execution boundary.
- Inputs & outputs
- Out: commits pushed to the repository.
- Downstream impact
- It is itself an entry point (workflow); no other file was found loading it.
- What it achieves
- Runs GlobalGrid2050 Download Elexon System Prices (`scripts/download_elexon_system_prices.py`) and GlobalGrid2050 Split Elexon System Prices by Year (`scripts/split_elexon_system_prices_by_year.py`).
- Why it matters
- No other file in the estate was found to import it; it is an entry point.
- Application
- globalgrid2050 · .github/workflows · workflow
- Uses
- GlobalGrid2050 Download Elexon System Prices (workflow run), GlobalGrid2050 Split Elexon System Prices by Year (workflow run)
- Used by
- none found
- Produces
- none declared
- Defines here
- Update Elexon System Prices
- Cannot conclude
- Whether this code runs, is used by a live app today, or is correct. This is a static reading.
- Evidence
- globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 .github/workflows/elexon_system_prices.yml:1-49 · blob 1266fbe9dbec2dcf00fe7b3e82d694ba3fdf73cd · GitHub at these lines
- State
- achieves: comment · context: readme_derived · stage: unknown · effects: process · domain stage: hv_procurement · users: EPC_contractor, procurement_buyer · canonical: production_core
name: Update Elexon System Prices
on:
workflow_dispatch:
inputs:
backfill_days:
description: Days to fetch ending yesterday
required: true
default: '30'
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GRIDBOT_PAT }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Fetch Elexon system prices and maintain annual files
env:
BACKFILL_DAYS: ${{ github.event.inputs.backfill_days || '30' }}
run: |
python scripts/download_elexon_system_prices.py
python scripts/split_elexon_system_prices_by_year.py
- name: Commit data
env:
PAT: ${{ secrets.GRIDBOT_PAT }}
run: |
set -e
git config --global user.name "gridbot"
git config --global user.email "bot@globalgrid2050.com"
git add data/electricity/elexon_system_prices_half_hourly.csv data/electricity/elexon_system_prices_*.csv
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Update Elexon system prices"
git pull --rebase https://${PAT}@github.com/${{ github.repository }}.git main
git push https://${PAT}@github.com/${{ github.repository }}.git HEAD:main
else
echo "No Elexon system price changes"
fi