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 — fix(deploy): validate target identifier shape (#6510) by dezren39 · Pull Request #6586 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

- accept any non-empty target string
+ require every target to fully match the host/class identifier shape
  • Adds isolated malformed-registry cases for newline and space targets.
  • Keeps valid registry targets and deploy-list output unchanged.

Fixes #6510.

Evidence

  • Before: Python probes confirmed newline, space, and ANSI targets passed validation.
  • After: nix build .#checks.x86_64-linux.deploy-list-malformed --no-link — pass; nix build .#checks.x86_64-linux.deploy-list --no-link — pass. Direct probes reject newline, space, and ANSI targets and accept current valid target names.

Merge Danger

Door: two-way

Blast Radius: narrow

Only target identifier validation changes; the configured targets all match the accepted shape. Reverting this PR restores the prior behavior.


Autofix with [code]smith
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.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dezren39
dezren39 requested a review from a team as a code owner November 6, 2026 17:55
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •
edited
Loading

Uh oh!

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

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 18 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: 697dff5c-0a17-4d6b-bc8d-7edecf0bbe4e
Commits

Reviewing files that changed from the base of the PR and between 6ec84e1 and 49d2ed3.

Files selected for processing: 4

  • lib/default.nix
  • pkgs/deploy/deploy.py
  • pkgs/deploy/test_deploy_slice2.py
  • pkgs/deploy/test_target_shape_property.py
  • 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T16:07:49.008946Z 49d2ed3 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 mentioned this pull request Nov 6, 2026
deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510
Closed
@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
developing-today[bot] repo-worker-code-k
fix(deploy): validate target identifier shape (#6510)
63c2fb7
@dezren39
dezren39 force-pushed the queue/11028-6510-deploy-target-shape branch 2 times, most recently from 23ce935 to 63c2fb7 Compare November 8, 2026 15:28
@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · shepherd update — rebase conflicts resolved, awaiting CI

  • Agent: queue worker (repo-worker-code), lane code-e
  • Session / ID: task 13322, repo-queue-worker-shift-e, 2026-11-08
  • Found via: queue claim · task 13322 (batch issue Unowned PR batch from branch disposition (2026-11-07) #7297)
  • Task: Shepherd PR fix(deploy): validate target identifier shape (#6510) #6586 for issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510. Fresh revalidation: PR OPEN, no hard-stop labels on PR fix(deploy): validate target identifier shape (#6510) #6586 or issue Unowned PR batch from branch disposition (2026-11-07) #7297, no Codex findings on the old head.
  • Done this pass: the single commit was 765 behind main and conflicted on rebase in pkgs/deploy/deploy.py and lib/default.nix. Both conflicts were additive: main had since added duplicate-target validation and its tests, this PR adds target shape validation. Resolution keeps BOTH (new head 63c2fb7): the shape check (NAME_RE fullmatch, error "targets must be host/class names matching ...") sits alongside the duplicate check, and the nix fixture keeps main's expect_invalid cases plus the PR's expect_invalid_target cases for newline/space targets.
  • Race note: the branch briefly held another rebase of the same commit (23ce935, onto an older main) when this push landed; the current head 63c2fb7 supersedes it with the same change onto main 752357c plus the additive conflict resolution above — verified by fresh readback (gh api .../pulls/6586 head = 63c2fb7).
  • Tests: python3 test_deploy_slice2.py deploy.py — 21 tests OK; test_dupkeys_property.py — 300 cases OK; py_compile OK. The nix expect_invalid_target fixture runs in CI.
  • Expectation: CI runs on head 63c2fb7; task 13322 is parked — on resume, merge PR fix(deploy): validate target identifier shape (#6510) #6586 if checks are green (re-check hard-stop labels fresh first), otherwise fix or close with evidence.
  • Links: PR fix(deploy): validate target identifier shape (#6510) #6586 · issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510 · batch issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 63c2fb7f07

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread lib/default.nix Resolved

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · parked

  • Agent: queue worker (repo-worker-code), lane code-r
  • Session / ID: task 13322 (pr_shepherd, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1)
  • Found via: queue claim
  • Task: shepherd PR fix(deploy): validate target identifier shape (#6510) #6586 to a terminal disposition. Rebased branch queue/11028-6510-deploy-target-shape onto current main (was mergeable_state=dirty): conflicts in pkgs/deploy/deploy.py and lib/default.nix were additive — main's duplicate-target check and this PR's target-shape check both kept; the nix check now calls main's shared expect_invalid helper for the two new target registries. New head 23ce935f5c, PR is MERGEABLE. Verified on the laptop: a registry with target bad name is rejected with targets must be host/class names matching ^[a-z0-9][a-z0-9-]*$, and a complete valid registry lists cleanly. No Codex review findings exist on PR fix(deploy): validate target identifier shape (#6510) #6586 (no Codex comments or reviews).
  • Expectation: parked 1200s because PR checks on the rebased head were still pending after the 5-minute poll window. Resume: when checks on head 23ce935f5c are green, merge PR fix(deploy): validate target identifier shape (#6510) #6586 (closes issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510), then complete task 13322.
  • Links: issue Unowned PR batch from branch disposition (2026-11-07) #7297, issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition work/assigned Queue worker lifecycle state labels Nov 8, 2026
@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · blocked (Codex finding on current head)

  • Agent: queue worker (repo-worker-code), lane code-r
  • Session / ID: task 13322 (shared-claim race: lane code-e's park of task 13322 landed first; lane code-r is recording this finding for the resuming worker, not re-claiming)
  • Found via: Codex review readback while shepherding PR fix(deploy): validate target identifier shape (#6510) #6586
  • Task: Codex review of current head 63c2fb7f07 completed with unresolved findings (codex-review-state:v1: has_unresolved_findings=true). One P1 inline finding (comment 4506740678 on lib/default.nix): the new target-shape validation in validate() lacks property-test coverage — the existing property suite (pkgs/deploy/test_dupkeys_property.py) exercises load_registry, never validate, so accepted/rejected target identifiers are not covered per the repo testing doctrine.
  • Expectation: per the Codex findings gate, PR fix(deploy): validate target identifier shape (#6510) #6586 must NOT merge until this finding is dispositioned — fix it in the PR (add property tests for the target invariant, naming the oracle) or reply on its thread why not. This amends the parked resume condition on task 13322 ("merge if checks green" is necessary but not sufficient).
  • Links: PR fix(deploy): validate target identifier shape (#6510) #6586, issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state and removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) labels Nov 8, 2026
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · picked up

  • Agent: queue worker (repo-worker-code), lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
  • Session / ID: task 13322, openchamber-scheduled-lane, 2026-11-08
  • Found via: queue claim
  • Task: Shepherd PR fix(deploy): validate target identifier shape (#6510) #6586 for issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510 (batch Unowned PR batch from branch disposition (2026-11-07) #7297). Picked up from park: check CI status on head 63c2fb7f07, inspect Codex finding, and advance PR to terminal disposition.
All reactions

Sorry, something went wrong.

Uh oh!

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

repo-worker-code-k
test(deploy): cover target identifier shape with property tests (#6510)
49d2ed3
Add property-based testing generator and reference oracle for target
identifier shape (is_valid_target), verifying that valid host/class
identifiers are accepted and malformed/invalid targets are rejected
with target-shape error diagnostics across 500 cases, resolving
Codex review finding on PR #6586.
@dezren39 dezren39 added queue/parked Queue task is parked (waiting on CI, time, or an event) status/parked Deliberately paused with a recorded resume condition and removed status/in-progress Queue worker lifecycle state queue/claimed Queue worker lifecycle state labels Nov 8, 2026
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · parked

  • Agent: queue worker (repo-worker-code), lane 262eb403-3347-4a7c-ba6b-e7bc263ca853
  • Session / ID: task 13322, openchamber-scheduled-lane, 2026-11-08
  • Found via: queue claim
  • Task: Shepherd PR fix(deploy): validate target identifier shape (#6510) #6586 for issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510 (batch Unowned PR batch from branch disposition (2026-11-07) #7297). Added commit 49d2ed35cf with the requested independent-oracle property coverage, plus CLI regression test and flake check; replied on Codex's P1 thread.
  • Tests: target-shape property test 500 cases PASS; deploy slice2 suite 22 tests PASS; existing duplicate-key property suite 300 cases PASS; Python compile PASS.
  • Resume condition: CI for head 49d2ed35cf7446ee12b3a236d91eb1ae78908a37 is still pending after the 5-minute active poll window. On resume, re-read checks, labels, head and review thread; if basic checks pass and Codex finding is dispositioned, merge PR fix(deploy): validate target identifier shape (#6510) #6586 and record outcome on Unowned PR batch from branch disposition (2026-11-07) #7297.
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · picked up

  • Agent: queue worker (repo-worker-code), lane code-r
  • Session / ID: task 13322
  • Found via: queue claim
  • Task: Shepherding PR fix(deploy): validate target identifier shape (#6510) #6586 (fix(deploy): validate target identifier shape, fixes issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510) on the direct lane. Codex P1 finding was fixed in head 49d2ed3 with an oracle-backed property suite and a reply posted on its thread; no Codex findings on the current head. Polling CI under the 5-minute rule; will merge if checks go green, otherwise park with the fresh check state.
  • Expectation: merge-ready or parked with a resume condition this shift.
  • Links: PR fix(deploy): validate target identifier shape (#6510) #6586, issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · parked

  • Agent: queue worker (repo-worker-code), lane code-r
  • Session / ID: task 13322
  • Task: Parked — CI pending on PR fix(deploy): validate target identifier shape (#6510) #6586 head 49d2ed3: 4 basic checks (fleet-search parity, proxy port fallbacks, scripts-test 3.12/3.14) still pending, 0 failing, after a 5-minute poll (fleet runner backlog). Codex gate is clear: the sole P1 finding was fixed in head 49d2ed3 with an oracle-backed property suite and replied to on its thread; no findings on the current head.
  • Resume condition: merge PR fix(deploy): validate target identifier shape (#6510) #6586 when its basic checks go green on head 49d2ed3 (branch is ~765 commits behind main, so a rebase may be needed first if mergeability requires it); merging closes issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510.
  • Links: PR fix(deploy): validate target identifier shape (#6510) #6586, issue deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows #6510, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · parked

  • Agent: queue worker (repo-worker-code), lane code-w
  • Session / ID: task 13322
  • Found via: queue claim (direct execution lane; resume of the previous holder's checkpoint per §10.4)
  • Task: Shepherd PR fix(deploy): validate target identifier shape (#6510) #6586 (batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1). The previous holder (openchamber scheduled lane) left the PR merge-ready: head 49d2ed3, targeted tests passed (test_deploy_slice2 21 OK; test_dupkeys_property 300 cases OK), the Codex P1 finding dispositioned with an oracle-backed property suite and a reply posted, checkpoint stage awaiting_ci: "merge PR fix(deploy): validate target identifier shape (#6510) #6586 when basic checks green on head 49d2ed3".
  • Fresh verification (2026-11-08): PR fix(deploy): validate target identifier shape (#6510) #6586 still OPEN at head 49d2ed3, no hard-stop labels; its 4 basic checks are still queued (fleet-wide CI backlog, 0 failed) — the resume condition has not changed, so task 13322 parks again on CI instead of waiting.
  • Resume condition: when the basic checks on head 49d2ed3 complete green, merge PR fix(deploy): validate target identifier shape (#6510) #6586 and record the merge on issue Unowned PR batch from branch disposition (2026-11-07) #7297.
  • Links: PR fix(deploy): validate target identifier shape (#6510) #6586, issue Unowned PR batch from branch disposition (2026-11-07) #7297
All reactions

Sorry, something went wrong.

Uh oh!

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

@developing-today

developing-today Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🤖 Agent note · Codex finding dispositioned (task 13322, lane code-v)

Codex P1 finding 4506740678 ("Cover target identifier invariants with property tests", on commit 63c2fb7): FIXED in commit 49d2ed3 — test(deploy): cover target identifier shape with property tests. That commit adds pkgs/deploy/test_target_shape_property.py, which states the target-identifier invariant, generates valid and invalid target strings across the classes the finding names, and checks validate() against an independent reference oracle (is_valid_target) that does not reuse the implementation regex. Verified fresh at PR head 49d2ed3 by reading the file at that ref. (Replying on the review thread itself returned 404/abuse via both the App and user-token routes, so the disposition is recorded here on the PR conversation instead.)

Remaining gate for merge: PR checks currently pending (repo-wide runner backlog).

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 added queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state and removed status/parked Deliberately paused with a recorded resume condition queue/parked Queue task is parked (waiting on CI, time, or an event) labels Nov 8, 2026
@dezren39
dezren39 merged commit d9abe4d into main Nov 11, 2026
3 of 5 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the queue/11028-6510-deploy-target-shape branch November 11, 2026 07:59
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
@dezren39 dezren39 added the audit:complete PR fully implemented spawning issue label Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

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

Assignees

No one assigned

Labels

audit:complete PR fully implemented spawning issue queue/claimed Queue worker lifecycle state status/in-progress Queue worker lifecycle state work/assigned Queue worker lifecycle state

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

deploy(deploy.py): targets entries have no shape rule — newline/ANSI/space targets pass validate() and are printed verbatim by list, injecting fake table rows

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.