Skip to content

configure: Way more data from Intune! #1431

configure: Way more data from Intune!

configure: Way more data from Intune! #1431

Triggered via push July 23, 2024 17:37
Status Failure
Total duration 3m 3s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
Typecheck: apps/configure/src/lib/sync.ts#L146
Parameter 'member' implicitly has an 'any' type.
Typecheck: apps/configure/src/lib/sync.ts#L172
Object literal may only specify known properties, and 'assignments' does not exist in type '{ id: string; name: string; description?: string | undefined; createdDateTime: string; lastModifiedDateTime: string; } & ({ platforms?: "none" | "android" | "iOS" | "macOS" | "windows10X" | "windows10" | "linux" | "unknownFutureValue" | undefined; technologies?: "none" | ... 13 more ... | undefined; settings: { ...;...'.
Typecheck: apps/configure/src/lib/sync.ts#L192
Object literal may only specify known properties, and 'assignments' does not exist in type '{ id: string; name: string; description?: string | undefined; createdDateTime: string; lastModifiedDateTime: string; } & ({ platforms?: "none" | "android" | "iOS" | "macOS" | "windows10X" | "windows10" | "linux" | "unknownFutureValue" | undefined; technologies?: "none" | ... 13 more ... | undefined; settings: { ...;...'.
Typecheck: apps/configure/src/lib/sync.ts#L209
Object literal may only specify known properties, and 'assignments' does not exist in type '{ id: string; name: string; scriptContent: string; fileName: string; runAsAccount: "system" | "user"; createdDateTime: string; lastModifiedDateTime: string; } & ({ enforceSignatureCheck: boolean; runAs32Bit: boolean; } | { ...; })'.
Typecheck: apps/configure/src/lib/sync.ts#L227
Object literal may only specify known properties, and 'assignments' does not exist in type '{ id: string; name: string; scriptContent: string; fileName: string; runAsAccount: "system" | "user"; createdDateTime: string; lastModifiedDateTime: string; } & ({ enforceSignatureCheck: boolean; runAs32Bit: boolean; } | { ...; })'.
Typecheck: apps/configure/src/lib/sync.ts#L253
Object literal may only specify known properties, and 'assignments' does not exist in type '{ id: string; type: string; name: string; description?: string | undefined; publisher?: string | undefined; largeIcon?: any; createdDateTime: string; lastModifiedDateTime: string; isFeatured: boolean; ... 4 more ...; notes?: string | undefined; }'.
Typecheck: apps/configure/src/components/search/index.tsx#L198
Property 'tableColumns' does not exist on type '{ load: () => Promise<{ id: string; type: "member" | "guest"; upn: string; name: string; nameParts: { givenName?: string | undefined; surname?: string | undefined; }; accountEnabled: boolean; employeeId?: string | undefined; ... 4 more ...; createdDateTime: string; }[]>; columns: () => AccessorKeyColumnDef<...>[]; }...'.
Typecheck
Process completed with exit code 2.
Format & Lint (Biome)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Migrations
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unused variable: `final_cmd_id`: crates/mx-windows/src/policies.rs#L19
warning: unused variable: `final_cmd_id` --> crates/mx-windows/src/policies.rs:19:5 | 19 | final_cmd_id: CmdId, | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_cmd_id` | = note: `#[warn(unused_variables)]` on by default
unused variable: `deploy_pk`: crates/mx-windows/src/policies.rs#L50
warning: unused variable: `deploy_pk` --> crates/mx-windows/src/policies.rs:50:39 | 50 | ManagementNode::Add { deploy_pk, value } => { | ^^^^^^^^^ help: try ignoring the field: `deploy_pk: _`
unused variable: `deploy_pk`: crates/mx-windows/src/policies.rs#L82
warning: unused variable: `deploy_pk` --> crates/mx-windows/src/policies.rs:82:21 | 82 | deploy_pk, value, .. | ^^^^^^^^^- | | | help: try removing the field
unused variable: `deploy_pk`: crates/mx-windows/src/policies.rs#L263
warning: unused variable: `deploy_pk` --> crates/mx-windows/src/policies.rs:263:55 | 263 | Some(ManagementNode::Delete { deploy_pk, value }) => { | ^^^^^^^^^ help: try ignoring the field: `deploy_pk: _`
unused variable: `pending_deploy_statuses`: crates/mx-windows/src/policies.rs#L180
warning: unused variable: `pending_deploy_statuses` --> crates/mx-windows/src/policies.rs:180:5 | 180 | pending_deploy_statuses: Vec<GetPendingDeployStatusesResult>, | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pending_deploy_statuses`
useless conversion to the same type: `std::string::String`: crates/mx-windows/src/policies.rs#L71
warning: useless conversion to the same type: `std::string::String` --> crates/mx-windows/src/policies.rs:71:59 | 71 | ... DmValue::String(v) => v.into(), | ^^^^^^^^ help: consider removing `.into()`: `v` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
this `.filter_map` can be written more simply using `.map`: crates/mx-windows/src/policies.rs#L194
warning: this `.filter_map` can be written more simply using `.map` --> crates/mx-windows/src/policies.rs:194:26 | 194 | let policy_content = scoped_policies | __________________________^ 195 | | .into_iter() 196 | | .filter_map(|policy| { 197 | | // Note: If we skip stuff that doesn't change here we will have issues because another policy could change resulting in the c... ... | 212 | | Some((policy, latest, last, conflicts)) 213 | | }) | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_filter_map = note: `#[warn(clippy::unnecessary_filter_map)]` on by default
methods called `into_*` usually take `self` by value: crates/mx-windows/src/policies.rs#L365
warning: methods called `into_*` usually take `self` by value --> crates/mx-windows/src/policies.rs:365:23 | 365 | pub fn into_inner(&self) -> u64 { | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
field `acme_resolver` is never read: crates/better-acme/src/acme.rs#L51
warning: field `acme_resolver` is never read --> crates/better-acme/src/acme.rs:51:5 | 42 | pub struct Acme<S: Store> { | ---- field in this struct ... 51 | acme_resolver: Option<Arc<ResolvesServerCertAcme>>, | ^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
direct implementation of `ToString`: crates/ms-ddf/src/ddf_v2.rs#L135
warning: direct implementation of `ToString` --> crates/ms-ddf/src/ddf_v2.rs:135:1 | 135 | / impl ToString for DFFormatVariant { 136 | | fn to_string(&self) -> String { 137 | | match self { 138 | | DFFormatVariant::Base64 => "b64".to_string(), ... | 150 | | } 151 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl = note: `#[warn(clippy::to_string_trait_impl)]` on by default