Skip to content

sync code#24

Merged
MarsonShine merged 43 commits into
copilot/fix-build-errorsfrom
master
Mar 19, 2026
Merged

sync code#24
MarsonShine merged 43 commits into
copilot/fix-build-errorsfrom
master

Conversation

@MarsonShine

Copy link
Copy Markdown
Owner

No description provided.

[WIP] Fix build errors in Jekyll process
Copilot AI review requested due to automatic review settings March 19, 2026 07:25
@MarsonShine

Copy link
Copy Markdown
Owner Author

@copilot solve this problem
error context:
Run actions/jekyll-build-pages@v1
/usr/bin/docker run --name ghcrioactionsjekyllbuildpagesv1013_cb992b --label f3ce18 --workdir /github/workspace --rm -e "INPUT_SOURCE" -e "INPUT_DESTINATION" -e "INPUT_FUTURE" -e "INPUT_BUILD_REVISION" -e "INPUT_VERBOSE" -e "INPUT_TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e "ACTIONS_ORCHESTRATION_ID" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp":"/github/runner_temp" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Books/Books":"/github/workspace" ghcr.io/actions/jekyll-build-pages:v1.0.13
To use retry middleware with Faraday v2.0+, install faraday-retry gem
Liquid Exception: Liquid syntax error (line 156): Variable '{{X, two}' was not properly terminated with regexp: /}}/ in Fabulous-Adventures-In-Data-Structures/10-Unification-of-binary-terms.md
/usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:136:in raise_missing_variable_terminator': Liquid syntax error (line 156): Variable '{{X, two}' was not properly terminated with regexp: /\}\}/ (Liquid::SyntaxError) from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:128:in create_variable'
from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:39:in parse' from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:10:in parse'
from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:5:in parse' from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:130:in parse'
from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:114:in parse' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:13:in block in parse'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:49:in measure_time' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:12:in parse'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:121:in render_liquid' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:79:in render_document'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:62:in run' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:479:in render_regenerated'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:472:in block in render_pages' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:471:in each'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:471:in render_pages' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:192:in render'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:71:in process' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/command.rb:28:in process_site'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/commands/build.rb:65:in build' from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/commands/build.rb:36:in process'
from /usr/local/bundle/gems/github-pages-232/bin/github-pages:70:in block (3 levels) in <top (required)>' from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each' from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go' from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program'
from /usr/local/bundle/gems/github-pages-232/bin/github-pages:6:in <top (required)>' from /usr/local/bundle/bin/github-pages:25:in load'
from /usr/local/bundle/bin/github-pages:25:in `

'
Error: Logging at level: debug Configuration file: /github/workspace/./_config.yml Theme: jekyll-theme-cayman Theme source: /usr/local/bundle/gems/jekyll-theme-cayman-0.2.0 GitHub Pages: github-pages v232 GitHub Pages: jekyll v3.10.0 Theme: jekyll-theme-cayman Theme source: /usr/local/bundle/gems/jekyll-theme-cayman-0.2.0 Requiring: jekyll-seo-tag Requiring: jekyll-coffeescript Requiring: jekyll-commonmark-ghpages Requiring: jekyll-gist Requiring: jekyll-github-metadata Requiring: jekyll-paginate Requiring: jekyll-relative-links Requiring: jekyll-optional-front-matter Requiring: jekyll-readme-index Requiring: jekyll-default-layout Requiring: jekyll-titles-from-headings GitHub Metadata: Initializing... Source: /github/workspace/. Destination: /github/workspace/./_site Incremental build: disabled. Enable with --incremental Generating... Generating: JekyllOptionalFrontMatter::Generator finished in 0.055494624 seconds. Generating: JekyllReadmeIndex::Generator finished in 0.100595113 seconds. Generating: Jekyll::Paginate::Pagination finished in 1.085e-05 seconds. GitHub Metadata: Generating for MarsonShine/Books GitHub Metadata: Calling @client.pages("MarsonShine/Books", {}) Generating: JekyllRelativeLinks::Generator finished in 3.49199876 seconds. Generating: JekyllDefaultLayout::Generator finished in 0.004004735 seconds. Requiring: kramdown-parser-gfm Generating: JekyllTitlesFromHeadings::Generator finished in 0.10135 seconds. Rendering: assets/css/style.scss Pre-Render Hooks: assets/css/style.scss Rendering Markup: assets/css/style.scss Rendering: AI-LLMs/Brex's Prompt Engineering Guide.md Pre-Render Hooks: AI-LLMs/Brex's Prompt Engineering Guide.md Rendering Markup: AI-LLMs/Brex's Prompt Engineering Guide.md Rendering Layout: AI-LLMs/Brex's Prompt Engineering Guide.md Layout source: theme GitHub Metadata: Calling @client.repository("MarsonShine/Books", {:accept=>"application/vnd.github.drax-preview+json"}) Rendering: AI-LLMs/KnowledgeDistillation-In-DeepSeek-R1.md Pre-Render Hooks: AI-LLMs/KnowledgeDistillation-In-DeepSeek-R1.md Rendering Markup: AI-LLMs/KnowledgeDistillation-In-DeepSeek-R1.md Rendering Layout: AI-LLMs/KnowledgeDistillation-In-DeepSeek-R1.md Layout source: theme Rendering: AI-LLMs/LLM-Theory-Practice.md Pre-Render Hooks: AI-LLMs/LLM-Theory-Practice.md Rendering Markup: AI-LLMs/LLM-Theory-Practice.md Rendering Layout: AI-LLMs/LLM-Theory-Practice.md Layout source: theme Rendering: AI-LLMs/Model-Context-Protocol.md Pre-Render Hooks: AI-LLMs/Model-Context-Protocol.md Rendering Markup: AI-LLMs/Model-Context-Protocol.md Rendering Layout: AI-LLMs/Model-Context-Protocol.md Layout source: theme Rendering: AI-LLMs/RAG.md Pre-Render Hooks: AI-LLMs/RAG.md Rendering Markup: AI-LLMs/RAG.md Rendering Layout: AI-LLMs/RAG.md Layout source: theme Rendering: AI-LLMs/agent-skills/What-are-skills.md Pre-Render Hooks: AI-LLMs/agent-skills/What-are-skills.md Rendering Markup: AI-LLMs/agent-skills/What-are-skills.md Rendering Layout: AI-LLMs/agent-skills/What-are-skills.md Layout source: theme Rendering: AI-LLMs/papers/Finetuned-Language-Models-Are-Zero-Shot-Learners.md Pre-Render Hooks: AI-LLMs/papers/Finetuned-Language-Models-Are-Zero-Shot-Learners.md Rendering Markup: AI-LLMs/papers/Finetuned-Language-Models-Are-Zero-Shot-Learners.md Rendering Layout: AI-LLMs/papers/Finetuned-Language-Models-Are-Zero-Shot-Learners.md Layout source: theme Rendering: AI-LLMs/papers/Native-Sparse-Attention-Hardware-Aligned-And-Natively-Trainable-Sparse-Attention.md Pre-Render Hooks: AI-LLMs/papers/Native-Sparse-Attention-Hardware-Aligned-And-Natively-Trainable-Sparse-Attention.md Rendering Markup: AI-LLMs/papers/Native-Sparse-Attention-Hardware-Aligned-And-Natively-Trainable-Sparse-Attention.md Rendering Layout: AI-LLMs/papers/Native-Sparse-Attention-Hardware-Aligned-And-Natively-Trainable-Sparse-Attention.md Layout source: theme Rendering: Agentic-Design-Patterns/12-Chapter-12-ExceptionHandling-and-Recovery.md Pre-Render Hooks: Agentic-Design-Patterns/12-Chapter-12-ExceptionHandling-and-Recovery.md Rendering Markup: Agentic-Design-Patterns/12-Chapter

Copilot AI commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

@MarsonShine I've opened a new pull request, #25, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot 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.

Pull request overview

This PR syncs in a large set of new sample code and translated technical documentation across multiple subprojects (data structures chapters, .NET runtime docs, and C# language version demos).

Changes:

  • Added LINQPad programs for chapters 8–10 and multiple C# console/sample projects for chapters 2/3/6.
  • Added/updated substantial Chinese technical documentation (CoreCLR design docs and “Agentic Design Patterns”).
  • Added C# guide samples including a Minimal API OpenAPI demo and a C# “14.0” language feature demo.

Reviewed changes

Copilot reviewed 49 out of 174 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 9/chapter9.linq Adds pretty-printing “Doc” model and expression AST/visitor samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 8/chapter8.linq Adds immutable graph coloring + sudoku graph construction sample.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/chapter 6.sln Adds Visual Studio solution for chapter 6 samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/chapter 6.csproj Adds chapter 6 C# project configuration.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/Program.cs Adds entry point invoking chapter 6 sample code.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/Permutations.cs Adds permutations algorithms + extension helpers.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/Extensions.cs Adds string-join helper extensions used by samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/Deque.cs Adds deque implementation used by combinations samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 6/Combinations.cs Adds combinations algorithms + demo driver.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/chapter 3.sln Adds Visual Studio solution for chapter 3 samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/chapter 3.csproj Adds chapter 3 C# project configuration.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/Program.cs Adds chapter 3 demo program using deque.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/IDeque.cs Adds deque interface for chapter 3 project.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/Extensions.cs Adds deque extensions for chapter 3.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 3/Deque.cs Adds chapter 3 deque implementation.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/chapter 2.sln Adds Visual Studio solution for chapter 2 samples.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/chapter 2.csproj Adds chapter 2 C# project configuration.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/UndoRedoQueue.cs Adds undo/redo queue sample wrapper.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/UndoRedo.cs Adds generic undo/redo state container.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/Queue.cs Adds mutable queue wrapper around immutable queue.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/Program.cs Adds chapter 2 demo program.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/ImQueue.cs Adds immutable queue implementation + sample.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/IImStack.cs Adds immutable stack implementation.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/HughesList.cs Adds Hughes list sample and implementation.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/Extensions.cs Adds helper extensions (Bracket/Comma, stack ops).
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 2/Covariance.cs Adds covariant stack example.
Fabulous-Adventures-In-Data-Structures/sourcecode/chapter 10/chapter10.linq Adds unification / substitution demo types + samples.
Fabulous-Adventures-In-Data-Structures/01-Starting-a-fabulous-adventure.md Adds translated Chapter 1 content.
DotNet-Runtime-Book/docs/design/coreclr/specs/runtime-async_cn.md Adds Chinese translation of runtime-async spec draft.
DotNet-Runtime-Book/docs/design/coreclr/botr/xplat-minidump-generation_cn.md Adds Chinese translation of createdump/minidump design.
DotNet-Runtime-Book/docs/design/coreclr/botr/vectors-and-intrinsics_cn.md Adds Chinese translation of intrinsics/vector design doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/stackwalking_cn.md Adds Chinese translation of stackwalking design doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/runtime-async-codegen_cn.md Adds Chinese translation of runtime-async codegen doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/profilability_cn.md Adds Chinese translation of profiling/profilability doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/mixed-mode_cn.md Adds Chinese translation of mixed-mode assemblies doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/method-descriptor_cn.md Adds Chinese translation of MethodDesc design doc.
DotNet-Runtime-Book/docs/design/coreclr/botr/garbage-collection_cn.md Adds Chinese translation of GC design doc.
CSharpGuide/LanguageVersions/9.0/openapi/openapi.sln Adds VS solution for OpenAPI minimal API sample.
CSharpGuide/LanguageVersions/9.0/openapi/openapi.http Adds HTTP scratch file for testing the endpoint.
CSharpGuide/LanguageVersions/9.0/openapi/openapi.csproj Adds ASP.NET Core minimal API project config + OpenAPI package.
CSharpGuide/LanguageVersions/9.0/openapi/appsettings.json Adds app config for OpenAPI sample.
CSharpGuide/LanguageVersions/9.0/openapi/appsettings.Development.json Adds dev logging config for sample.
CSharpGuide/LanguageVersions/9.0/openapi/Properties/launchSettings.json Adds launch settings for sample.
CSharpGuide/LanguageVersions/9.0/openapi/Program.cs Adds minimal API sample with OpenAPI metadata.
CSharpGuide/LanguageVersions/14.0/User.cs Adds C# “field” property backing sample.
CSharpGuide/LanguageVersions/14.0/Program.cs Adds demo program for extensions/operators.
CSharpGuide/LanguageVersions/14.0/Extensions.cs Adds extension members/operators demo.
CSharpGuide/LanguageVersions/14.0/14.0.sln Adds VS solution for C# 14 demo.
CSharpGuide/LanguageVersions/14.0/14.0.csproj Adds project config targeting net10 + LangVersion 14.0.
Agentic-Design-Patterns/README.md Adds pointer README for translated content.
Agentic-Design-Patterns/Appendix G - Code-Agent.md Adds appendix text about coding agents and workflows.
Agentic-Design-Patterns/Appendix B- AIAgentic-interactions.md Adds appendix text about agent-computer/environment interaction.
Agentic-Design-Patterns/15-Chapter-09-Learning-and-Adaptation.md Adds chapter on learning/adaptation patterns and examples.
Agentic-Design-Patterns/12-Chapter-12-ExceptionHandling-and-Recovery.md Adds chapter on exception handling/recovery pattern.
AI-LLMs/agent-skills/What-are-skills.md Adds Agent Skills spec + integration guidance (Chinese).
.github/skills/translate-tech-en-zh/SKILL.md Adds a translation skill description file.
.github/agents/translator.agent.md Adds a translator agent definition.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +1 to +3
| name | description |
| -------------------- | ------------------------------------------------------------ |
| translate-tech-en-zh | Translate English technical articles into idiomatic Chinese. Use this skill when the user asks to translate English content to Chinese (e.g., “翻译这段英文/把这篇英文文章翻译成中文/translate to Chinese”). Output ONLY the Chinese translation, preserving the original structure. Keep code blocks complete and fenced with proper Markdown for syntax highlighting. |
@MarsonShine MarsonShine merged commit dac7f4c into copilot/fix-build-errors Mar 19, 2026
5 of 7 checks passed
MarsonShine added a commit that referenced this pull request Mar 19, 2026
Merge pull request #24 from MarsonShine/master
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.

3 participants