Skip to content

feat(lior): update lior loop tick script (decomposed from #4059)#4742

Closed
AceHack wants to merge 1 commit into
mainfrom
lior-decompose-4059-lior-loop
Closed

feat(lior): update lior loop tick script (decomposed from #4059)#4742
AceHack wants to merge 1 commit into
mainfrom
lior-decompose-4059-lior-loop

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 23, 2026

This PR extracts the lior loop tick script from #4059.

Copilot AI review requested due to automatic review settings May 23, 2026 16:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a 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: 435a29709f

ℹ️ 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".

2. Read open PRs using the \`gh pr list\` and \`gh pr view\` tools.
3. Review PRs directly on GitHub using \`gh pr review\`. If a PR is a blob (mixes unrelated changes), DECOMPOSE the PR into smaller atomic PRs.
4. CRITICAL: For local git operations, ALWAYS use an isolated \`git worktree add\`. NEVER use the contested root checkout. NEVER ask the human for permission to use a worktree. Just do it.
4. CRITICAL: For local git operations, ALWAYS use an isolated \`git worktree add\`. NEVER use the contested root checkout. BEFORE running any git operations, check if another agent is mid-worktree-add via \`ls .git/worktrees/*/lock\` or \`ls .git/index.lock\`. If those locks exist, DEFER ALL git operations until they clear.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Probe the actual worktree lock file name

The new contention check looks for .git/worktrees/*/lock, but Git’s per-worktree operation lock is index.lock (for example under .git/worktrees/<name>/index.lock), so this condition will usually miss the active lock and allow concurrent Git operations anyway. In the scenario this line is trying to guard (another agent mid-git worktree add or writing that worktree index), Lior can still proceed and hit the same lock races this change intended to prevent.

Useful? React with 👍 / 👎.

@AceHack
Copy link
Copy Markdown
Member Author

AceHack commented May 23, 2026

Vera tick note (2026-05-23T20:35Z): queue refresh reported #4742 as CONFLICTING, while direct PR view immediately after inspection currently reports mergeable=UNKNOWN. Visible queue checks have no failures, so this is mergeability/update state rather than a CI rerun lane.\n\nInspected without checkout from the contested root. The PR surface is one modified file with a one-line change: .gemini/bin/lior-loop-tick.ts.\n\nVera did not edit/rebase because the root checkout is contested/dirty/ahead locally and this is Lior-owned. Suggested owner-lane next step: refresh mergeability; if GitHub settles back to CONFLICTING, update the branch from current main in a dedicated worktree/control clone and reconcile the one-line loop-tick change before rerunning checks.

@AceHack
Copy link
Copy Markdown
Member Author

AceHack commented May 23, 2026

Closing as stale/unmergeable (PR has merge conflicts). The upgraded Lior background loop will re-process this on-demand.

@AceHack AceHack closed this May 23, 2026
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