GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(pm-console): show Cloudflare apply provenance on the Cloudflare screen (#13495 slice 3) by dezren39 · Pull Request #14930 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Slice 3 of #13495 (queue task 23716): the app's Cloudflare screen now shows where the repository-described Cloudflare configuration was last successfully applied from.

What changed

  • pm-stack/console/src/ops.ts — a pure model, latestApply, over the pm-cloudflare-config.yml workflow runs, plus Ops.cloudflareApply(), which reads the dispatched runs on main (event=workflow_dispatch&per_page=10) through the existing gh path. Only a dispatched run can apply (pushes and pull requests only validate), and only a completed, successful one counts: a failed or in-progress run is never presented as an apply, and a malformed run record is passed over rather than trusted. The result is the run's source (workflow name, plus the dispatching actor when GitHub records one), its full commit SHA, its completion time, and a link to the run.
  • pm-stack/console/src/reads.ts — the read is served as the cloudflare-apply platform read, so it is answered wherever the app is served from, like the other GitHub-only reads.
  • pm-stack/console/public/app.js — the Cloudflare screen renders the provenance line (applySaid) with a "See the run" link; with no successful apply on record it says "Apply provenance is unavailable: no successful apply is on record.", and if the read itself fails it says so without disturbing the rest of the screen.
  • infra/pm-cloudflare/README.md — the follow-on note now records the display instead of listing it as missing.

Reading provenance dispatches no workflow, changes no Cloudflare state, and exposes no repository secret values: the read returns only the run's source, commit, completion time and URL, and the tests assert the single call made is the runs query.

Verification

Focused Bun tests (model oracle: a fake GitHub API/runner supplies successful, failed, in-progress, push-event and wrong-branch runs; screen oracle: fixture provenance renders the sentence and the no-success case):

  • cd pm-stack/console && bun test test/direct.test.ts test/app.test.ts via the fleet-command workflow fallback (direct fleet queue dispatch is blocked by the fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 TLS defect): run https://github.com/developing-today/fleet/actions/runs/45571485072 — passed (run completed success)

Refs #13495 — the issue stays open: the remaining criterion is the expose.py tunnel-only reduction.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-25T08:12:51Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch/workspace/github-work/code-13495-prov",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch/workspace/github-work/code-13495-prov",
      "repo": "developing-today/code",
      "branch": "xaltha/13495-apply-provenance",
      "sha": "746f70c917c4e688fda925e95b300223a7a0508d"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(pm-console): show Cloudflare apply provenance on the Cloudflare …
746f70c
…screen (#13495 slice 3)

The Cloudflare screen now says where the repository-described
configuration was last successfully applied from: the latest
successful dispatched run of pm-cloudflare-config.yml on main, with
its source, commit, completion time and a link to the run. Failed or
in-progress runs are never presented as an apply, pushes and pull
requests only validate so they never count, and when no successful
apply is on record the screen says provenance is unavailable.

The new cloudflare-apply platform read only reads the workflow runs
GitHub already recorded: it dispatches nothing, changes no
Cloudflare state and reads no secret values.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 66bb1f7f-3254-4164-baa1-4f34348dceef
Commits

Reviewing files that changed from the base of the PR and between dc64602 and 746f70c.

Files selected for processing: 6

  • infra/pm-cloudflare/README.md
  • pm-stack/console/public/app.js
  • pm-stack/console/src/ops.ts
  • pm-stack/console/src/reads.ts
  • pm-stack/console/test/app.test.ts
  • pm-stack/console/test/direct.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 25, 2026
Platform: the hostname, its sign-in and its route are applied from Actions, not from the laptop #13495
Closed
Platform: apply Cloudflare route and Worker tokens from Actions (slice of #13495) #14230
Closed
@developing-today-fleet
developing-today-fleet Bot merged commit 1a2c573 into main Nov 26, 2026
4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/13495-apply-provenance branch November 26, 2026 05:48
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 28, 2026
pm-console edge: the platform's settings are whatever the last machine told it (who may sign in, which repositories, the queue) #14163
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.