Skip to content

Move admin to stable and remove chai from deps#5943

Closed
GermanBluefox wants to merge 1 commit into
masterfrom
admin-7-8-23-stable
Closed

Move admin to stable and remove chai from deps#5943
GermanBluefox wants to merge 1 commit into
masterfrom
admin-7-8-23-stable

Conversation

@GermanBluefox

Copy link
Copy Markdown
Contributor

No description provided.

@GermanBluefox GermanBluefox requested a review from Copilot May 5, 2026 08:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the repo tests and metadata to reflect moving admin to stable while removing chai from dev dependencies.

Changes:

  • Replace chai assertions with Node’s built-in assert in the test suite.
  • Bump the stable admin version in sources-dist-stable.json.
  • Remove chai and bump axios in package.json.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
test/testRepo.js Migrates assertions from chai to Node assert and adjusts admin name exception logic.
sources-dist-stable.json Updates the stable admin adapter version.
package.json Removes chai and updates the axios devDependency version.

Comment thread test/testRepo.js
@@ -1,5 +1,5 @@
'use strict';
const expect = require('chai').expect;
const assert = require('node:assert');
Comment thread test/testRepo.js
Comment on lines +71 to +72
assert.equal(id, id.toLowerCase(), `Adapter id ${id} is not lowercase`);
assert.notEqual(latest[id], undefined, `${id} not in latest but in stable`);
Comment thread test/testRepo.js
Comment on lines 31 to 36
try {
latest = JSON.parse(text);
} catch (e) {
expect(e).to.be.null;
assert.equal(e, null, 'Error parsing sources-dist.json');
}
done();
@github-actions github-actions Bot added auto-checked This PR was automatically checked for obvious criterias must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review labels May 5, 2026
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Automated adapter checker

ioBroker.admin

Downloads Number of Installations (latest) Number of Installations (stable) - Test and Release
NPM

ERRORS:

  • ❗ [E1105] io-package.json schema validation error: Unknown property "schemas" in root
  • ❗ [E2004] Versions "7.8.24, 7.8.16" listed at common.news at io-package.json do not exist at NPM. Please remove from news section.
  • ❗ [E5507] missing size attributes [md,lg,xl] for certificates at admin/jsonConfig.json5/items/mainTab/_certs
  • ❗ [E5507] missing size attributes [xl] for checkbox at admin/jsonConfig.json5/items/mainTab/auth
  • ❗ [E5507] missing size attributes [xl] for checkbox at admin/jsonConfig.json5/items/mainTab/secure
  • ❗ [E5507] missing size attributes [xl] for ip at admin/jsonConfig.json5/items/mainTab/bind
  • ❗ [E5507] missing size attributes [xl] for port at admin/jsonConfig.json5/items/mainTab/port
  • ❗ [E5510] responsive check: maximum issues reached, please fix reported ones and recheck

WARNINGS:

SUGGESTIONS:

  • 📌 [S0048] At least one devDpendency at package.json requires a specific version. Consider using "~1.2.3" or "^1.2.3" syntax unless freezing dependencies is really desired.
  • 📌 [S0062] Consider adding and using package "@alcalzone/release-script-plugin-manual-review".
  • 📌 [S0062] Consider adding and using package "@iobroker/adapter-dev".
  • 📌 [S4036] Consider adding .vscode/settings.json file with JSON schema definitions for better development experience with Visual Studio Code.
  • 📌 [S5026] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
  • 📌 [S5043] Package "child_process" is a built-in Node.js module. Please use "node:child_process" instead.
  • 📌 [S5043] Package "util" is a built-in Node.js module. Please use "node:util" instead.

Adapter releases: https://www.iobroker.dev/adapter/ioBroker/ioBroker.admin/releases
Adapter statistic: https://www.iobroker.dev/adapter/ioBroker/ioBroker.admin/statistics

History and usage information for release 7.8.23:

7.8.23 created 27.4.2026 (7 days old)
1216 users (2.04%)

7.7.22 (stable) created 15.12.2025 (140 days old)
27738 users (stable) (46.56%)

Please verify that this PR really tries to update to release 7.8.23!

Add comment "RE-CHECK!" to start check anew

@mcm1957

mcm1957 commented May 5, 2026

Copy link
Copy Markdown
Collaborator

Please do not mix adapter versionnupdates and changescto code at iobroker.repositories at ONE Pr.

create ONE seperste PR for every Adapter which should be added or whoch version should be bumped at stable.

Do not update more than one Adapter within one PR.

Code changes need a seperste PR in all cases.

@mcm1957 mcm1957 closed this May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-checked This PR was automatically checked for obvious criterias must be fixed The Adapter request got review/automatic feedback that is required to be fixed before another review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants