Repository navigation
Enable Java Pack workflows on the IssueLens bridge - #69
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 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>
There was a problem hiding this comment.
🔵 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>
There was a problem hiding this comment.
🔵 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
Summary
ISSUELENS_BRIDGE_REPOSITORY_ALLOWLISTas the only enrollment setting. Enrolled public repositories can submitissues,issue_comment, and manual issue-loop jobs from a workflow on their protected default branch. IssueLens retains its stricter workflow rules.workflow_dispatchon protected defaultmain, with the same repository for coordinator, source, dispatcher and required wiki. Per-repository reservations and durable comment provenance remain intact.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 encryptedISSUELENS_BRIDGE_URLActions 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
trunkissue 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 --checkpassed. No live traffic was exercised.Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
0785b23909cf9a6d38b9623d1088965fda178776↓ The new ZIP is not deployed; live GitHub-to-Azure traffic is unverified.