Skip to content

Use complog for source indexer stage1 - #8745

Merged
jjonescz merged 1 commit into
dotnet:mainfrom
jjonescz:complog-source-indexer
Aug 31, 2026
Merged

jjonescz merged 1 commit into
dotnet:mainfrom
jjonescz:complog-source-indexer

Conversation

@jjonescz

Copy link
Copy Markdown
Member

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@jjonescz
jjonescz marked this pull request as ready for review August 27, 2026 14:29
@jjonescz
jjonescz requested review from a team as code owners August 27, 2026 14:29
Copilot AI lite review requested due to automatic review settings August 27, 2026 14:29
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the VMR-specific source indexer “stage1” pipeline template to generate CompLog artifacts (matching the current eng/common/Arcade approach) rather than SLN output, and uploads those .complog files plus the commit hash for consumption by dotnet/source-indexer.

Changes:

  • Switch tool installation from BinLogToSln to complog (from the dotnet-public feed) while keeping UploadIndexStage1.
  • Convert each per-repo Build.binlog into a per-repo *.complog output and gate upload on presence of .complog files (not just any output).
  • Emit the VMR commit hash into stage1output/hash to align with stage1 input expectations.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@tannergooding

Copy link
Copy Markdown
Member

What's the set of complogs we're collecting with this?

It mostly just makes a difference in what we can do index merging around, but I think the key distinct builds (at least for dotnet/runtime) we may want to consider are:

  • Windows/Linux
  • Debug/Release
  • NAOT/JIT
  • x64/Arm64

Right now I believe we're collecting Release NAOT Linux and so the Windows and JIT specific sources are missing. I think most debug vs release is just a matter of hyperlinks/ifdefs (not files) and same for x64 vs arm64.

We don't have to go and collect them all, can do a limited subset, or even grab the others in a later PR; but having some of them would let us start using the merged index feature.

@jjonescz

Copy link
Copy Markdown
Member Author

What's the set of complogs we're collecting with this?

Currently it's the exact same as we did with BinLogToSln.

I think we can try adding more in a follow up. First I'd like to try that everything works end-to-end. Already discovered two issues so far (dotnet/source-indexer#304, dotnet/source-indexer#305).

@jjonescz
jjonescz merged commit 4f8bdb6 into dotnet:main Aug 31, 2026
11 checks passed
@jjonescz
jjonescz deleted the complog-source-indexer branch August 31, 2026 11:32
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.

4 participants