Skip to content

Store codegen backend and target into self-profile URL#2376

Merged
Kobzol merged 5 commits intorust-lang:masterfrom
Kobzol:self-profile-id-rework
Jan 29, 2026
Merged

Store codegen backend and target into self-profile URL#2376
Kobzol merged 5 commits intorust-lang:masterfrom
Kobzol:self-profile-id-rework

Conversation

@Kobzol
Copy link
Member

@Kobzol Kobzol commented Jan 28, 2026

This PR creates a new URL encoding for self-profile files, which respects the used codegen backend and target. Running benchmarks with a non-standard codegen backend and target will thus no longer "brick" both the benchmarked commit and its parent.

To maintain some compatibility with old self-profile links, we still try to check if we have legacy self-profile data entries in the DB, and if yes, try to load from the legacy URL. This is not enabled for compilation sections though, I don't think it would be worth the effort.

@Kobzol Kobzol force-pushed the self-profile-id-rework branch from adb17c6 to 31d7c04 Compare January 29, 2026 09:48
@Kobzol Kobzol marked this pull request as ready for review January 29, 2026 09:48
@Kobzol Kobzol requested a review from Jamesbarford January 29, 2026 09:48
@Kobzol
Copy link
Member Author

Kobzol commented Jan 29, 2026

Let's try!

@Kobzol Kobzol added this pull request to the merge queue Jan 29, 2026
Merged via the queue into rust-lang:master with commit 6c4d750 Jan 29, 2026
25 of 27 checks passed
@Kobzol Kobzol deleted the self-profile-id-rework branch January 29, 2026 11:38
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.

2 participants