@misterhuydo/sentinel 1.6.17 → 1.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/python/scripts/__pycache__/fix_ask_codebase_context.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_ask_codebase_stdin.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_chain_slack.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_fstring.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_knowledge_cache.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_knowledge_cache_staleness.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_merge_confirm.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_permission_messages.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_pr_check_head_detect.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_pr_msg_newlines.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_pr_tracking_boss.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_pr_tracking_db.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_pr_tracking_main.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_project_isolation.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_system_prompt.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/fix_two_bugs.cpython-311.pyc +0 -0
- package/python/scripts/__pycache__/patch_chain_release.cpython-311.pyc +0 -0
- package/python/sentinel/__init__.py +1 -1
- package/python/sentinel/__pycache__/__init__.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/cairn_client.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/cicd_trigger.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/dependency_manager.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/dev_watcher.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/health_checker.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/issue_watcher.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/log_fetcher.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/log_parser.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/log_syncer.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/main.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/notify.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/repo_router.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/repo_task_engine.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/reporter.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/sentinel_boss.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/sentinel_dev.cpython-311.pyc +0 -0
- package/python/sentinel/__pycache__/state_store.cpython-311.pyc +0 -0
- package/python/sentinel/main.py +15 -1
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.6.
|
|
1
|
+
__version__ = "1.6.19"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/python/sentinel/main.py
CHANGED
|
@@ -275,6 +275,20 @@ async def _handle_error(event: ErrorEvent, cfg_loader: ConfigLoader, store: Stat
|
|
|
275
275
|
return
|
|
276
276
|
|
|
277
277
|
auto_commit = resolve_auto_commit(repo, sentinel)
|
|
278
|
+
auto_release = resolve_auto_release(repo, sentinel)
|
|
279
|
+
|
|
280
|
+
# Health-driven fixes target a service that is *currently down*. Override
|
|
281
|
+
# AUTO_RELEASE=false so the fix actually deploys without waiting for a
|
|
282
|
+
# human `manage_release` confirmation — the service is already broken,
|
|
283
|
+
# the urgency is real. AUTO_COMMIT is left alone so projects with PR-only
|
|
284
|
+
# policies still get a PR (reviewer can fast-track it), but those that
|
|
285
|
+
# already use AUTO_COMMIT=true will trigger Jenkins immediately.
|
|
286
|
+
if (event.logger_name or "") == "health_checker" and not auto_release:
|
|
287
|
+
logger.info(
|
|
288
|
+
"Health-driven fix for %s: forcing AUTO_RELEASE=true (service is down — quick recovery needed)",
|
|
289
|
+
repo.repo_name,
|
|
290
|
+
)
|
|
291
|
+
auto_release = True
|
|
278
292
|
|
|
279
293
|
if Path("SENTINEL_PAUSE").exists():
|
|
280
294
|
logger.info("SENTINEL_PAUSE present — fix activity halted")
|
|
@@ -1392,7 +1406,7 @@ def _check_maven_settings(cfg_loader, results: dict) -> None:
|
|
|
1392
1406
|
f"{host} ({', '.join(sorted(ids))})"
|
|
1393
1407
|
for host, ids in sorted(missing_hosts.items())
|
|
1394
1408
|
)
|
|
1395
|
-
results
|
|
1409
|
+
results.setdefault("warnings", []).append(f"Maven credentials missing: {summary}")
|
|
1396
1410
|
logger.warning("Maven settings gap: %s", summary)
|
|
1397
1411
|
|
|
1398
1412
|
# DM the first admin user with two resolution options
|