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): the repository's settings are written once, and the edge says where the laptop differs by dezren39 · Pull Request #14172 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

First step of #14163. Nothing the Worker acts by changes.

Why

The Worker holds no settings of its own. It stores and acts by whatever configuration the laptop's console last reported: who may sign in, which repository and queue, where the queue's store answers (which is where the queue's token is sent), and which repositories are looked in for what needs the owner. Most of these are defaults in the console's code, so they are whatever the laptop's checkout had when its console started. That checkout is behind main (#13833), which is why the correction of the repositories' names in #14165 is deployed and not yet in effect.

What changed

  • One definition. The repository's settings (the repository, the queue, where its store answers and what its token is called, the Android package, the instruction label, the repositories looked in) are written once in pm-stack/console/src/settings.ts. The console uses them where its environment says nothing else, exactly as before, and the Worker's bundle now carries them.
  • The Worker says where the laptop differs. Its health answer has machineSettingsDiffer: the names of those settings in which the machine told it otherwise. Names only, never a value; null while no machine has said anything.

Why this first

The next step is the Worker acting by its own settings and not by what a machine tells. Whether any of them was set by hand on the laptop cannot be known from outside. If only the list of repositories differs, the switch changes only that; if something else does, it is known before anything is switched. The whole plan, in order, is in the design record (the section "Plan: the platform's settings are its own").

How it was checked

  • 471 tests pass (ten new for the settings, one for the health answer), type check, format check, --check.
  • The real Worker runtime: 48 checks pass, with a new one that the bundle as built agrees with a console running the same code (machineSettingsDiffer is null before the first report and [] after).
  • Eleven faults planted one at a time, all caught: the comparison inverted; lists compared by their beginning, or by length only; a list taken for a string; a name left out; one object handed to every caller; a fallback of the console's own, for a setting and for the list; an empty list said before any machine reported; never any difference said; values said and not names.

Not seen yet

What machineSettingsDiffer says in service. Expected: ["needsRepos"]. It is read once this is deployed and recorded on #14163.

https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF


Generated by Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
claude added 2 commits November 24, 2026 01:26
@claude
feat(pm-console): the repository's settings are written once, and the…
2757f9e
… edge says where the laptop differs

The Worker holds no settings of its own: it stores and acts by whatever
configuration the laptop's console last reported (#14163). Which
repository and queue, where the queue's store answers, the label that
marks an instruction and the repositories looked in for what needs the
owner are defaults in the console's code, so they are whatever the
laptop's checkout had when its console started.

First step, changing nothing the Worker acts by:

- The repository's settings are written once, in src/settings.ts. The
  console uses them where its environment says nothing else, and the
  Worker's bundle carries them.
- The Worker's health answer says in which of them the machine told it
  otherwise (machineSettingsDiffer): names only, never a value, null
  while no machine has said anything.

What that shows in service decides the switch to the Worker acting by
its own: whether any of them was set by hand on the laptop cannot be
known from outside any other way. The plan is in the design record.

Refs #14163

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@claude
Merge remote-tracking branch 'origin/main' into claude/pm-settings
13d0c78
@coderabbitai

coderabbitai Bot commented Nov 24, 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 24 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: 934d47f1-4fe7-4af7-bf76-8ab37cf26b2c
Commits

Reviewing files that changed from the base of the PR and between 77958c1 and 13d0c78.

Files selected for processing: 9

  • doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core.md
  • planning/roadmaps/pm-stack.md
  • pm-stack/console/edge/README.md
  • pm-stack/console/edge/src/edge.ts
  • pm-stack/console/scripts/edge-smoke.ts
  • pm-stack/console/src/config.ts
  • pm-stack/console/src/settings.ts
  • pm-stack/console/test/edge.test.ts
  • pm-stack/console/test/settings.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.

@dezren39
dezren39 merged commit e053b27 into main Nov 24, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the claude/pm-settings branch November 24, 2026 07:27
This was referenced Nov 24, 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
feat(pm-console): the edge goes by the repository's settings, whatever a machine says #14185
Merged
PM platform on Cloudflare: what is left #13504
Open
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.

2 participants

@dezren39 @claude
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.