Skip to content

Enable Repo Assist builds and tests and upgrade gh-aw - #4462

Merged
dsyme merged 2 commits into
masterfrom
fix/repo-assist-build-network
Oct 24, 2026
Merged

dsyme merged 2 commits into
masterfrom
fix/repo-assist-build-network

Conversation

@dsyme

@dsyme dsyme commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

🤖 Prepared with an AI assistant using Copilot SDK in VS Code.

Address the unsupported “sandbox has no network” conclusion in #4459 and run 39619780249.

  • Add explicit NuGet v2/CDN, .NET installer/download fallback, and MyGet integration-scenario hosts while retaining the existing NuGet/GitHub/AppVeyor allowances and firewall enforcement.
  • Install the SDK selected by global.json plus .NET 8 with actions/setup-dotnet v6 in a sandbox-visible temporary directory; set unattended CI/build environment variables.
  • Add readiness instructions for both command and scheduled modes: actually restore/build/test, use noninteractive commands, diagnose precise current failures, and attempt Main-group/unit-test validation if an unrelated legacy feed blocks broader restore. Explain that integration tests require the published CLI, not just Build.
  • Correct historical “(no network)” fix notes once, directly on the memory branch (commit b1e1783), without discarding their records or adding a recurring workflow migration; explicitly prohibit treating old memory or the engine offline-mode banner as a reason to skip validation. Use curl for proxy-aware web reads now that native Copilot web-fetch is unavailable.
  • Upgrade gh-aw from v0.89.21 to v0.93.3 (latest version approved during this task), refresh its dispatcher/agent templates and action pin, apply the web-fetch/protected-file-policy migrations, and regenerate the lock with gh aw compile.

Evidence

The supplied run already allowed .NET/NuGet and AppVeyor. Its downloaded Squid access log contains no package-feed requests, so it does not substantiate the blanket no-network diagnosis. Persistent memory repeated that diagnosis in two fix records. The repository requires SDK 10.0.400, but the workflow had no SDK setup. An explicit SDK install allowed local tool/package restore and the documented build/test targets to run.

Validation

  • dotnet tool restore: passed
  • dotnet paket restore: passed
  • ./build.sh Build < /dev/null: passed
  • Focused SemVerSpecs NUnit run: 83 passed, 0 failed
  • ./build.sh QuickIntegrationTests < /dev/null: 12 passed, 1 skipped, 0 failed
  • Fixture checks: existing/initial memory initialization, schema validation, preservation of records, required hosts, SDK setup, and generated-lock configuration passed. Follow-up checks verify that only the two historical notes changed on the memory branch and existing memory is untouched by workflow initialization.
  • gh aw compile repo-assist --force-refresh-action-pins: succeeded; gh aw list reports the lock compiled/fresh
  • git diff --check: passed

Known validation limits

Compilation emits 10 generator/static-analysis warnings. The compiler-integrated actionlint check reports eight undeclared admission-output references in compiler-generated YAML (admission is disabled); this is not a clean lint result. The separately installed older native actionlint also does not recognize several newer Actions fields. The lock was generated by the compiler, not hand-edited to hide those diagnostics.

Build/test results above are local validation, not a hosted run under the regenerated firewall. No Repo Assist workflow was dispatched. The initial direct integration invocation lacked the published CLI; the documented QuickIntegrationTests target supplies Publish and passed. Existing package-advisory/pruning/deprecation warnings remain unchanged.

No release-note entry: this changes internal automation and guidance, not shipped Paket behavior.

dsyme and others added 2 commits October 24, 2026 19:10
Allow package and SDK download redirects, install the required SDK, and replace stale no-network assumptions with unattended validation guidance. Regenerate the workflow with gh-aw v0.93.3 and apply its configuration migrations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove recurring note migration and regenerate the workflow. Historical no-network notes were corrected directly on memory/repo-assist-memory in b1e1783.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme
dsyme merged commit a41cebb into master Oct 24, 2026
11 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.

1 participant