Skip to content

Fix C# and Rust release automation#83

Merged
konard merged 4 commits into
mainfrom
issue-82-7aea04680cb2
May 12, 2026
Merged

Fix C# and Rust release automation#83
konard merged 4 commits into
mainfrom
issue-82-7aea04680cb2

Conversation

@konard
Copy link
Copy Markdown
Member

@konard konard commented May 12, 2026

Fixes #82.

Summary

  • Removed push.paths filters from the C# and Rust release workflows so every push to main schedules the component release automation, matching the release templates.
  • Fixed csharp/scripts/version-and-commit.mjs so missing component tags are not swallowed as successful lookups; the C# release script now verifies the exact refs/tags/csharp-vX.Y.Z tag.
  • Updated official GitHub Actions to current verified majors and added NuGet flat-container verification after C# publishes.
  • Added regression tests for the C# missing-tag release path and for C#/Rust push trigger coverage, plus a case study with downloaded CI logs and template snapshots in docs/case-studies/issue-82/.

Root Cause

The Rust workflow never scheduled for commit d47e551 because the release workflow push trigger was path-filtered and that commit changed no rust/** files. The C# workflow scheduled, but its version script used a silent exec() helper that converted failed Git commands into empty output. As a result, a missing csharp-v2.4.0 tag was treated as already released and the release job skipped the version bump, publish, and GitHub Release steps.

The same C# tag-probe bug exists in the upstream C# template, so I filed: link-foundation/csharp-ai-driven-development-pipeline-template#9

Verification

  • npm --prefix js run test:js
  • dotnet test csharp/Foundation.Data.Doublets.Cli.sln --configuration Release
  • cargo test --manifest-path rust/Cargo.toml --all-features
  • cargo fmt --manifest-path rust/Cargo.toml --all -- --check
  • cargo clippy --manifest-path rust/Cargo.toml --all-targets --all-features
  • npm --prefix js ci
  • npm --prefix js run build
  • git diff --check

Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: #82
@konard konard self-assigned this May 12, 2026
@konard konard changed the title [WIP] C# and Rust version bumps and releases didn't happen Fix C# and Rust release automation May 12, 2026
@konard konard marked this pull request as ready for review May 12, 2026 18:47
@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

Working session summary

Implemented and pushed dc7c8b2 to issue-82-7aea04680cb2.

PR 83 is updated, marked ready, and all fresh CI checks passed:
#83

What changed:

  • Removed C#/Rust push.paths filters so release workflows schedule on every push to main.
  • Fixed the C# release tag check to verify the exact refs/tags/csharp-vX.Y.Z ref and stop swallowing Git failures.
  • Added C# NuGet publish verification and updated official GitHub Actions majors.
  • Added regression tests and an issue case study with CI logs/template evidence under docs/case-studies/issue-82/.
  • Filed the upstream C# template bug: Release script treats missing tags as already released csharp-ai-driven-development-pipeline-template#9

Verified locally with JS tests, .NET tests, Rust tests, cargo fmt, cargo clippy, npm ci, npm build, and git diff --check. Working tree is clean.


This summary was automatically extracted from the AI working session output.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $18.807201

📊 Context and tokens usage:

  • 430.8K / 1.1M (41%) input tokens, 45.7K / 128K (36%) output tokens

Total: (430.8K + 12.4M cached) input tokens, 45.7K output tokens, $18.807201 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Repository (46665KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

docs/case-studies/issue-82/evidence/templates/* that is too much, we should not copy the code, that is already available in the internet publicly.

@konard konard marked this pull request as draft May 12, 2026 19:18
@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

🤖 AI Work Session Started

Starting automated work session at 2026-05-12T19:18:05.938Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

Addressed feedback about copied template code in commit 0abb577. Removed docs/case-studies/issue-82/evidence/templates/*, updated the case study to reference captured template metadata/public upstream URLs instead, and refreshed the file-tree evidence. Also removed the root .gitkeep so the existing repository layout regression passes.\n\nVerification:\n- npm --prefix js run test:js\n- git diff --check

@konard konard marked this pull request as ready for review May 12, 2026 19:21
@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $2.372421

📊 Context and tokens usage:

  • 68.9K / 1.1M (7%) input tokens, 4.9K / 128K (4%) output tokens

Total: (68.9K + 1.5M cached) input tokens, 4.9K output tokens, $2.372421 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (6869KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 12, 2026

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@konard konard merged commit d39285a into main May 12, 2026
21 checks 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.

C# and Rust version bumps and releases didn't happen

1 participant