refactor: return complete analysis results inline
This commit is contained in:
@@ -369,7 +369,6 @@ export const buildNativeBoundaryInspection = ({
|
||||
issues,
|
||||
}: BoundaryInspectionContext): ManagedNativeBoundaryInspection =>
|
||||
managedNativeBoundaryInspectionSchema.parse({
|
||||
schema_version: 1,
|
||||
artifact: {
|
||||
path: target.path,
|
||||
sha256: target.sha256,
|
||||
|
||||
@@ -89,12 +89,6 @@ export const MANAGED_MEMBER_FIXTURE_LIMITS = {
|
||||
maxMethodInstructions: 1_000,
|
||||
};
|
||||
|
||||
/** Member bounds for fixture tests that inspect a real local path. */
|
||||
export const MANAGED_MEMBER_PATH_FIXTURE_LIMITS = {
|
||||
...MANAGED_MEMBER_FIXTURE_LIMITS,
|
||||
maxFileBytes: 1024 * 1024,
|
||||
};
|
||||
|
||||
/** Generous native-boundary bounds for the source-owned PE fixture. */
|
||||
export const MANAGED_NATIVE_BOUNDARY_FIXTURE_LIMITS = {
|
||||
maxMetadataBytes: 1024 * 1024,
|
||||
|
||||
@@ -50,8 +50,6 @@ export class ManagedStaticProvider implements AnalysisProvider {
|
||||
operation: contract.name,
|
||||
available: true as const,
|
||||
reason: null,
|
||||
pagination: "none" as const,
|
||||
exhaustive: true,
|
||||
effects: Object.freeze({
|
||||
mutatesArtifact: false,
|
||||
launchesProcess: false,
|
||||
@@ -61,11 +59,6 @@ export class ManagedStaticProvider implements AnalysisProvider {
|
||||
changesPermissions: false,
|
||||
requiresRoot: false,
|
||||
}),
|
||||
limits: Object.freeze({
|
||||
maxResults: null,
|
||||
maxPayloadBytes: 4 * 1024 * 1024,
|
||||
timeoutMs: null,
|
||||
}),
|
||||
limitations: limitationsFor(contract.name),
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user