Skip to content

Conversation

Mpdreamz
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings March 14, 2025 16:44
@Mpdreamz Mpdreamz added the fix label Mar 14, 2025
@Mpdreamz Mpdreamz requested a review from a team as a code owner March 14, 2025 16:44
@Mpdreamz Mpdreamz self-assigned this Mar 14, 2025
Copy link
Contributor

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

This PR adds environment-specific control for indexing by introducing a new configuration property, "allow_index", that defaults to false.

  • Adds a new AllowIndexing property in the AssemblyConfiguration record
  • Updates the assembler YAML configuration for production with allow_index
  • Propagates the new AllowIndexing setting in the AssemblerBuilder during build

Reviewed Changes

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

File Description
src/docs-assembler/Configuration/AssemblyConfiguration.cs Introduces new AllowIndexing property with a YAML alias for indexing configuration
src/docs-assembler/assembler.yml Adds "allow_index: false" entry to production environment
src/docs-assembler/Building/AssemblerBuilder.cs Uses the new AllowIndexing property from the environment

Co-authored-by: Jan Calanog <jan.calanog@elastic.co>
@Mpdreamz Mpdreamz merged commit 3ab91a5 into main Mar 14, 2025
8 checks passed
@Mpdreamz Mpdreamz deleted the fix/allow-indexing branch March 14, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants