-
Notifications
You must be signed in to change notification settings - Fork 449
Revert RFC 008 validation stack #1108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,6 @@ | ||
| spec_version: 1 | ||
| name: echo_env | ||
| version: 0.1.0 | ||
| type: space | ||
| runtime: fastapi | ||
| app: server.app:app | ||
| port: 8000 | ||
| validation: | ||
| reward: | ||
| range: [0.0, 1.0] | ||
| oracle_tolerance: 0.0 | ||
| floor_margin: 0.5 | ||
| resources: | ||
| cpu: 1.0 | ||
| memory_mb: 1024 | ||
| disk_mb: 512 | ||
| episode_timeout_s: 60.0 | ||
| capabilities: | ||
| verifier: | ||
| kind: reward_channel | ||
| declared_tools: [echo_message, echo_with_length] | ||
| types: | ||
| tags: [demo] |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,9 +37,9 @@ | |
| app.command(name="build", help="Build Docker images for OpenEnv environments")( | ||
| build.build | ||
| ) | ||
| app.command(name="validate", help="Validate a package against the OpenEnv quality bar")( | ||
| validate.validate | ||
| ) | ||
| app.command( | ||
| name="validate", help="Validate environment structure and deployment readiness" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ALIGNMENT FLAG (RFC 008 — In Review): this reverts Flagging per the two-tier model since RFC 008 is still In Review — the change may well be correct, but please confirm the rollback is intended and update RFC 008's status/delivery notes so the doc and code stay consistent. Downstream tooling relying on the RFC 008 CLI contract ( |
||
| )(validate.validate) | ||
| app.command( | ||
| name="push", | ||
| help="Push an OpenEnv environment to Hugging Face Spaces or custom registry", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BLOCKING — please keep the
fastmcp<4.0.0cap.Reverting to
fastmcp>=3.0.0lets a freshuv syncresolve fastmcp 4.0.0 — the rootuv.lockis gitignored (.gitignore:121), so nothing else pins it, and CI'stestjob (uv sync --all-extras) will pick 4.0.0. Under fastmcp 4.0.0, MCP session state stops persisting across calls, failing:tests/core/test_production_mode_routes.py::TestMCPSessionTransportPersistence::test_http_session_mcp_state_persists_across_callstests/core/test_production_mode_routes.py::TestMCPSessionTransportPersistence::test_websocket_mcp_state_persists_across_callsVerified locally: with fastmcp 4.0.0 both fail; pinning
fastmcp>=3.0.0,<4.0.0(→ 3.4.7) makes all 3 tests in that class pass. The cap arrived with RFC 008 slice 0a (#1044) but is a dependency-compat guard independent of the validation stack, so it should survive this revert:"fastmcp>=3.0.0,<4.0.0",cc @Darktex / @pankit-eng (RFC 003 / MCP contract)