Skip to content

On branch edburns/dd-2855288-add-smoke-test-to-build-and-test Use a non-agentic workflow. More deterministic.#25

Merged
edburns merged 3 commits intogithub:mainfrom
edburns:edburns/dd-2855288-add-smoke-test-to-build-and-test
Mar 25, 2026
Merged

On branch edburns/dd-2855288-add-smoke-test-to-build-and-test Use a non-agentic workflow. More deterministic.#25
edburns merged 3 commits intogithub:mainfrom
edburns:edburns/dd-2855288-add-smoke-test-to-build-and-test

Conversation

@edburns
Copy link
Collaborator

@edburns edburns commented Mar 25, 2026

Your branch is ahead of 'origin/edburns/dd-2855288-add-smoke-test-to-build-and-test' by 1 commit.
deleted: .github/workflows/run-smoke-test.lock.yml
deleted: .github/workflows/run-smoke-test.md
new file: .github/workflows/run-smoke-test.yml

…on-agentic workflow. More deterministic.

Your branch is ahead of 'origin/edburns/dd-2855288-add-smoke-test-to-build-and-test' by 1 commit.
deleted:    .github/workflows/run-smoke-test.lock.yml
deleted:    .github/workflows/run-smoke-test.md
new file:   .github/workflows/run-smoke-test.yml

Signed-off-by: Ed Burns <edburns@microsoft.com>
Copilot AI review requested due to automatic review settings March 25, 2026 04:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Replaces the previous agentic-workflow (markdown + generated lock workflow) with a single, non-agentic GitHub Actions workflow that builds the SDK locally, has Copilot CLI generate the smoke-test Maven project from src/test/prompts/PROMPT-smoke-test.md, and then runs the resulting smoke-test JAR.

Changes:

  • Add a new run-smoke-test.yml workflow to build/install the SDK, generate the smoke-test project via Copilot CLI, and run the smoke-test JAR.
  • Remove the previous agentic workflow source (run-smoke-test.md) and its compiled lock workflow (run-smoke-test.lock.yml).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/run-smoke-test.yml New non-agentic workflow to build the SDK, generate the smoke test project, and run the jar deterministically.
.github/workflows/run-smoke-test.md Removed agentic workflow prompt/instructions file.
.github/workflows/run-smoke-test.lock.yml Removed generated agentic lock workflow.

edburns and others added 2 commits March 25, 2026 00:15
This is an absolutely excellent suggestion.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
modified:   .github/workflows/run-smoke-test.yml
modified:   pom.xml

@Copilot wrote:

> mvn -DskipTests clean install will still execute generate-test-resources, which in this repo runs a git clone of github/copilot-sdk and an npm install (see pom.xml plugin executions bound to generate-test-resources). This adds extra network + npm variability to what is otherwise just an SDK install step. Consider adding a dedicated Maven profile/flag to skip those test-harness setup executions for this workflow, so the smoke test depends only on building/installing the SDK artifact.

This is an excellent suggestion.
@edburns edburns merged commit fa18bc6 into github:main Mar 25, 2026
1 check passed
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