Module 12 · 8 min
When something goes wrong
A health check, the fixes for the usual problems, and how to report one without giving away keys or code.
By the end of this module you can
- Run a health check of AlbertCode SWE, your model and your build tools
- Fix the usual problems: a stuck service, tests that don't run, a refused acceptance
- Report a problem without sharing keys, tokens or private code
Most problems have a short fix, and the guide's Troubleshooting page lists them. Start with a health check.
The health check
albertcode --version
albertcode status
albertcode doctor
albertcode models testalbertcode statussays whether the service is running here, and which version.albertcode doctorshows which build tools AlbertCode SWE can find.albertcode models testchecks that your model can drive AlbertCode SWE.
The usual problems
| What you see | What to do |
|---|---|
albertcode: command not found |
Open a new terminal. The installer added the command to your PATH, and only new terminals pick that up |
| The service seems stuck | Run albertcode stop, then albertcode again |
| Tasks stall early | The model may not handle tool calling well. Run albertcode models test |
| Tests don't run | Run albertcode doctor to see which build tools AlbertCode SWE can find. Install the missing one, or put it on your PATH |
| Acceptance is refused | A file the change touches was edited after the task started. Look at your edits, then run the task again |
| Your provider isn't connected after an update | Saved keys are cleared when a new version first starts. Run /connect again |
| Every step is slow | Each step is one request to your model. Try a faster model, or the fast pace, which skips the two reviews |
Installing and uninstalling
- PowerShell won't run the install command. Your organisation may block scripts. Download the
.cmdinstaller from the release and double-click it instead. - Windows says "Access is denied". AlbertCode SWE was still open somewhere: another terminal, VS Code, or its service. Close every terminal and VS Code window using AlbertCode SWE, or run
albertcode stop, then run the installer again. - The uninstall script fails. Run
albertcode uninstallinstead. It needs nothing from the internet. - You want to see what an installer did. Everything an installer run did is written to its log:
~/.local/share/albertcode-installer/install.logon macOS and Linux, and%LOCALAPPDATA%\AlbertCode\install.logon Windows.
Reporting a problem
Report a bug in the public repository's Issues, with albertcode --version and your operating system. Never include keys, tokens or private code.
If you find a security problem, report it privately, as the security policy describes. Don't open a public issue (FAQ).
Practise
Match the symptom to the fix
These are the problems people meet most. Match each to what the guide says to do.
A health check
Run these whenever something seems wrong, and before you report a problem.
- 1
Which version is installed, and whether the service is running here (
albertcode status):albertcode --version - 2
Which build tools AlbertCode SWE can find:
albertcode doctor - 3
Whether your model can drive AlbertCode SWE:
albertcode models test - 4
Practise the stuck-service fix: stop it, then start
albertcodeagain.albertcode stop - 5
To report a bug, open an issue with
albertcode --versionand your operating system. Never include keys, tokens or private code, and report a security problem privately, not in an issue.
Check your understanding
6 questions. Answer 5 correctly to complete the module. Checked here, in your browser.