Skip to content

Enable Java Pack workflows on the IssueLens bridge - #69

Merged
Changyong Gong (chagong) merged 3 commits into
mainfrom
chagong-java-pack-bridge-release
Nov 25, 2026
Merged

Changyong Gong (chagong) merged 3 commits into
mainfrom
chagong-java-pack-bridge-release

Conversation

@chagong

@chagong Changyong Gong (chagong) commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Keep the existing numeric ISSUELENS_BRIDGE_REPOSITORY_ALLOWLIST as the only enrollment setting. Enrolled public repositories can submit issues, issue_comment, and manual issue-loop jobs from a workflow on their protected default branch. IssueLens retains its stricter workflow rules.
  • The fixed team-memory coordinator is not an issue-loop caller. It admits only workflow_dispatch on protected default main, with the same repository for coordinator, source, dispatcher and required wiki. Per-repository reservations and durable comment provenance remain intact.
  • Preserve Java Pack’s existing workflow filenames and published action pin b88dadd40754d640cbb82f4d9a5e9d36e8386981. This remains a prerequisite for Route Java Pack IssueLens workflows through bridge vscode-java-pack#1797, not a workflow enablement or deployment.

Rollout

No new settings are required. Azure ingress already has both enrolled IDs ([1303440932,104967329]), and Java Pack’s encrypted ISSUELENS_BRIDGE_URL Actions secret is already configured. Reviewers should note that the release expands admission for all enrolled IDs, not just Java Pack.

This PR needs one human approval. After it merges, deploying the ZIP built from the exact merged IssueLens commit to both Function roles (worker first, then ingress) is a separate, approval-gated step. Keep the Java Pack workflows disabled until that release and the user’s merge of microsoft/vscode-java-pack#1797.

Validation

All 113 focused bridge, coordinator, action, and workflow tests passed, including protected trunk issue jobs for a synthetic repository, same-repository wiki isolation, denied workflow and event combinations, existing IssueLens paths, durable comment provenance, and both ZIP roles. Verified the immutable Java Pack workflow files and exact action pin; mocked tests cover its manual and automatic issue-loop and team-memory contracts. git diff --check passed. No live traffic was exercised.

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 0785b23909cf9a6d38b9623d1088965fda178776

Dimension Assessment Rationale
Change confidence 9/10 ↑ All 113 focused tests passed, covering allowlist-only admission, same-repository coordinator scope, the pinned caller contracts and both ZIP roles.
↓ The new ZIP is not deployed; live GitHub-to-Azure traffic is unverified.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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.

🔵 Needs a closer look

The expanded write-capable OIDC trust boundary requires human confirmation of protected-main controls and rollout readiness, while live Azure admission and wiki publication remain unverified.

No open issues 🎉

What changed in this PR

This PR extends the IssueLens Function bridge to admit Java Pack issue-loop and same-repository team-memory jobs from two approved workflows on protected main. It prepares the bridge for the Java Pack rollout without deploying it or enabling consumer workflows.

Changes:

  • Restricts admission to the reviewed repositories and exact workflow identities, preserving existing IssueLens rules.
  • Makes comment verification and team-memory validation repository-aware while rejecting cross-repository Java Pack jobs.
  • Adds packaged contract tests and updates rollout documentation.
File Description
tests/​test_automation_bridge.py Adds Java Pack admission, rejection, packaged-contract, and receipt-ownership coverage.
docs/​guide.md Documents approved workflows, team-memory constraints, and separate rollout approvals.
automation_bridge/​bridge.py Adds restricted Java Pack admission and repository-bound validation.
.github/​copilot-instructions.md Updates contributor guidance for Java Pack bridge scope and manual-request requirements.

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 07:08

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.

🔵 Needs a closer look

Expanded OIDC admission for automatic events and wiki-write jobs warrants human security and rollout review because mocked validation does not establish live GitHub-to-Azure authentication or wiki publication.

No open issues 🎉

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 25, 2026 07:52

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.

🔵 Needs a closer look

Expanded write-capable admission requires human confirmation of repository workflow trust, branch protection, and worker-first rollout, which mocked tests cannot validate across the live GitHub-to-Azure boundary.

No open issues 🎉

Review effort: Balanced

@chagong
Changyong Gong (chagong) merged commit dea21cf into main Nov 25, 2026
8 checks passed
@chagong
Changyong Gong (chagong) deleted the chagong-java-pack-bridge-release branch November 25, 2026 08:07
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