Skip to content

Add optional OIDC experiments broker - #79626

Merged
pelikhan merged 20 commits into
mainfrom
copilot/add-oidc-experiments-broker
Nov 21, 2026
Merged

pelikhan merged 20 commits into
mainfrom
copilot/add-oidc-experiments-broker

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Add an opt-in experiments broker for querying assignments and reporting results through OIDC-authenticated APIs instead of git-backed storage.

  • Configuration and compilation

    • Support experiments.storage: broker; configure the endpoint through the GH_AW_EXPERIMENTS_BROKER_URL Actions secret.
    • Generate assignment API calls and an isolated result-reporting job.
    • Preserve repo/cache behavior; dry-run remains local and makes no broker requests.
  • Protocol and security

    • Bind the OIDC audience to the HTTPS endpoint.
    • Validate assignment responses and report provenance; bound requests and reject failures without storage fallback.
    • Define authenticated identity, atomic assignment, and idempotent reporting requirements.
  • Specification and documentation

    • Add a W3C-style protocol specification, TLA+ model, and configuration/deployment documentation.
    • The broker service is deployment-owned; server implementation and broker-backed CLI analysis are outside this PR.
experiments:
  storage: broker
  prompt:
    variants: [control, candidate]

@pelikhan
pelikhan marked this pull request as ready for review November 21, 2026 00:42
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 00:42
@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~13 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

PR Code Quality Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.6K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

Generated by PR Specification Reviewer for #79626 · copilot · gpt56 · ~6 AIC · ⌖ ~2 AIC · ⊞ 1.7K · ◷

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #79626 · codex · routed: gpt61 medium · ~10 AIC · ⌖ ~1 AIC · ⊞ 185 · ◷

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.

Details

Potential security threats were detected in the agent output. Detected threat types: prompt injection.

Review the workflow run logs for details.

No actionable correctness, regression, performance, or security findings identified in the changed lines. Independent review covered the broker client, compiler integration, job isolation, artifact flow, and validation paths; no tests were run per static-review constraints.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overview

Reviewed PR head 3effdeb6248cb881501fa0318f49879b28b7f481 against Experiments Specification 1.2.0 (R-STORE-001, R-STORE-BROKER-001/002, R-JOB-001/004/006, R-JOB-004) and Experiments Broker Specification 1.0.0 (§§3–7, especially §4.1).

Finding

One blocking contract regression was posted inline: generated GH_AW_WORKFLOW_REF uses ${{ job.workflow_ref }}, which does not provide the required nonempty workflow reference and causes broker requests to fail validation.

Specification updates

None proposed; the contract accurately requires a nonempty runtime workflow reference.

Coverage

Static review only; tests and conformance scripts were not run per reviewer policy.

Generated by PR Specification Reviewer for #79626 · copilot · gpt50 · ~6 AIC · ⌖ ~2 AIC · ⊞ 1.7K
Comment /review-specs to run again

| `oidc_token` | Nonempty GitHub Actions OIDC JWT. |
| `job_id` | Nonempty logical job identifier from runner context. Correlation hint, not proof of the calling job. |
| `workflow_id` | Nonempty compiler/runtime workflow identifier. Correlation hint, not an authorization identity. |
| `workflow_ref` | Nonempty workflow reference from compiler/runtime context, including reusable-workflow context when applicable. Correlation hint, not signed proof of the executing revision. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The new common-envelope requirement says workflow_ref MUST be nonempty and come from compiler/runtime context, but the generated broker environment uses ${{ job.workflow_ref }} (pkg/workflow/compiler_experiments_broker.go:28). workflow_ref is provided by the github context, not the job context, so this expression resolves empty and the client rejects the request before assignment/reporting. Please generate ${{ github.workflow_ref }} (or another guaranteed nonempty supported value) and add a compilation assertion covering the rendered value.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In 3da4457, added a caller-context fallback and compilation coverage. GitHub documents job.workflow_ref for the workflow defining the current job; retaining it preserves reusable-workflow provenance, unlike github.workflow_ref alone.

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-adef48b3-1c24-4919-aa9f-58bfff67543e","parents":[],"payload":{"id":"ldg-c4bdb285-2c38-427b-a272-dea467be285d","operation":"append","value":{"finding_count":0,"head_sha":"3effdeb6248cb881501fa0318f49879b28b7f481","outcome":"no_findings"}},"sha":"sha256:16321a48bb2a3e6b762f8a8f5fedf23b5ac4ccbe0f989d126f560e4ed3b05307","timestamp":"2026-11-21T00:50:23.089Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic (500 new lines in business-logic directories) but does not have a linked Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/79626-add-optional-oidc-experiments-broker.md. Review and complete it before merging.

🔒 This PR cannot merge until an ADR is linked in the PR body.

📋 What to do next
  1. Review the draft ADR committed to your branch. It was generated from the PR diff.

  2. Resolve the three [TODO: verify] markers in the Alternatives Considered section. They cover rationale that the PR body does not state.

  3. Fill in the Deciders list and change the status from Draft to Accepted after review.

  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-79626: Experiments Broker With OIDC-Authenticated Assignment and Reporting (link unavailable: invalid HTTPS URL)

Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision.

❓ Why ADRs Matter

"AI made me procrastinate on key design decisions. Because refactoring was cheap, I could always say 'I'll deal with this later.' Deferring decisions corroded my ability to think clearly."

ADRs create a searchable, permanent record of why the codebase looks the way it does. Future contributors (and your future self) will thank you.

📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context: What is the problem? What forces are at play?
  • Decision: What did you decide? Why?
  • Alternatives Considered: What else could have been done?
  • Consequences: What are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/ as Markdown files numbered by PR number (e.g., 0042-use-postgresql.md for PR #42).

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 8.6K · ◷
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-84c9bfbe-2fff-4c2e-8452-ab1453d37c87","parents":[],"payload":{"id":"ldg-18605218-2a46-4d66-8301-12b2c46eefa9","operation":"append","value":{"finding_count":1,"head_sha":"3effdeb6248cb881501fa0318f49879b28b7f481","outcome":"regression"}},"sha":"sha256:7cc96fd65c16f34de3d726a0d8c73e081396dac5871cdb94f218e29f38933fc7","timestamp":"2026-11-21T00:51:02.617Z","type":"ledger_append","version":1}
History

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Skills-Based Review 🧠

Applied /tdd, /grill-with-docs, and /codebase-design (skills selected by pr-triage). No blocking issues. Two low-severity inline notes.

📋 Key Themes & Highlights

Key Themes

  • Fail-closed design: the OIDC exchange makes one attempt with no retries, redirects, or storage fallback. A single 10s deadline covers OIDC issuance, the exchange, and body reads.
  • Test coverage: timeout, redirect, status, body-size, UTF-8, and report-204 paths are tested. Local file reads are size-checked before parsing.
  • Job wiring: id-token: write is granted only where needed. The report job is compiler-owned and cannot be customized. Report env is isolated.

Notes

  • [/grill-with-docs] The client-side exp check is advisory, since signature verification is server-side. A comment would prevent misreading it as authentication.
  • [/codebase-design] parseJSON parses each input twice. This is harmless but redundant.

Positive Highlights

  • ✅ Clear separation between the compiler, the client, and the spec
  • ✅ Spec requirements map to named tests (for example T-EXB-007)

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~13 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again

await core.setSecret(token);
if (!/^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/.test(token)) throw failure("OIDC");
const claims = JSON.parse(Buffer.from(token.split(".")[1], "base64url").toString("utf8"));
if (typeof claims?.exp !== "number" || !Number.isFinite(claims.exp) || claims.exp * 1000 <= now()) throw failure("OIDC");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[/grill-with-docs] The exp check decodes the JWT payload without verifying its signature, so it is only a preflight. The broker is the authority for signature and expiry (spec broker-side requirements and T-EXB-007).

💡 Suggested change

Add a short comment here saying this check is advisory, so future readers don't mistake it for authentication.

@copilot please address this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added the advisory-preflight clarification in 3da4457; broker verification remains authoritative.

Comment thread actions/setup/js/experiments_broker.cjs Outdated
// Metadata and measurements may use finite fractional numbers. Shape validators
// below independently require safe integer counters and allowlisted observations.
try {
return parseStrictJSON(raw, { maxBytes, finiteNumbersIn: Object.keys(JSON.parse(raw) || {}) });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[/codebase-design] parseJSON runs JSON.parse(raw) once only to collect keys for finiteNumbersIn, then parseStrictJSON parses the same input again. Every response up to 64 KiB is parsed twice.

💡 Suggested change

Use one strict pass that records which keys hold finite numbers, or leave a comment explaining why the second parse is needed. Low severity.

@copilot please address this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Removed the preliminary parse in 3da4457; strict parsing now handles finite numbers and lossless counters in one pass.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @pelikhan 👋 — thanks for the comprehensive OIDC experiments broker implementation! This is a well-structured addition to the agentic workflows platform.

What looks great:

  • ✅ Clear focus on a single feature: OIDC-authenticated experiment assignments and reporting
  • ✅ Thorough test coverage across JS and Go components (5 test files)
  • ✅ Detailed documentation including W3C-style specification, TLA+ model, and deployment guidance
  • ✅ Thoughtful security design: OIDC audience binding, response validation, provenance tracking
  • ✅ Well-documented PR description covering configuration, protocol, security, and specification aspects
  • ✅ Preserves existing repo/cache behavior and dry-run semantics

The PR is ready for review by the team. The implementation covers all stated concerns and maintains the project's high standards for security and reliability.

Generated by ✅ Contribution Check · copilot · routed: haiku55 xhigh · ~19 AIC · ⌖ ~2 AIC · ⊞ 5.4K · ◷

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Unresolved critical compiler defects can invalidate generated workflows and reject existing custom jobs, alongside additional broker validation and reporting failures.

9 open issues
What changed in this PR

Adds an opt-in broker backend to gh-aw’s experiment system, delegating assignments and result collection to a deployment-owned, OIDC-authenticated HTTPS service.

Changes:

  • Adds broker configuration, assignment steps, and an isolated reporting job, with local-only broker dry-runs.
  • Implements bounded requests, response and artifact validation, and allowlisted result reporting.
  • Adds protocol documentation, a TLA+ model, and compiler/runtime tests. Server implementation and broker-backed CLI analysis remain out of scope.
File Description
specs/​experiments-broker/​ExperimentsBroker.tla Models assignment, reporting, authorization, and persistence invariants.
specs/​experiments-broker/​BrokenReport.cfg Exercises report-overwrite counterexamples.
specs/​experiments-broker/​BrokenDryRun.cfg Exercises prohibited dry-run mutations.
specs/​experiments-broker/​BrokenAuthorization.cfg Exercises unauthorized-write counterexamples.
specs/​experiments-broker/​BrokenAssignment.cfg Exercises duplicate assignment counting.
specs/​experiments-broker/​Bounded.cfg Defines bounded invariant checks.
pkg/​workflow/​workflow_data.go Updates the storage-mode field comment.
pkg/​workflow/​jobs.go Includes reporting in runtime-feature environment handling.
pkg/​workflow/​compiler_jobs.go Creates the reporter and excludes it from conclusion dependencies.
pkg/​workflow/​compiler_experiments.go Adds broker selection and local dry-run routing.
pkg/​workflow/​compiler_experiments_test.go Tests broker storage extraction.
pkg/​workflow/​compiler_experiments_broker.go Generates assignment steps and the isolated reporting job.
pkg/​workflow/​compiler_experiments_broker_test.go Tests compilation, permissions, isolation, and dry-runs.
pkg/​workflow/​compiler_builtin_job_augmentation.go Rejects authored reporter customization.
pkg/​workflow/​compiler_activation_permissions.go Adjusts OIDC grants for broker previews.
pkg/​parser/​schemas/​main_workflow_schema.json Declares broker storage and its configuration contract.
pkg/​parser/​schema_experiments_broker_test.go Tests storage acceptance and authored endpoint rejection.
pkg/​constants/​job_constants.go Adds the reporting job identifier and dependency.
docs/​src/​content/​docs/​specs/​experiments-specification.md Extends experiment requirements to broker storage.
docs/​src/​content/​docs/​specs/​experiments-broker-specification.md Defines protocol, authorization, isolation, and conformance requirements.
docs/​src/​content/​docs/​reference/​experiments.md Documents broker setup, behavior, and limitations.
actions/​setup/​js/​experiments_broker.test.cjs Tests assignments, reporting, transport, and validation failures.
actions/​setup/​js/​experiments_broker.cjs Implements OIDC requests, validation, artifacts, and result projection.
actions/​setup/​js/​experiment_helpers.test.cjs Tests endpoint exclusion from assignment fallback.
actions/​setup/​js/​experiment_helpers.cjs Excludes the broker endpoint from fallback assignments.

Review effort: Max (adaptive)

Comment on lines +75 to +76
if jobName == string(constants.ReportExperimentsJobName) {
return errors.New("jobs.report_experiments is compiler-owned and cannot be customized; configure experiments.storage instead")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: reserve and exclude this job only for a live generated reporter, preserving authored custom jobs otherwise.

}
for _, name := range []string{"HOME", "TMPDIR", "TMP", "TEMP"} {
if _, exists := env[name]; exists {
env[name] = "${{ runner.temp }}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: job-scope defaults are literals and controlled steps resolve runner.temp; tests and specification cover isolation.

Comment thread actions/setup/js/experiment_helpers.cjs Outdated
const fromEnv = {};
for (const [key, value] of Object.entries(process.env)) {
if (!key.startsWith("GH_AW_EXPERIMENTS_")) {
if (!key.startsWith("GH_AW_EXPERIMENTS_") || key === "GH_AW_EXPERIMENTS_BROKER_URL") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: the managed secret binds to a separate internal endpoint variable, preserving broker_url assignment fallback.

Comment thread actions/setup/js/experiments_broker.cjs Outdated
// Metadata and measurements may use finite fractional numbers. Shape validators
// below independently require safe integer counters and allowlisted observations.
try {
return parseStrictJSON(raw, { maxBytes, finiteNumbersIn: Object.keys(JSON.parse(raw) || {}) });

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: counter tokens are checked losslessly for exact safe integers; fractional observations remain supported.

Comment thread actions/setup/js/experiments_broker.cjs Outdated
if (!object(spec) || !Object.keys(spec).length) throw failure("CONFIGURATION");
for (const [name, config] of Object.entries(spec)) {
const variants = Array.isArray(config) ? config : object(config) ? config.variants : null;
if (!/^[a-zA-Z_][a-zA-Z0-9_]*$/.test(name) || !Array.isArray(variants) || variants.length < 2 || !variants.every(text) || new Set(variants).size !== variants.length) throw failure("CONFIGURATION");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: variant validation accepts schema-valid Unicode strings, including empty, multiline, and long values within resource limits.

Comment thread actions/setup/js/experiments_broker.cjs Outdated
Comment on lines +241 to +243
const raw = fsImpl.readFileSync(file, "utf8");
if (Buffer.byteLength(raw) > 16 * LIMIT) throw failure("INPUT");
return parseJSON(raw, 16 * LIMIT);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: bounded artifact bytes are decoded with fatal UTF-8 validation, with malformed-byte tests.

const selected = assignments(readJSON(path.join(env.GH_AW_EXPERIMENT_STATE_DIR || DEFAULT_DIRECTORY, "assignments.json"), fsImpl), spec, "INPUT");
if (!text(env.GH_AW_EXPERIMENT_RESULTS_FILE) || !text(env.GH_AW_EXPERIMENT_METADATA_FILE)) throw failure("INPUT");
verifyProducer(readJSON(env.GH_AW_EXPERIMENT_METADATA_FILE, fsImpl), env);
const summary = readJSON(env.GH_AW_EXPERIMENT_RESULTS_FILE, fsImpl);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: the trusted summary producer publishes a compact allowlisted reporting input, uploaded with the usage artifact.

fmt.Sprintf(" GH_AW_WORKFLOW_ID: %q\n", data.WorkflowID),
" GH_AW_WORKFLOW_REF: ${{ job.workflow_ref }}\n",
fmt.Sprintf(" GH_AW_EXPERIMENT_INVOCATION_ID: %s\n", invocationID),
fmt.Sprintf(" GH_AW_EXPERIMENT_STATE_DIR: %s\n", experimentsCacheDir),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: the broker assignment step explicitly sets both state directory and state file paths.

perms.Set(PermissionIdToken, PermissionWrite)
job := &Job{
Name: string(constants.ReportExperimentsJobName),
RunsOn: "runs-on: ubuntu-latest",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Fixed in 3da4457: the isolated reporter uses the existing framework runner selection, with coverage for CLI and repository self-hosted policies.

@pelikhan pelikhan left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot ensure permissions are updated to support id token write

Comment thread actions/setup/js/experiments_broker.cjs Outdated
}

/** @param {unknown} value @param {keyof typeof MESSAGES} kind */
function httpsUrl(value, kind) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot extract a helper file for broker validation functions

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Extracted the broker validation helpers and added direct tests in 989db14.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (docs/src/content/docs/specs/experiments-broker-specification.md:133): address unresolved feedback - Review comment
  3. Review (actions/setup/js/experiments_broker.cjs:192): address unresolved feedback - Review comment
  4. Review (actions/setup/js/experiments_broker.cjs:62): address unresolved feedback - Review comment
  5. Review (pkg/workflow/compiler_builtin_job_augmentation.go:76): address unresolved feedback - Review comment
  6. Review (pkg/workflow/compiler_experiments_broker.go:154): address unresolved feedback - Review comment
  7. Review (actions/setup/js/experiment_helpers.cjs:45): address unresolved feedback - Review comment
  8. Review (actions/setup/js/experiments_broker.cjs:62): address unresolved feedback - Review comment
  9. Review (actions/setup/js/experiments_broker.cjs:77): address unresolved feedback - Review comment
  10. Review (actions/setup/js/experiments_broker.cjs:243): address unresolved feedback - Review comment
  11. Review (actions/setup/js/experiments_broker.cjs:395): address unresolved feedback - Review comment
  12. Review (pkg/workflow/compiler_experiments_broker.go:30): address unresolved feedback - Review comment
  13. Review (pkg/workflow/compiler_experiments_broker.go:83): address unresolved feedback - Review comment

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "a3b7d6c85319f4602d052b39baf075cf79a86d44",
  "kind": "requested",
  "schema_version": "1",
  "state": "48a71d5f93c659dd3628ade1cffe8e4a7478592ab718671ab5a28170c96c31e1",
  "work": [
    "1c2a66c836e1f49f525e45f45d6ff77e97eb27efff76c99d81c6b974a29f4069",
    "3e268ade07ecb83682295233eb2d1b5056fbd7daaa99b3b5dd518c0a7bd68e3c",
    "6403c65b446543e787d983a962ed1fc8be17104215dabc8fd2417a6fa8aea638",
    "765dede3244ae1843d2dce38c072646feb39a865514cd7db7c64922ed8d671a8",
    "76733c02995cf66b9c4cbd4085b50ab335dcf374b1d922a9da68ec025621db4b",
    "9fa8fef4e3f9b70b257c91c0769d7f21268f7988d710cd57048f873bc2140b0b",
    "af5449802e6d9589a2cc20aeaee33e9a02fed163d780f8f217353d96278378ce",
    "c58c9962ab95d6f714dd4ac14855bd965a5b027ca70aa52aa67e26405ced70a8",
    "c658eb4a7df3bb4de23c4de7cf3e26c6bed16769987ca208073c0a85e877a50d",
    "ead473a9399ca72da0c975c0502e5ffc754bdb5bda417c3dab20d0e4689734a7",
    "f1fa56ff5206f9c75d529bc3a491a51247f74ed50f2f51f4672cf99e9cef8a6f",
    "f4f0ffd068d0482805288b5c956d74e16e2d2fe796f74e9dedd72b91e66ec249"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

…riments-broker

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged the latest main and fixed the PR-introduced custom-linter findings in 81e55f8. The requested test, TestLinearDevelopmentShorthandStaging, passes locally after the merge. Final validation still times out in the unrelated 80 MiB work-queue test; CodeQL also timed out and was not rerun.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Fix failing check Native JavaScript and Actions parser tests (FAILURE): Check run.
  3. Fix failing check Unit tests (H-J) (FAILURE): Check run.
  4. Fix failing check Unit tests (K-M) (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "81e55f8f7bb0332d63c220fda94a252dc1c3b35c",
  "kind": "requested",
  "schema_version": "1",
  "state": "400d0b6fbf56e6664d452f2b5fc639a13218f0eb428ed9386279d1fd52d57a9d",
  "work": [
    "0384d253d3410c71a864e41868d2b53514a0546251850d41a7465f9d24f0c2f9",
    "b855fc6fcb55b78d8a97b8924885cae846819f33bbc1dec6e0b470fbcf24991c",
    "e9f0bbf86aad828b3407e5cb9efe7dcd1062159916bbe36628e73b7671c89e10"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Updated the stale JavaScript summary digest for error_helpers.cjs in 9550008. The source-identity test and TestLinearDevelopmentShorthandStaging pass locally; main was already merged. The full workflow drift compile was stopped after a prolonged run because this change does not touch workflows, and no CI was triggered.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

@copilot must be able to configure broker URL in yaml and import broker setting using shared AW

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot must be able to configure broker URL in yaml and import broker setting using shared AW

Implemented in fe8042f. experiments.broker-url supports HTTPS URLs or secret expressions, and shared imports can provide broker settings with importer precedence. Focused tests pass; the full gate was stopped while the custom linter was still running, and CodeQL skipped analysis because its database was too large.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Fix failing check Unit tests (E-G) (FAILURE): Check run.
  3. Fix failing check Unit tests (K-M) (FAILURE): Check run.

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "fe8042f5b6833905f654b5c8b4df7fb3f84bc624",
  "kind": "requested",
  "schema_version": "1",
  "state": "0560cb3fce1eceb2bff064cb3069466cb08203870c1839721d1f4f2c698419e6",
  "work": [
    "0384d253d3410c71a864e41868d2b53514a0546251850d41a7465f9d24f0c2f9",
    "6870fc9ca003e1f17f885d01e56e7a1bf445e05688a9745f1c243629ed05613d"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7K · ◷
Comment /souschef to run again

gh-aw-bot and others added 2 commits November 21, 2026 16:27
…riments-broker

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot

🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:...

Merged latest main in 5dd4384 and fixed the E-G contract assertion to match the new 25-credit/60-turn settings in 7b481f6. The contract test passes; the K-M CLI test passed five local runs. make build passed, but workflow recompilation stalled on npm metadata lookup, and the final gate was stopped after the custom Go linter ran for over six minutes. No CI was triggered.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

@copilot experiments.broker-url should not allow secrets

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot experiments.broker-url should not allow secrets

Fixed in 1f27120: broker-url now accepts only literal HTTPS URLs, including in shared imports. The existing secret fallback remains available when the field is omitted. Focused tests pass; the full gate had an unexplained custom-linter failure, and CodeQL skipped analysis due to database size.

@pelikhan
pelikhan merged commit 8d7db2a into main Nov 21, 2026
127 checks passed
@pelikhan
pelikhan deleted the copilot/add-oidc-experiments-broker branch November 21, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants