Skip to content

Session Handoff [auto-1882]: Route check_environments()'s Environment-Name Encoding Through jqr (#1882) #2067

Closed

Description

@ptr727

Next steps, in priority order

  1. Fix configure.sh's check_environments() Percent-Encoded Name Is a Plain jq -rn, Breaking the Branch-Policies URL on Windows #1882. In repo-config/configure.sh check_environments(), the environment-name percent-encoding read ename_uri="$(jq -rn --arg s "$ename" '$s|@uri')" is a plain jq -rn, so a native Windows jq's trailing CR reaches the deployment-branch-policies API path. Route it through jqr (already used by the surrounding reads in that function), per the issue's suggested fix and the same class configure.sh's ruleset_id() Still Reads a Plain jq -r, Blocking check_ruleset() on Windows #1253 and configure.sh's workflowModel Registry Read Is a Plain jq -r, Aborting on Windows With No Model Passed #1881 fixed at other sites in the file. Done looks like: the read goes through jqr, a test drives the lifted region with a stand-in jq that appends a CR and asserts the encoded name carries no CR (and fails with the fix reverted, the shape Strip the CR From configure.sh's Workflow-Model Read #2039's tests/test_configure_model.py uses), local-strict-review run before push, and a feature -> develop pull request carrying Closes on promotion: #1882 merged under scope develop.
  2. Close this lane out with a comment naming what merged and anything filed along the way.

External blockers

None known at pick time. The recent auto lanes parked on unstated Copilot coverage (see decisions #2048, #2051, #2054), so a coverage gap on this pull request is the likeliest reason to park.

Internal dependencies

None. Step 2 follows step 1.

State

No branch, worktree, or pull request yet. Work on feature/auto-1882 in a new worktree based on develop. The fix for sibling #1881 (#2039) is on develop and not yet promoted, which is the pattern to follow.

The parked decision queue

Count 0 for this lane.

What the last round did

Picker only: chose #1882 from the backlog and opened this lane.

What not to repeat

Nothing yet on this lane.

New learnings

None yet.

Activity

  1. added
    handoff
    on Sep 29, 2026
  2. ptr727 commented on Sep 29, 2026

    @ptr727
    OwnerAuthor

    Parked on decision #2069.

    Done: #1882 fixed. check_environments() now encodes the environment name through jqr, with an SC2016 disable above it, a new tests/test_configure_envname.py (CR-appending stand-in jq, fails with the fix reverted), and tests/test_configure_environments.py updated to lift the jqr form and function. Two local strict-review passes recorded; the first found the shellcheck SC2016 (fixed), the second found only a low-severity pre-existing Windows PATH-building pattern shared with test_configure_archived.py.

    Branch feature/auto-1882, pull request #2068 (head 57f326db), 10 of 10 checks green, merge CLEAN, no threads. Worktree left standing at /home/pieter/repos/worktrees/auto-1882.

    Remaining: pr_review.py wait says COVERAGE_IS_UNSTATED, so the merge gate leaves the merge to the maintainer. On the answer, squash-merge #2068 to develop (capture headRefOid first), verify-then-delete the remote branch, remove the worktree, and close this lane with a comment naming #1882 and #2068.

  3. added
    blocked
    on Sep 29, 2026
  4. ptr727 commented on Sep 29, 2026

    @ptr727
    OwnerAuthor

    Lane closed out. Decision #2069 answered (merge as is). #2068 squash-merged to develop as 44ba5e7, remote and local feature/auto-1882 deleted, worktree removed. #1882 closes on the next develop -> main promotion. Nothing filed along the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedhandoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions