Skip to content

Fix CI false results, diagnostics and guarded C#/C++ releases - #526

Merged
konard merged 25 commits into
mainfrom
issue-524-b1512fd1c7a8
Oct 29, 2026
Merged

konard merged 25 commits into
mainfrom
issue-524-b1512fd1c7a8

Conversation

@konard

@konard konard commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

The old pipeline reported success after native build failures, ignored compiler warnings and 87 CodeQL findings, and allowed release jobs to succeed while public NuGet publication failed. This PR makes those failures fatal and repairs the defects exposed by the stricter checks.

  • Validate C# on Linux/Windows and C++ with GCC, Clang, ASan/UBSan, coverage, formatting, static analysis and real installed-package consumers. Gate every finding in full-repository CodeQL SARIF reports.
  • Fix nullable/XML/compiler diagnostics, UniLinks updates, allocation progress, constructor virtual dispatch, transaction error reporting, native query predicates, helper ownership, stale pointers after growth, address exhaustion in all four stores, variadic query restrictions and split data/index capacity accounting. Add focused regressions, equal/unequal split-buffer tests in both languages, and default-off diagnostic callbacks.
  • Repair Conan metadata, explicit compiler profiles, heap destruction, dependency build warnings and short-write handling; preserve public headers, CMake targets, NuGet identities and release tags.
  • Generate both API references and the Unicode source PDF with pinned tools. Validate generated deployment paths and maintained external links, and handle initial deployment and concurrent updates.
  • Require security, dependency, secret and link checks before publishing tested artifacts. Add independent changeset versions, one queued writer, credential preflight, bounded retries, anonymous publication verification and repairable reruns.

Reproduction and validation: the original main run, failing-before probes, regression tests and exact commands are preserved in the evidence folder. Locally, 82 C# tests, 46 native tests and 44 pipeline regressions pass; strict native analysis, both installed-package consumers, benchmark smoke, documentation/PDF generation and the full-history credential scan pass. The native rebuild peaked at 934 MiB RSS with one worker. The full CI run at e7dfbe428 is green: both C# platforms, all three native configurations, ASan/UBSan, installed consumers, strict analysis, documentation, links and audit. All three full CodeQL reports have zero findings and successful analysis invocations; raw executed-job logs contain zero compiler/runtime/action warnings. The documentation artifact contains 538 HTML pages and a 277-page PDF. All 1,097 artifact files are archived and SHA256-verified. This verifies the final evidence commit as well as the complete implementation.

Automated regressions include the pipeline failure/skip/publication checks, complete SARIF gate tests, real GCC package-consumer reproduction, and language tests for every reproduced storage defect. Run the local commands in CONTRIBUTING.md; failing-before outputs are preserved beside the passing results.

The complete timeline, requirement matrix, root causes, collected logs, thirteen upstream reports and a file-by-file comparison of all 297 C#/C++ template files are in the issue evidence folder. See ANALYSIS.md and the full template comparison.

The original NuGet response was HTTP 403. A repository owner must provide a valid scoped NUGET_TOKEN or configure trusted publishing; main now fails early with explicit instructions when credentials are unusable. PR validation requires no publishing secret. Public release publication has not been performed from this PR.

Fixes #524

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

Issue: #524
@konard konard self-assigned this Oct 29, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@konard konard changed the title [WIP] Check for all false positives, false negatives, warnings and errors in CI/CD and fix them all Fix CI false results, warnings and guarded C#/C++ releases Oct 29, 2026
@konard konard changed the title Fix CI false results, warnings and guarded C#/C++ releases Fix CI false results, diagnostics and guarded C#/C++ releases Oct 29, 2026
@konard
konard marked this pull request as ready for review October 29, 2026 09:01
@konard

konard commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

Working session summary

PR #526 is ready for review and remains unmerged. Final CI passes; the working tree is clean.

  • 82 C# tests per platform, 46 native tests per configuration, and 44 pipeline regressions pass.
  • Zero CodeQL findings or compiler/runtime warnings.
  • Evidence and analysis include logs, timeline, requirements, solutions and 13 upstream reports.

Public NuGet publishing still requires owner-configured credentials.

Elapsed: approximately 4h 32m.


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

@konard

konard commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

🤖 Solution Draft Log

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

💰 Cost estimation:

  • Model: GPT-6.1 Sol
  • Provider: OpenAI
  • Public pricing estimate: $25.507463

📊 Context and tokens usage:

  • 1.7M input tokens across requests (cumulative, larger than the 272K context window, so not one request's context), 393.8K / 128K (308%) output tokens

Total: (1.7M + 63.1M cached) input tokens, 393.8K output tokens, $25.507463 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-6.1-sol
  • Thinking level: xhigh (~31999 tokens)
  • Model: GPT-6.1 Sol (gpt-6.1-sol)

📎 Log file uploaded as Gist (15083KB)


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

@konard
konard merged commit c083793 into main Oct 29, 2026
19 checks passed
@konard

konard commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

🎉 Auto-merged

This pull request has been automatically merged by hive-mind.

  • All CI checks have passed

Linked issues

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.

Check for all false positives, false negatives, warnings and errors in CI/CD and fix them all

2 participants