Restore frontend reporting on grant-aware worker with monthly review packet
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a0e738-9e15-7600-87e6-90dec3a7beef
This commit is contained in:
parent
428f2d71b0
commit
4bd07a4f44
7 changed files with 164 additions and 9 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Bounded overlay of the deployed worker; no unrelated API/worker upgrade.
|
||||
# Required local base image ID:
|
||||
# sha256:cd4e924c2809f0d1d319e53a9ddd20db2e88a1b543d62e6442702c184b7842f4
|
||||
FROM activity-core:fi-publication-20260914
|
||||
# Preserve the deployed grant-aware runtime; restore only the domain resolver.
|
||||
FROM forgejo.coulomb.social/coulomb/activity-core@sha256:713bddad10a41950f446100a8b370fca8ccdd0b8969cccae751e3870c9c63ccd
|
||||
COPY src/activity_core/context_resolvers/frontend_patterns.py /app/src/activity_core/context_resolvers/frontend_patterns.py
|
||||
COPY src/activity_core/context_resolvers/__init__.py /app/src/activity_core/context_resolvers/__init__.py
|
||||
RUN printf '\nfrom activity_core.context_resolvers import frontend_patterns # noqa: F401\n' >> /app/src/activity_core/context_resolvers/__init__.py
|
||||
# Image construction must prove both features coexist, without network or secrets.
|
||||
RUN python -c "import activity_core.context_resolvers; from activity_core.context_resolvers.base import CONTEXT_RESOLVER_REGISTRY; from activity_core.repository_grant import RepositoryGrant; assert 'frontend-patterns' in CONTEXT_RESOLVER_REGISTRY; assert RepositoryGrant.model_validate({'version':'1','allowed_paths':['docs/'],'commit_count':{'min':1,'max':1},'publish':False}).payload()['publish'] is False"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue