añadido karpathy y refactorizacion del proyecto

This commit is contained in:
2026-05-25 19:48:56 +02:00
parent 8feb88dfa6
commit ee8cfa03ea
1225 changed files with 875463 additions and 5909 deletions
@@ -0,0 +1,64 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.912Z
# Source of truth: this YAML file
id: core-upgrade-check-configuration_and_database_migration_validation
project: pbx
module: core
group: core-upgrade
title: Verify configuration objects and database content migrate correctly after upgrade
description: Verify configuration objects and database content migrate correctly after upgrade
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: true
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: true
- action: Perform installation or upgrade procedure
expected: ''
automatable: true
- action: Post-install verification via portal + external tools
expected: ''
automatable: true
automation_status: partial
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Portal UI configuration and verification steps (already partially automated)
- Data extraction and reporting of current settings
original_notYet:
- >-
UI configuration checks automated; DB schema integrity validation requires direct database
access
- Requires external SIP endpoints or physical phones for media/audio validation
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
partialNotes: >-
UI configuration checks automated; DB schema integrity validation requires direct database
access
@@ -0,0 +1,59 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.912Z
# Source of truth: this YAML file
id: core-upgrade-check-in_place_upgrade_from_previous_major_version
project: pbx
module: core
group: core-upgrade
title: Verify in-place upgrade from the previous major version completes successfully without data loss
description: Verify in-place upgrade from the previous major version completes successfully without data loss
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: false
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: false
- action: Perform installation or upgrade procedure
expected: ''
automatable: false
- action: Post-install verification via portal + external tools
expected: ''
automatable: false
automation_status: manual
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Most UI-driven configuration and verification steps via Playwright
original_notYet:
- Requires a running instance of the previous version and dedicated upgrade test environment
- Requires external SIP endpoints or physical phones for media/audio validation
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
manualReason: Requires a running instance of the previous version and dedicated upgrade test environment
@@ -0,0 +1,57 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.913Z
# Source of truth: this YAML file
id: core-upgrade-check-post_upgrade_regression_of_core_features
project: pbx
module: core
group: core-upgrade
title: Run automated regression checks on core portal features after upgrade
description: Run automated regression checks on core portal features after upgrade
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: true
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: true
- action: Perform installation or upgrade procedure
expected: ''
automatable: true
- action: Post-install verification via portal + external tools
expected: ''
automatable: true
automation_status: automated
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Full end-to-end execution via Playwright against the admin portal UI
- Navigation, form interaction, and assertions are scriptable
original_notYet: []
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
@@ -0,0 +1,59 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.914Z
# Source of truth: this YAML file
id: core-upgrade-check-rollback_procedure_execution_and_verification
project: pbx
module: core
group: core-upgrade
title: Verify the rollback procedure successfully reverts the system to the previous version
description: Verify the rollback procedure successfully reverts the system to the previous version
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: false
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: false
- action: Perform installation or upgrade procedure
expected: ''
automatable: false
- action: Post-install verification via portal + external tools
expected: ''
automatable: false
automation_status: manual
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Most UI-driven configuration and verification steps via Playwright
original_notYet:
- Requires VM snapshot revert or package downgrade; needs physical/hypervisor-level access
- Requires external SIP endpoints or physical phones for media/audio validation
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
manualReason: Requires VM snapshot revert or package downgrade; needs physical/hypervisor-level access
@@ -0,0 +1,59 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.915Z
# Source of truth: this YAML file
id: core-upgrade-check-schema_upgrade_and_data_integrity_check
project: pbx
module: core
group: core-upgrade
title: Verify database schema is correctly upgraded and all data maintains integrity
description: Verify database schema is correctly upgraded and all data maintains integrity
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: false
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: false
- action: Perform installation or upgrade procedure
expected: ''
automatable: false
- action: Post-install verification via portal + external tools
expected: ''
automatable: false
automation_status: manual
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Most UI-driven configuration and verification steps via Playwright
original_notYet:
- Requires direct database access (psql/mysql) and schema comparison tooling
- Requires external SIP endpoints or physical phones for media/audio validation
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
manualReason: Requires direct database access (psql/mysql) and schema comparison tooling
@@ -0,0 +1,63 @@
# Updated via Autotest Editor - 2026-05-25T17:39:33.916Z
# Source of truth: this YAML file
id: core-upgrade-check-zero_downtime_upgrade_where_supported
project: pbx
module: core
group: core-upgrade
title: Verify zero-downtime upgrade keeps the service available throughout the upgrade process
description: Verify zero-downtime upgrade keeps the service available throughout the upgrade process
priority: Medium
tags: []
references: []
dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
preconditions: []
postconditions: []
steps:
- action: Open admin portal or repository URL in browser context
expected: ''
automatable: false
- action: Prepare clean or previous-version VM/image
expected: ''
automatable: false
- action: Perform installation or upgrade procedure
expected: ''
automatable: false
- action: Post-install verification via portal + external tools
expected: ''
automatable: false
automation_status: manual
file: tests/core/upgrade.spec.ts
custom_fields:
original_action: check
original_automatable:
- Most UI-driven configuration and verification steps via Playwright
original_notYet:
- >-
Requires active call sessions monitored during the upgrade window; calls cannot be managed by
Playwright
- Requires external SIP endpoints or physical phones for media/audio validation
original_dependencies:
- label: Admin Portal
value: https://pbx.local:4443 (configure via $BASE_URL)
- label: Repository URL
value: ${BASE_URL}/downloads or $REPO_URL
- label: Protocol
value: HTTPS (admin portal) + optional SSH/CLI
- label: Credentials
value: Admin user with sufficient privileges (portal + SSH where needed)
- label: Test Data
value: Clean test tenant or lab PBX instance (recommended isolated environment)
manualReason: >-
Requires active call sessions monitored during the upgrade window; calls cannot be managed by
Playwright