Repository navigation
Add daily conformance workflows for all 14 connectors - #77010
Conversation
Co-authored-by: pelikhan <[email protected]>
|
@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? |
|
@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. |
|
✅ PR Specification Reviewer completed successfully! PR Specification ReviewerOutcome: 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 Sentinel completed test quality analysis. Test Quality SentinelOutcome: 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.
|
|
✅ Ponytail Reviewer completed successfully!
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ 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: 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: 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.
|
There was a problem hiding this comment.
What this change does: Adds daily offline conformance workflows for each connector and checks that every declaration has a matching workflow.
Should fix
- 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) ;; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
🟢 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)
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
Found two blocking correctness issues:
- The provider-filtered
go test -runcommands can pass with zero matching tests, making a connector conformance job green while checking nothing. - 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' |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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.ymlline 60 usesgo test -run, which exits 0 when nothing matches. For asana, datadog, notion, pagerduty, and zendesk, thepkg/connectorsstep runs zero tests and still goes green. - Verified: the guard test
TestConnectorConformanceWorkflowspasses on the PR head for all 14 providers. Callerprovider:inputs match their file names. The step-1 and step-2-runfilters execute real subtests for every provider. - Not verified: I did not run the full
pkg/workfloworpkg/connectorssuites, 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 |
There was a problem hiding this comment.
[/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.
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
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"
}
|
…tor-test-workflows Co-authored-by: gh-aw-bot <[email protected]>
Co-authored-by: gh-aw-bot <[email protected]>
|
Category: feature
|
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
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"
}
|
|
🎉 This pull request is included in a new release. Release: |
Each connector needs daily coverage of trigger registration, MCP where applicable, and safe outputs.
connector-<provider>-conformanceworkflows for all 14 providers, with staggered schedules and manual dispatch.