Skip to content

🫐 [just] gh-process v7.0 fixes many bugs#41

Merged
chicks-net merged 1 commit into
mainfrom
chicks/2026-06-25-gh-process-v70
Jun 25, 2026
Merged

🫐 [just] gh-process v7.0 fixes many bugs#41
chicks-net merged 1 commit into
mainfrom
chicks/2026-06-25-gh-process-v70

Conversation

@chicks-net

Copy link
Copy Markdown
Member

Done

  • 🫐 [just] gh-process v7.0 fixes many bugs

Meta

(Automated in .just/gh-process.just.)

Signed-off-by: Christopher Hicks <chicks.net@gmail.com>
Copilot AI review requested due to automatic review settings June 25, 2026 19:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s just-based GitHub PR/repo-metadata automation to address formatting/metadata sync edge cases and add a regression test harness for the updated sync logic.

Changes:

  • Trim trailing blank lines from generated PR-body footer content to prevent round-trip accumulation.
  • Make .repo.toml GitHub-metadata sync more robust (handles missing/commented keys inside [about], restores backups on verification failure).
  • Add a bash test runner intended to validate the updated awk-based [about] rewrite behavior.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
.just/lib/update_pr_body.sh Trims trailing blank lines from the footer section before emitting the updated PR body.
.just/lib/cue_sync_test.sh Adds a bash test harness for the cue-sync-from-github awk transformation logic.
.just/gh-process.just Bumps the PR create comment/version marker to v7.0.
.just/cue-verify.just Reworks awk logic for [about] updates and strengthens backup/verification behavior around .repo.toml sync.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +118 to +120
local workspace
workspace=$(mktemp -d)
cp "$fixture_path" "$workspace/.repo.toml"
Comment on lines +156 to +160
if [[ ! -d "$REPO_ROOT/$FIXTURES_DIR" ]]; then
echo -e "${YELLOW}No test fixtures found at $FIXTURES_DIR${NORMAL}"
echo "Tests skipped"
return 0
fi
Comment on lines +75 to +78
key_line=$(grep -nE "$key_pat" "$output" | head -1 | cut -d: -f1 || true)
# Find the next non-[about] section header. grep -n emits "N:content";
# filter on the content after the colon so [about] itself is excluded.
section_line=$(grep -nE '^\[' "$output" | grep -v '^[0-9]*:\[about\]' | head -1 | cut -d: -f1 || true)
@chicks-net
chicks-net merged commit 5820abf into main Jun 25, 2026
15 of 19 checks passed
@chicks-net
chicks-net deleted the chicks/2026-06-25-gh-process-v70 branch June 25, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants