fix: include missing tags from default/native consts (#7034)

This commit is contained in:
hugocasa
2025-11-03 11:31:33 +01:00
committed by GitHub
parent 33c78e88d5
commit 4e14f752bb
2 changed files with 46 additions and 44 deletions

View File

@@ -168,6 +168,7 @@ lazy_static::lazy_static! {
"powershell".to_string(),
"nativets".to_string(),
"mysql".to_string(),
"oracledb".to_string(),
"bun".to_string(),
"postgresql".to_string(),
"bigquery".to_string(),
@@ -196,7 +197,9 @@ lazy_static::lazy_static! {
"snowflake".to_string(),
"mssql".to_string(),
"bigquery".to_string(),
"oracledb".to_string(),
"duckdb".to_string(),
// for related places search: ADD_NEW_LANG
];
pub static ref DEFAULT_TAGS_PER_WORKSPACE: AtomicBool = AtomicBool::new(false);

View File

@@ -11,64 +11,63 @@
// integration: Option<AutoscalingIntegration>,
export type AutoscalingConfig = {
enabled: boolean
min_workers: number
max_workers: number
cooldown_seconds?: number
inc_scale_num_jobs_waiting?: number
full_scale_cooldown_seconds?: number
full_scale_jobs_waiting?: number
dec_scale_occupancy_rate?: number
inc_scale_occupancy_rate?: number
inc_num_workers?: number
integration?: AutoscalingIntegration
custom_tags?: string[]
enabled: boolean
min_workers: number
max_workers: number
cooldown_seconds?: number
inc_scale_num_jobs_waiting?: number
full_scale_cooldown_seconds?: number
full_scale_jobs_waiting?: number
dec_scale_occupancy_rate?: number
inc_scale_occupancy_rate?: number
inc_num_workers?: number
integration?: AutoscalingIntegration
custom_tags?: string[]
}
export type AutoscalingIntegration = AutoscaleScript | AutoscaleDryRun | AutoscaleKubernetes
export type AutoscaleScript = {
type: 'script'
tag?: string
path: string
type: 'script'
tag?: string
path: string
}
export type AutoscaleDryRun = {
type: 'dryrun'
type: 'dryrun'
}
export type AutoscaleKubernetes = {
type: 'kubernetes'
type: 'kubernetes'
}
export const defaultTags = [
'deno',
'python3',
'go',
'bash',
'powershell',
'dependency',
'flow',
'other',
'bun',
'php',
'rust',
'ansible',
'csharp',
'nu',
'java',
'ruby'
// for related places search: ADD_NEW_LANG
'deno',
'python3',
'go',
'bash',
'powershell',
'dependency',
'flow',
'other',
'bun',
'php',
'rust',
'ansible',
'csharp',
'nu',
'java',
'ruby'
// for related places search: ADD_NEW_LANG
]
export const nativeTags = [
'nativets',
'postgresql',
'mysql',
'graphql',
'snowflake',
'mssql',
'bigquery',
'oracledb'
'nativets',
'postgresql',
'mysql',
'graphql',
'snowflake',
'mssql',
'bigquery',
'oracledb',
'duckdb'
]