Skip to content

Conversation

@me-cr
Copy link
Contributor

@me-cr me-cr commented Jul 31, 2025

Capture unknown fields using Serde’s flatten attribute. This approach allows us to accept valid input, ignore unknown fields during normal operation, and log them as needed, instead of rejecting them and using default configuration values.

@jvsqzj
@alecalvop

@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch from 58e2923 to 2bf7e6e Compare August 14, 2025 20:19
@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch 3 times, most recently from 2e59830 to 74498f2 Compare August 14, 2025 22:05
@me-cr me-cr marked this pull request as ready for review August 14, 2025 22:05
Copy link
Contributor

@JonatanWaern JonatanWaern left a comment

Choose a reason for hiding this comment

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

Needs changelog entry

@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch 3 times, most recently from 4fd2a32 to bd568da Compare September 27, 2025 00:10
@me-cr me-cr force-pushed the fix/config-file-unknown-fields branch from bd568da to e47e02c Compare September 29, 2025 14:44
Copy link
Contributor

@JonatanWaern JonatanWaern left a comment

Choose a reason for hiding this comment

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

@me-cr Reminder that rebases on main, rather than merges from main, are preferred here

@JonatanWaern JonatanWaern merged commit a59dae7 into intel:main Sep 30, 2025
4 checks passed
if let Some(file_watch) = FileWatch::new(ctx) {
if params.changes.iter().any(|c| file_watch.is_relevant(c)) {
ctx.update_compilation_info(&out);
ctx.update_linter_config(&out);
Copy link
Contributor

Choose a reason for hiding this comment

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

@JonatanWaern We were considering adding linting config file to FileWatch, but I found that an effort was being made in this PR: #122. Are you planning on working on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, eventually I will take a second(third?) look at making file watching work properly. ATM it is entirely non-functional and my previous attempts didn't result in a clear cause. It is not a high priority atm, though.

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