Make the repository pages reviewable in development
`/{owner}/{repo}` was a 404 on every development machine, for every
repository, because the forge is off in the base config -- `forge_data_dir`
defaults to `/var/lib/openagents/forge`, which a laptop cannot write. So the
repository surfaces could not be looked at locally at all. Dev now enables the
forge against a directory inside the checkout, which is ignored.
The commit and diff pages still need that storage populated, so they stay 404
locally until a repository is actually mirrored there; the repository page
itself renders.
Also drops a tautological assertion from the changelog tests. Comparing a list
of literals to `[]` is a comparison between distinct types, always false, and
it broke `mix precommit`, which is `--warnings-as-errors`.
Make the repository pages reviewable in development
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
.gitignore -
modified
config/dev.exs -
modified
test/openagents/changelog_test.exs
Diff
3 files changed, +12 -1
.gitignore modified +3
config/dev.exs modified +8
@@ -6,6 +6,14 @@ config :openagents, :runtime_environment, :development
| 6 | 6 |
|
| 7 | 7 |
|
| 8 | 8 |
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 9 | 17 |
|
| 10 | 18 |
|
| 11 | 19 |
|
test/openagents/changelog_test.exs modified +1 -1
@@ -258,7 +258,7 @@ defmodule OpenAgents.ChangelogTest do
| 258 | 258 |
|
| 259 | 259 |
|
| 260 | 260 |
|
| 261 |
|
|
| 261 |
|
|
| 262 | 262 |
|
| 263 | 263 |
|
| 264 | 264 |
|