Skip to content

Add daily conformance workflows for all 14 connectors - #77010

Merged
pelikhan merged 3 commits into
mainfrom
copilot/ensure-connector-test-workflows
Nov 12, 2026
Merged

pelikhan merged 3 commits into
mainfrom
copilot/ensure-connector-test-workflows

Conversation

Copilot AI commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Each connector needs daily coverage of trigger registration, MCP where applicable, and safe outputs.

  • Daily workflows: Add connector-<provider>-conformance workflows for all 14 providers, with staggered schedules and manual dispatch.
  • Shared coverage: Reuse existing suites for trigger registration contracts, MCP/tool selection, staged compilation, and safe-output execution and rejection boundaries.
  • Coverage guard: Require every connector declaration to have a correctly named daily workflow; extend aggregate CI path filters to include these files.
  • Execution boundary: Use offline fixtures and mocked transports—no provider credentials, live mutations, or webhook enrollment.

Copilot AI changed the title Add daily conformance workflows for every connector Add daily conformance workflows for all 14 connectors Nov 12, 2026
Copilot AI requested a review from pelikhan November 12, 2026 02:02
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot those need to be smoke agentic workflows testing the integration of each connector

Copilot AI commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

@copilot those need to be smoke agentic workflows testing the integration of each connector

The current workflows only run offline Go tests, so they do not exercise an agent calling a connector. Replacing them with real agentic smoke runs requires provider credentials and an approved resource per connector, which conflicts with the PR’s stated no-credentials boundary. Should the smoke workflows make read-only live provider calls using configured repository secrets/resources, or should they exercise a mocked MCP transport?

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot group all jobs into a single action, run daily, file issue if problems

Copilot AI commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

@copilot group all jobs into a single action, run daily, file issue if problems

I can consolidate the schedule and issue reporting. One blocking detail remains for the agentic smoke calls: connector golden resources are explicitly synthetic, and several declarations hard-code their resource IDs. Should the daily workflow use repository secrets plus approved provider test resources, or should it remain offline/mocked? Without approved targets, live calls would create recurring false-failure issues.

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

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification 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 from PR Specification Reviewer · gpt56 · ~3 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.6K · ◷

Generated by PR Specification Reviewer for #77010

@github-actions

github-actions Bot commented Nov 12, 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.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Generated by Ponytail Reviewer for #77010

@github-actions

github-actions Bot commented Nov 12, 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

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

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 from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.5K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

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.

Generated from PR Code Quality Reviewer · gpt56 · ~4 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 1.6K · ◷

🔎 Code quality review by PR Code Quality Reviewer

@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.

What this change does: Adds daily offline conformance workflows for each connector and checks that every declaration has a matching workflow.

Should fix

  1. The reusable workflow repeats the provider inventory in an allowlist. A new connector must update that list as well as add its declaration and workflow. Validate the name format and use the declaration file as the source of truth; otherwise the extra list must be maintained for every connector.

Verdict: Ship.
Lean: -4 lines possible.

Generated by ✂️ Ponytail Reviewer for #77010 · codex · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ⊞ 181
Comment /ponytail to run again

shell: bash
run: |
case "$PROVIDER" in
asana|azure-devops|confluence|datadog|gitlab|jira|linear|notion|pagerduty|sentry|servicenow|slack|teams|zendesk) ;;

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.

Should fix: This list repeats the connector inventory already checked on line 38. Adding a declared connector and its daily workflow also requires updating this list. Validate the provider name format and use the declaration file as the source of truth; that removes the extra inventory to maintain.

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.

🟢 Approval recommended

No active review issues are reported for the daily offline conformance coverage across all 14 connectors.

No open issues 🎉

What changed in this PR

Adds daily offline conformance coverage for all 14 gh-aw connectors, reusing existing tests without provider credentials or live mutations.

Changes:

  • Adds staggered daily schedules and manual dispatch for each connector.
  • Introduces a reusable workflow for declaration, trigger registration, MCP, compilation, and safe-output checks.
  • Adds an inventory guard for daily workflows and expands aggregate CI path filters.
File Description
pkg/​workflow/​connector_conformance_workflow_test.go Validates workflow inventory, naming, schedules, permissions, and provider wiring.
.github/​workflows/​test-connectors.yml Includes conformance workflows in CI path filters.
.github/​workflows/​test-connector-conformance.yml Runs shared, provider-selected offline conformance suites.
.github/​workflows/​connector-zendesk-conformance.yml Adds daily and manual Zendesk checks.
.github/​workflows/​connector-teams-conformance.yml Adds daily and manual Teams checks.
.github/​workflows/​connector-slack-conformance.yml Adds daily and manual Slack checks.
.github/​workflows/​connector-servicenow-conformance.yml Adds daily and manual ServiceNow checks.
.github/​workflows/​connector-sentry-conformance.yml Adds daily and manual Sentry checks.
.github/​workflows/​connector-pagerduty-conformance.yml Adds daily and manual PagerDuty checks.
.github/​workflows/​connector-notion-conformance.yml Adds daily and manual Notion checks.
.github/​workflows/​connector-linear-conformance.yml Adds daily and manual Linear checks.
.github/​workflows/​connector-jira-conformance.yml Adds daily and manual Jira checks.
.github/​workflows/​connector-gitlab-conformance.yml Adds daily and manual GitLab checks.
.github/​workflows/​connector-datadog-conformance.yml Adds daily and manual Datadog checks.
.github/​workflows/​connector-confluence-conformance.yml Adds daily and manual Confluence checks.
.github/​workflows/​connector-azure-devops-conformance.yml Adds daily and manual Azure DevOps checks.
.github/​workflows/​connector-asana-conformance.yml Adds daily and manual Asana checks.

Review effort: Balanced (auto)

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-12T04:45:00Z
review_event: REQUEST_CHANGES
top_themes: [vacuous provider-filtered tests, conformance coverage not invoked in PR CI]
files_reviewed: [.github/workflows/test-connector-conformance.yml, .github/workflows/test-connectors.yml, pkg/workflow/connector_conformance_workflow_test.go]
comment_count: 2

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~4 AIC · ⌖ ~1 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.

Found two blocking correctness issues:

  1. The provider-filtered go test -run commands can pass with zero matching tests, making a connector conformance job green while checking nothing.
  2. The added path filters do not invoke any conformance workflow, so the new coverage is schedule-only despite being wired into the aggregate PR workflow.

Please address both before merge.

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

paths:
- '.github/workflows/connectors/**'
- '.github/workflows/test-connectors.yml'
- '.github/workflows/connector-*-conformance.yml'

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.

These path-filter additions only cause this aggregate workflow to run; none of its jobs invokes the new conformance workflows or the reusable workflow. As a result, changes to these workflow files get only the existing offline/live tests, and connector implementation changes are not covered by this new conformance job on PRs. If PR-time coverage is intended, add a conformance job/matrix (and relevant connector source paths); otherwise these filters are misleading and the stated coverage remains schedule-only.

- name: Check provider MCP and safe-output runtimes
shell: bash
run: |
go test -race ./pkg/connectors -run "(?i)${PROVIDER_TEST_PATTERN}" -v -count=1 -timeout=5m

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.

This provider-filtered command can succeed without running any matching test: go test exits 0 when -run matches nothing. Because the pattern is derived from a naming convention rather than asserted, a provider whose tests are renamed or absent can report a green daily conformance job while exercising nothing. Please make the step fail when zero provider tests are executed (and apply the same guard to the filtered workflow tests above).

@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 /diagnosing-bugs and /tdd. Requesting changes on one correctness gap in the reusable workflow. The rest of the PR looks sound.

📋 Key Themes & Highlights

Key Themes

  • Vacuous pass (blocking): test-connector-conformance.yml line 60 uses go test -run, which exits 0 when nothing matches. For asana, datadog, notion, pagerduty, and zendesk, the pkg/connectors step runs zero tests and still goes green.
  • Verified: the guard test TestConnectorConformanceWorkflows passes on the PR head for all 14 providers. Caller provider: inputs match their file names. The step-1 and step-2 -run filters execute real subtests for every provider.
  • Not verified: I did not run the full pkg/workflow or pkg/connectors suites, and did not run actionlint or zizmor on the new YAML.

Positive Highlights

  • ✅ The guard test uses ElementsMatch, so it catches both missing and extra connector workflows.
  • ✅ Staggered cron times (02:07 to 02:59) avoid runner contention.
  • ✅ SHA pins match the existing test-connectors.yml.

@copilot please address the review comment on test-connector-conformance.yml line 60.

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

- name: Check provider MCP and safe-output runtimes
shell: bash
run: |
go test -race ./pkg/connectors -run "(?i)${PROVIDER_TEST_PATTERN}" -v -count=1 -timeout=5m

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.

[/diagnosing-bugs] This step can pass while running nothing. go test -run exits 0 when no test matches. For asana, datadog, notion, pagerduty, and zendesk the pattern matches zero tests in pkg/connectors, so those providers show green with no runtime check.

💡 Suggested fix

Fail when no tests ran, and make the pipe respect failures:

set -o pipefail
go test -race ./pkg/connectors -run "(?i)${PROVIDER_TEST_PATTERN}" -v -count=1 -timeout=5m | tee "${RUNNER_TEMP}/connector-tests.log"
grep -q -- '--- PASS' "${RUNNER_TEMP}/connector-tests.log" || { echo "no pkg/connectors tests matched ${PROVIDER_TEST_PATTERN}"; exit 1; }

Also add provider runtime tests in pkg/connectors for those five providers so the check exercises real code.

@copilot please address this.

@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 (.github/workflows/test-connector-conformance.yml:35): address unresolved feedback - Review comment
  3. Review (.github/workflows/test-connectors.yml:8): address unresolved feedback - Review comment
  4. Review (.github/workflows/test-connector-conformance.yml:60): address unresolved feedback - Review comment
  5. Review (.github/workflows/test-connector-conformance.yml:60): 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": "f25d2c507a8833e4de6c627086edeee856f6d2ca",
  "kind": "requested",
  "schema_version": "1",
  "state": "889e16d31cf2c4e087136d5587ab173c1f9fc3e379dd3d3c748384b2efac36b1",
  "work": [
    "5e983a28103472b470a39ea4bc9a29a5ae209c936ca3f977a57f8cc0824f6173",
    "65f737af79b232ff8f16788649d1471a491cd4be0f93d32e9d30c1e2ff49cba3",
    "7b7ae5ef46ba7b431ba57b792a6dbb28ef44c1e6ee783314f4d7f0a6e857d864",
    "a659e45217d51e867a94706937b6001d87d4036e5913b41ca6823e6e11bf0d91"
  ],
  "workflow": "pr-sous-chef"
}

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

@github-actions

Copy link
Copy Markdown
Contributor

Category: feature
Risk: medium
Score: 56/100 (impact 30 + urgency 14 + quality 12)
Recommended action: batch_review
Reason: broad connector conformance addition with clear operational value, but it is a wide workflow change and should be reviewed alongside nearby automation work.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~6 AIC · ⌖ ~2 AIC · ⊞ 15.9K · ◷

@pelikhan
pelikhan merged commit c13a6c1 into main Nov 12, 2026
83 checks passed
@pelikhan
pelikhan deleted the copilot/ensure-connector-test-workflows branch November 12, 2026 12:58
@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 (.github/workflows/test-connector-conformance.yml:35): address unresolved feedback - Review comment
  3. Review (.github/workflows/test-connectors.yml:10): address unresolved feedback - Review comment
  4. Review (.github/workflows/test-connector-conformance.yml:60): address unresolved feedback - Review comment
  5. Review (.github/workflows/test-connector-conformance.yml:60): 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": "23d4ac049198b5675a488d55aea5c056cd31ac08",
  "kind": "requested",
  "schema_version": "1",
  "state": "0c143b854f843f38a43fb7876f715ead169dd22c94a35337e62a71b64f1300e2",
  "work": [
    "5e983a28103472b470a39ea4bc9a29a5ae209c936ca3f977a57f8cc0824f6173",
    "65f737af79b232ff8f16788649d1471a491cd4be0f93d32e9d30c1e2ff49cba3",
    "7b7ae5ef46ba7b431ba57b792a6dbb28ef44c1e6ee783314f4d7f0a6e857d864",
    "a659e45217d51e867a94706937b6001d87d4036e5913b41ca6823e6e11bf0d91"
  ],
  "workflow": "pr-sous-chef"
}

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

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.3

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